Summary: A friendly interactive shell Name: fish Version: 1.11.1 Release: 9%{?dist} License: GPL Group: System Environment/Shells URL: http://roo.no-ip.org/fish/ Source0: http://roo.no-ip.org/%{name}/files/%{version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: doxygen ncurses-devel xorg-x11-devel %description fish is a shell geared towards interactive use. It's features are focused on user friendlieness and discoverability. The language syntax is simple but incompatible with other shell languages. %prep %setup -q %build %configure docdir=%_datadir/doc/%{name}-%{version} make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" %clean rm -rf $RPM_BUILD_ROOT %post if ! grep %_bindir/fish %_sysconfdir/shells >/dev/null; then echo %_bindir/fish >>%_sysconfdir/shells fi %postun if [ "$1" = 0 ]; then grep -v %_bindir/fish %_sysconfdir/shells >%_sysconfdir/fish.tmp mv %_sysconfdir/fish.tmp %_sysconfdir/shells fi %files %defattr(-,root,root,-) %doc %_datadir/doc/%{name}-%{version} %_mandir/man1/fish.1* %_mandir/man1/xsel.1x* %_mandir/man1/mimedb.1* %_mandir/man1/set_color.1* %_mandir/man1/tokenize.1* %_mandir/man1/count.1* %attr(0755,root,root) %_bindir/fish %attr(0755,root,root) %_bindir/xsel %attr(0755,root,root) %_bindir/set_color %attr(0755,root,root) %_bindir/tokenize %attr(0755,root,root) %_bindir/mimedb %attr(0755,root,root) %_bindir/count %config %_sysconfdir/fish %config %_sysconfdir/fish_inputrc %dir %_sysconfdir/fish.d %config %_sysconfdir/fish.d/fish_*.fish %changelog * Fri Jul 01 2005 Oliver Falk - 1.11.1-10 - Added dist macro to the release - Small spec beautifying * Thu Jun 30 2005 Michael Schwendt - 1.11.1-9 - Set CFLAGS the proper way * Thu Jun 30 2005 Axel Liljencrantz - 1.11.1-8 - Fix revision number in changelog * Wed Jun 29 2005 Axel Liljencrantz - 1.11.1-7 - Send post-script output to /dev/null * Wed Jun 29 2005 Axel Liljencrantz - 1.11.1-6 - Add changelog section to spec file - Add macros to source tags - Add smp_mflags to 'make all' - Fix typo in post install scriptlet test - Set CFLAGS from spec file