fish/fish.spec

83 lines
2.4 KiB
RPMSpec
Raw Normal View History

Name: fish
Version: 2.1.2
Release: 1mamba
Summary: A user friendly command line shell for UNIX-like operating systems such as Linux
Group: Applications/Shells
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://fishshell.com
Source: https://github.com/fish-shell/fish-shell.git/%{version}/fish-shell-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libncurses-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
## AUTOBUILDREQ-END
%description
fish is a user friendly command line shell for UNIX-like operating systems such as Linux.
%prep
%setup -q -n fish-shell-%{version}
%build
autoreconf
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
#%post
#touch %{buildroot}/etc/shells
#echo /usr/local/bin/fish >> %{buildroot}/etc/shells
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/fish/config.fish
#%{_sysconfdir}/shells
%{_bindir}/fish
%{_bindir}/fish_indent
%{_bindir}/fish_pager
%{_bindir}/fishd
%{_bindir}/mimedb
%dir %{_datadir}/fish
%dir %{_datadir}/fish/completions
%{_datadir}/fish/completions/*.fish
%{_datadir}/fish/config.fish
%dir %{_datadir}/fish/functions
%{_datadir}/fish/functions/*.fish
%dir %{_datadir}/fish/tools
%{_datadir}/fish/tools/*
%dir %{_docdir}/fish
%{_docdir}/fish/*
%{_datadir}/fish/man/man1/*.1
%{_mandir}/man1/*.gz
%changelog
* Fri Feb 27 2015 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Wed Sep 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
- update to 2.1.1
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Sun Jul 14 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Sun Apr 19 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.23.1-1mamba
- package created by autospec