|
Oliver Falk |
79cd42 |
Summary: A friendly interactive shell
|
|
Oliver Falk |
79cd42 |
Name: fish
|
|
Oliver Falk |
79cd42 |
|
|
Oliver Falk |
79cd42 |
Version: 1.11.1
|
|
Oliver Falk |
79cd42 |
Release: 9%{?dist}
|
|
Oliver Falk |
79cd42 |
|
|
Oliver Falk |
79cd42 |
License: GPL
|
|
Oliver Falk |
79cd42 |
Group: System Environment/Shells
|
|
Oliver Falk |
79cd42 |
URL: http://roo.no-ip.org/fish/
|
|
Oliver Falk |
79cd42 |
|
|
Oliver Falk |
79cd42 |
Source0: http://roo.no-ip.org/%{name}/files/%{version}/%{name}-%{version}.tar.bz2
|
|
Oliver Falk |
79cd42 |
|
|
Oliver Falk |
79cd42 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Oliver Falk |
79cd42 |
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 |
79cd42 |
* Fri Jul 01 2005 Oliver Falk <oliver@linux-kernel.at> - 1.11.1-10
|
|
Oliver Falk |
79cd42 |
- Added dist macro to the release
|
|
Oliver Falk |
79cd42 |
- Small spec beautifying
|
|
Oliver Falk |
79cd42 |
|
|
Oliver Falk |
79cd42 |
* 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 |
79cd42 |
* 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 |
79cd42 |
* 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 |
79cd42 |
* 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
|