2006-03-29 21:33:30 +00:00
|
|
|
%define xinclude %( if test -d /usr/X11R6/include; then echo /usr/X11R6/include; else echo /usr/include; fi )
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
Summary: A friendly interactive shell
|
|
|
|
Name: @PACKAGE_NAME@
|
|
|
|
|
|
|
|
Version: @PACKAGE_VERSION@
|
|
|
|
Release: 0%{?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)
|
2006-03-29 21:33:30 +00:00
|
|
|
BuildRequires: doxygen ncurses-devel
|
|
|
|
BuildRequires: %{xinclude}/X11/StringDefs.h, %{xinclude}/X11/Xlib.h
|
|
|
|
BuildRequires: %{xinclude}/X11/Intrinsic.h, %{xinclude}/X11/Xatom.h
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%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.
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2005-09-20 13:26:39 +00:00
|
|
|
%configure docdir=%_datadir/doc/%{name}-%{version}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR="$RPM_BUILD_ROOT"
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%post
|
|
|
|
if ! grep %_bindir/fish %_sysconfdir/shells >/dev/null; then
|
|
|
|
echo %_bindir/fish >>%_sysconfdir/shells
|
|
|
|
fi
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%postun
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
grep -v %_bindir/fish %_sysconfdir/shells >%_sysconfdir/fish.tmp
|
|
|
|
mv %_sysconfdir/fish.tmp %_sysconfdir/shells
|
|
|
|
fi
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-02-17 10:13:39 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%doc %_datadir/doc/%{name}-%{version}
|
2006-02-17 10:13:39 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%_mandir/man1/fish.1*
|
|
|
|
%_mandir/man1/xsel.1x*
|
|
|
|
%_mandir/man1/mimedb.1*
|
|
|
|
%_mandir/man1/set_color.1*
|
|
|
|
%_mandir/man1/count.1*
|
2006-01-23 16:25:34 +00:00
|
|
|
%_mandir/man1/fishd.1*
|
2006-01-24 18:07:29 +00:00
|
|
|
%_mandir/man1/fish_pager.1*
|
2006-02-17 10:13:39 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%attr(0755,root,root) %_bindir/fish
|
|
|
|
%attr(0755,root,root) %_bindir/fishd
|
|
|
|
%attr(0755,root,root) %_bindir/fish_pager
|
|
|
|
%attr(0755,root,root) %_bindir/xsel
|
|
|
|
%attr(0755,root,root) %_bindir/set_color
|
|
|
|
%attr(0755,root,root) %_bindir/mimedb
|
|
|
|
%attr(0755,root,root) %_bindir/count
|
2006-02-17 10:13:39 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%config %_sysconfdir/fish
|
|
|
|
%config %_sysconfdir/fish_inputrc
|
|
|
|
%dir %_sysconfdir/fish.d
|
|
|
|
%config %_sysconfdir/fish.d/fish_*.fish
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
%dir %_datadir/fish
|
|
|
|
%_datadir/fish/fish
|
|
|
|
|
|
|
|
%dir %_datadir/fish/completions
|
|
|
|
%_datadir/fish/completions/*.fish
|
|
|
|
|
|
|
|
%dir %_datadir/fish/functions
|
|
|
|
%_datadir/fish/functions/*.fish
|
|
|
|
|
2006-01-04 13:01:24 +00:00
|
|
|
%_datadir/locale/*/LC_MESSAGES/fish.mo
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%changelog
|
2005-12-01 15:45:44 +00:00
|
|
|
* Tue Nov 29 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.17.0-0
|
|
|
|
- 1.17.0
|
|
|
|
|
2005-09-25 11:31:34 +00:00
|
|
|
* Sat Sep 24 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.14.0-0
|
|
|
|
- 1.14.0
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
* Mon Sep 12 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.4-0
|
|
|
|
- 1.13.4
|
|
|
|
|
|
|
|
* Wed Sep 07 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.3-0
|
|
|
|
- 1.13.3
|
|
|
|
|
|
|
|
* Tue Sep 06 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.2-0
|
|
|
|
- 1.13.2
|
|
|
|
|
|
|
|
* Fri Aug 30 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.1-0
|
|
|
|
- 1.13.1
|
|
|
|
|
|
|
|
* Sun Aug 28 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.0-0
|
|
|
|
- 1.13.0
|
|
|
|
|
|
|
|
* Sat Aug 13 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.0-0
|
|
|
|
- Add completions subdirectory
|
|
|
|
|
|
|
|
* Thu Jul 28 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.12.1-0
|
|
|
|
- 1.12.1
|
|
|
|
|
|
|
|
* Fri Jul 15 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.12.0-1
|
|
|
|
- 1.12.0
|
|
|
|
|
|
|
|
* Thu Jun 30 2005 Michael Schwendt <mschwendt@users.sf.net> 1.11.1-9
|
|
|
|
- Set CFLAGS the proper way
|
|
|
|
|
|
|
|
* Thu Jun 30 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.11.1-8
|
|
|
|
- Fix revision number in changelog
|
|
|
|
|
|
|
|
* Wed Jun 29 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.11.1-7
|
|
|
|
- Send post-script output to /dev/null
|
|
|
|
|
|
|
|
* Wed Jun 29 2005 Axel Liljencrantz <axel@liljencrantz.se> 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
|