Blame fish.spec

Oliver Falk c67d05
Summary:                A friendly interactive shell
Oliver Falk c67d05
Name:                   fish
Lorenzo Villani ea9586
Version:                1.23.1
Lorenzo Villani 787e3f
Release:                3%{?dist}
Tom Callaway 201e73
License:                GPLv2
Oliver Falk c67d05
Group:                  System Environment/Shells
Oliver Falk adeb64
URL:                    http://fishshell.org/
Lorenzo Villani af1fc6
Source0:                http://fishshell.org/files/%{version}/fish-%{version}.tar.bz2
Tom Callaway 0fa300
# Emailed to upstream
Tom Callaway 0fa300
Patch0:                 fish-1.23.0-ARG_MAX.patch
Oliver Falk c67d05
BuildRoot:              %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Oliver Falk 812aec
BuildRequires:          ncurses-devel gettext groff doxygen
Oliver Falk 57a07f
BuildRequires:          autoconf
Axel Liljencrantz d90038
Lorenzo Villani ea9586
%description
Lorenzo Villani ea9586
fish is a shell geared towards interactive use. Its features are
Lorenzo Villani ea9586
focused on user friendliness 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
Tom Callaway 0fa300
%patch0 -p1 -b .ARG_MAX
Axel Liljencrantz d90038
Axel Liljencrantz d90038
%build
Tom Callaway 0fa300
# The docdir argument is to make the name of the documentation
Axel Liljencrantz d90038
# directory 'fish-VERSION', instead of the default, which is simply
Axel Liljencrantz d90038
# 'fish'.
Lorenzo Villani 1d8451
%configure --without-xsel docdir=%{_datadir}/doc/%{name}-%{version}
Oliver Falk 06634b
make %{?_smp_mflags}
Oliver Falk 06634b
Axel Liljencrantz d90038
Oliver Falk 06634b
%install
Oliver Falk 06634b
rm -rf $RPM_BUILD_ROOT
Lorenzo Villani ea9586
make install DESTDIR="$RPM_BUILD_ROOT"
Oliver Falk 06634b
Axel Liljencrantz 71dad7
# Find translation files
Axel Liljencrantz 71dad7
%find_lang %{name}.\*
Axel Liljencrantz d90038
Oliver Falk 812aec
# In case...
Tom Callaway 0fa300
mv $RPM_BUILD_ROOT%{_datadir}/fish/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
Oliver Falk 1cf29e
Oliver Falk 06634b
%clean
Oliver Falk 06634b
rm -rf $RPM_BUILD_ROOT
Oliver Falk 06634b
Oliver Falk 06634b
%post
Axel Liljencrantz d90038
# Add fish to the list of allowed shells in /etc/shells
Tom Callaway 0fa300
if ! grep %{_bindir}/fish %{_sysconfdir}/shells >/dev/null; then
Tom Callaway 0fa300
        echo %{_bindir}/fish >>%{_sysconfdir}/shells
Oliver Falk 06634b
fi
Oliver Falk 06634b
Oliver Falk 06634b
%postun
Axel Liljencrantz d90038
# Remove fish from the list of allowed shells in /etc/shells
Oliver Falk 06634b
if [ "$1" = 0 ]; then
Tom Callaway 0fa300
        grep -v %{_bindir}/fish %{_sysconfdir}/shells >%{_sysconfdir}/fish.tmp
Tom Callaway 0fa300
        mv %{_sysconfdir}/fish.tmp %{_sysconfdir}/shells
