Blame fish.spec

Oliver Falk c67d05
Summary:                A friendly interactive shell
Oliver Falk c67d05
Name:                   fish
Oliver Falk 79cd42
Oliver Falk 1cf29e
Version:                1.21.2
Oliver Falk 1cf29e
Release:                1%{?dist}
Oliver Falk 79cd42
Oliver Falk c67d05
License:                GPL
Oliver Falk c67d05
Group:                  System Environment/Shells
Oliver Falk c67d05
URL:                    http://roo.no-ip.org/fish/
Oliver Falk 79cd42
Oliver Falk c67d05
Source0:                http://roo.no-ip.org/%{name}/files/%{version}/%{name}-%{version}.tar.bz2
Oliver Falk 1cf29e
Patch0:                 fish-1.21.2-fallback.patch
Oliver Falk 79cd42
Oliver Falk c67d05
BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Oliver Falk f975ad
BuildRequires:          doxygen ncurses-devel
Oliver Falk f975ad
BuildRequires:          libX11-devel libXt-devel libXext-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 1cf29e
%patch0 -p1 -b .fallback
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 1cf29e
%find_lang %{name}.\*
Oliver Falk 1cf29e
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 1cf29e
%files -f %{name}.\*.lang
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/count.1*
Oliver Falk 1cf29e
%_mandir/man1/fishd.1.*
Oliver Falk 1cf29e
%_mandir/man1/fish_pager.1.*
Oliver Falk 06634b
%attr(0755,root,root) %_bindir/fish
Oliver Falk fda8b7
%attr(0755,root,root) %_bindir/fishd
Oliver Falk fda8b7
%attr(0755,root,root) %_bindir/fish_pager
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/mimedb
Oliver Falk 06634b
%attr(0755,root,root) %_bindir/count
Oliver Falk 1cf29e
%dir %_datadir/fish/completions
Oliver Falk 1cf29e
%config %_datadir/fish/completions/*.fish
Oliver Falk 1cf29e
%dir %_datadir/fish/functions
Oliver Falk 1cf29e
%config %_datadir/fish/functions/*.fish
Oliver Falk 1cf29e
%_datadir/fish/fish
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 1cf29e
* Mon Mar 13 2006 Oliver Falk <oliver@linux-kernel.at>		- 1.21.2-1
Oliver Falk 1cf29e
- Update
Oliver Falk 1cf29e
- Applied patch provided by Michael Schwendt
Oliver Falk 1cf29e
Oliver Falk f975ad
* Fri Mar 10 2006 Oliver Falk <oliver@linux-kernel.at>		- 1.14.0-2
Oliver Falk f975ad
- Fix buildreqs
Oliver Falk f975ad
- Fix wutil.h
Oliver Falk f975ad
Oliver Falk fda8b7
* Sat Sep 24 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.14.0-0
Oliver Falk fda8b7
- 1.14.0
Oliver Falk fda8b7
Oliver Falk fda8b7
* Mon Sep 12 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.4-0
Oliver Falk fda8b7
- 1.13.4
Oliver Falk fda8b7
Oliver Falk fda8b7
* Wed Sep 07 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.3-0
Oliver Falk fda8b7
- 1.13.3
Oliver Falk fda8b7
Oliver Falk fda8b7
* Tue Sep 06 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.2-0
Oliver Falk fda8b7
- 1.13.2
Oliver Falk fda8b7
Oliver Falk fda8b7
* Fri Aug 30 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.1-0
Oliver Falk fda8b7
- 1.13.1
Oliver Falk fda8b7
Oliver Falk fda8b7
* Sun Aug 28 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.0-0
Oliver Falk fda8b7
- 1.13.0
Oliver Falk fda8b7
Oliver Falk fda8b7
* Sat Aug 13 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.13.0-0
Oliver Falk fda8b7
- Add completions subdirectory
Oliver Falk fda8b7
Oliver Falk fda8b7
* Thu Jul 28 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.12.1-0
Oliver Falk fda8b7
- 1.12.1
Oliver Falk fda8b7
Oliver Falk c67d05
* Fri Jul 15 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.12.0-1
Oliver Falk c67d05
- 1.12.0
Oliver Falk c67d05
Oliver Falk c67d05
* 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 c67d05
* 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 c67d05
* 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 c67d05
* 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 c67d05
* 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