salimma / rpms / fish

Forked from rpms/fish 3 days ago
Clone

Blame fish.spec

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