Oliver Falk 06634b
fi
Oliver Falk 06634b
Axel Liljencrantz 71dad7
%files -f %{name}.\*.lang
Axel Liljencrantz 71dad7
Oliver Falk 06634b
%defattr(-,root,root,-)
Tom Callaway 0fa300
%doc %{_datadir}/doc/%{name}-%{version}
Tom Callaway 0fa300
%{_mandir}/man1/*.1*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/count*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/alias*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/bg*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/bind*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/break*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/builtin*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/cd*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/command*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/complete*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/continue*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/dirs*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/eval*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/exec*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/exit*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/fg*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/help*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/jobs*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/popd*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/pushd*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/read*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/return*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/set*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/source*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/trap*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/type*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/ulimit*
Tom Callaway 0fa300
%exclude %{_mandir}/man1/umask*
Tom Callaway 0fa300
%attr(0755,root,root) %{_bindir}/fish
Tom Callaway 0fa300
%attr(0755,root,root) %{_bindir}/fishd
Tom Callaway 0fa300
%attr(0755,root,root) %{_bindir}/fish_pager
Tom Callaway 0fa300
%attr(0755,root,root) %{_bindir}/fish_indent
Tom Callaway 0fa300
%attr(0755,root,root) %{_bindir}/set_color
Tom Callaway 0fa300
%attr(0755,root,root) %{_bindir}/mimedb
Tom Callaway 0fa300
%config(noreplace) %{_sysconfdir}/fish
Tom Callaway 0fa300
%{_datadir}/fish/
Axel Liljencrantz d90038
Oliver Falk 06634b
%changelog
Lorenzo Villani 787e3f
* Fri Jul 03 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 1.23.1-3
Lorenzo Villani bf8c23
- Pass --without-xsel to configure, if you want xsel install its package instead
Lorenzo Villani 787e3f
- Fix file list
Lorenzo Villani 83664f
- Drop unneeded BuildRequires
Lorenzo Villani 787e3f
Lorenzo Villani 50cd97
* Fri Jul 03 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 1.23.1-2
Lorenzo Villani 50cd97
- rebuilt
Lorenzo Villani 50cd97
Lorenzo Villani ea9586
* Fri Jul 03 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 1.23.1-1
Lorenzo Villani ea9586
- 1.23.1
Lorenzo Villani ea9586
- Fix bz #472613
Lorenzo Villani ea9586
Jesse Keating 3e0801
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23.0-7
Jesse Keating 3e0801
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 3e0801
Tom Callaway 0fa300
* Mon Sep 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23.0-6
Tom Callaway 0fa300
- cleanups
Tom Callaway 0fa300
- define ARG_MAX properly so it compiles
Tom Callaway 0fa300
Tom Callaway a2a5dc
* Mon Jul 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23.0-5
Tom Callaway a2a5dc
- fix conditional comparison
Tom Callaway a2a5dc
Oliver Falk 620d6d
* Fri Jul 06 2008 Oliver Falk <oliver@linux-kernel.at>	- 1.23.0-4
Oliver Falk 620d6d
- Rebuild
Oliver Falk 620d6d
Tom Callaway 201e73
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23.0-3
Tom Callaway 201e73
- fix license tag
Tom Callaway 201e73
Jesse Keating 240c30
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.23.0-2
Jesse Keating 240c30
- Autorebuild for GCC 4.3
Jesse Keating 240c30
Oliver Falk b7fbd0
* Mon Jan 14 2008 Oliver Falk <oliver@linux-kernel.at>	- 1.23.0-1
Oliver Falk b7fbd0
- Update to fix #208780
Oliver Falk b7fbd0
- Remove openfix patch, included upstream now
Oliver Falk b7fbd0
Oliver Falk 600ed0
* Wed Oct 31 2007 Oliver Falk <oliver@linux-kernel.at>	- 1.22.3-5
Oliver Falk 600ed0
- Fix glibc's open check, by providing mode, instead of working
Oliver Falk 600ed0
  around...
Oliver Falk 600ed0
Oliver Falk adeb64
* Wed Oct 31 2007 Oliver Falk <oliver@linux-kernel.at>	- 1.22.3-4
Oliver Falk adeb64
- Update URL; Fixes bz#359451
Oliver Falk adeb64
Oliver Falk 7a061a
* Thu Aug 16 2007 Oliver Falk <oliver@linux-kernel.at>	- 1.22.3-3
Oliver Falk 7a061a
- Workaround glibc's open check
Oliver Falk 7a061a
- Problem reported upstream; Should be fixed there
Oliver Falk 7a061a
Oliver Falk 57a07f
* Tue Aug 07 2007 Oliver Falk <oliver@linux-kernel.at>	- 1.22.3-2
Oliver Falk 57a07f
- Fix BR autoconf
Oliver Falk 57a07f
Oliver Falk 812aec
* Tue Aug 07 2007 Oliver Falk <oliver@linux-kernel.at>	- 1.22.3-1
Oliver Falk 812aec
- Update; Bug #236868
Oliver Falk 812aec
- Add missing doxygen BR
Oliver Falk 812aec
Axel Liljencrantz c51739
* Fri Aug 4 2006 Axel Liljencrantz<axel@liljencrantz.se> 1.21.10-4
Axel Liljencrantz c51739
- Add better translation finding code from fedora spec to main spec. Thank you to Michael Schwendt.
Axel Liljencrantz c51739
- Add missing dependency libXext-devel.
Axel Liljencrantz c51739
- Remove one nesting level from dependency checking code.
Axel Liljencrantz c51739
Axel Liljencrantz d90038
* Tue Aug 1 2006 Axel Liljencrantz<axel@liljencrantz.se> 1.21.10-1
Axel Liljencrantz d90038
- Improved the dependency check for X headers. Thank you to Michael Schwendt for pointers on how to do this
Axel Liljencrantz d90038
Axel Liljencrantz d90038
* Mon Jul 31 2006 Axel Liljencrantz<axel@liljencrantz.se> 1.21.10-1
Axel Liljencrantz d90038
- Fixed spelling and punctuation as a per patch from Paul Howarth
Axel Liljencrantz d90038
- Fixed dependencies as per patch from Paul Howarth
Oliver Falk 1cf29e
Axel Liljencrantz d90038
* Tue Nov 29 2005 Axel Liljencrantz <axel@liljencrantz.se> 1.17.0-0
Axel Liljencrantz d90038
- 1.17.0
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
* 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