|
|
949fed |
Summary: Displays where a particular program in your path is located
|
|
|
949fed |
Name: which
|
|
|
949fed |
Version: 2.20
|
|
|
9f2fc3 |
Release: 7%{?dist}
|
|
|
949fed |
License: GPLv3
|
|
|
949fed |
Group: Applications/System
|
|
|
949fed |
Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz
|
|
|
949fed |
Source1: which2.sh
|
|
|
949fed |
Source2: which2.csh
|
|
|
949fed |
Url: http://www.xs4all.nl/~carlo17/which/
|
|
|
949fed |
Patch: which-2.19-afs.patch
|
|
|
949fed |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
949fed |
BuildRequires: readline-devel
|
|
|
949fed |
Requires(preun): /sbin/install-info
|
|
|
949fed |
Requires(post): /sbin/install-info
|
|
|
949fed |
|
|
|
949fed |
%description
|
|
|
949fed |
The which command shows the full pathname of a specified program, if
|
|
|
949fed |
the specified program is in your PATH.
|
|
|
949fed |
|
|
|
949fed |
%prep
|
|
|
949fed |
%setup -q
|
|
|
949fed |
|
|
|
949fed |
%patch -p1 -b .afs
|
|
|
949fed |
|
|
|
949fed |
%build
|
|
|
949fed |
%configure
|
|
|
949fed |
|
|
|
949fed |
make %{?_smp_mflags}
|
|
|
949fed |
|
|
|
949fed |
%install
|
|
|
949fed |
rm -rf $RPM_BUILD_ROOT
|
|
|
949fed |
|
|
|
949fed |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
949fed |
|
|
|
949fed |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|
|
949fed |
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
|
|
|
949fed |
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
949fed |
|
|
|
949fed |
%post
|
|
|
949fed |
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
|
|
949fed |
exit 0
|
|
|
949fed |
|
|
|
949fed |
%preun
|
|
|
949fed |
if [ $1 = 0 ]; then
|
|
|
949fed |
/sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/which.info.gz
|
|
|
949fed |
fi
|
|
|
949fed |
exit 0
|
|
|
949fed |
|
|
|
949fed |
%clean
|
|
|
949fed |
rm -rf $RPM_BUILD_ROOT
|
|
|
949fed |
|
|
|
949fed |
%files
|
|
|
949fed |
%defattr(-,root,root)
|
|
|
949fed |
%doc COPYING EXAMPLES README AUTHORS NEWS
|
|
|
949fed |
%attr(0644,root,root) %{_sysconfdir}/profile.d/which2.*
|
|
|
949fed |
%{_bindir}/*
|
|
|
949fed |
%{_infodir}/which.info.gz
|
|
|
949fed |
%{_mandir}/*/*
|
|
|
949fed |
|
|
|
949fed |
%changelog
|
|
|
9f2fc3 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.20-7
|
|
|
9f2fc3 |
- Mass rebuild 2014-01-24
|
|
|
9f2fc3 |
|
|
|
9f2fc3 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.20-6
|
|
|
9f2fc3 |
- Mass rebuild 2013-12-27
|
|
|
9f2fc3 |
|
|
|
949fed |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-5
|
|
|
949fed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
949fed |
|
|
|
949fed |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-4
|
|
|
949fed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
949fed |
|
|
|
949fed |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-3
|
|
|
949fed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
949fed |
|
|
|
949fed |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-2
|
|
|
949fed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
949fed |
|
|
|
949fed |
* Wed Jan 19 2011 Than Ngo <than@redhat.com> - 2.20-1
|
|
|
949fed |
- 2.2.0
|
|
|
949fed |
- disable alias which for cshell
|
|
|
949fed |
|
|
|
949fed |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-5
|
|
|
949fed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
949fed |
|
|
|
949fed |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-4
|
|
|
949fed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
949fed |
|
|
|
949fed |
* Thu Mar 06 2008 Warren Togami <wtogami@redhat.com> 2.19-3
|
|
|
949fed |
- install-info should exit gracefully when --nodocs
|
|
|
949fed |
|
|
|
949fed |
* Fri Feb 15 2008 Than Ngo <than@redhat.com> 2.19-2
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Fri Jan 25 2008 Than Ngo <than@redhat.com> 2.19-1
|
|
|
949fed |
- 2.19, fix #399551, #430159
|
|
|
949fed |
|
|
|
949fed |
* Tue Nov 27 2007 Than Ngo <than@redhat.com> - 2.18-5
|
|
|
949fed |
- fix permission which-2 scripts
|
|
|
949fed |
|
|
|
949fed |
* Tue Nov 27 2007 Than Ngo <than@redhat.com> 2.18-4
|
|
|
949fed |
- fix permission which-2 scripts
|
|
|
949fed |
|
|
|
949fed |
* Mon Nov 26 2007 Karsten Hopp <karsten@redhat.com> 2.18-3
|
|
|
949fed |
- add dir entry for info page
|
|
|
949fed |
|
|
|
949fed |
* Tue Nov 20 2007 Than Ngo <than@redhat.com> 2.18-2
|
|
|
949fed |
- cleanup specfile
|
|
|
949fed |
|
|
|
949fed |
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.18-1
|
|
|
949fed |
- 2.18
|
|
|
949fed |
|
|
|
949fed |
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.16-10
|
|
|
949fed |
- cleanup specfile
|
|
|
949fed |
- get rid of dev dependency
|
|
|
949fed |
|
|
|
949fed |
* Mon Apr 23 2007 Than Ngo <than@redhat.com> - 2.16-9
|
|
|
949fed |
- add missing which-2 script for csh
|
|
|
949fed |
- cleanup specfile #226539
|
|
|
949fed |
|
|
|
949fed |
* Mon Jan 22 2007 Than Ngo <than@redhat.com> - 2.16-8
|
|
|
949fed |
- install-info scriptlet failures
|
|
|
949fed |
|
|
|
949fed |
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 2.16-7
|
|
|
949fed |
- rebuild
|
|
|
949fed |
|
|
|
949fed |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.16-6.2.1
|
|
|
949fed |
- bump again for double-long bug on ppc(64)
|
|
|
949fed |
|
|
|
949fed |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.16-6.2
|
|
|
949fed |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
949fed |
|
|
|
949fed |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Mon Mar 07 2005 Than Ngo <than@redhat.com> 2.16-6
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 2.16-5
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Sat Aug 07 2004 Than Ngo <than@redhat.com> 2.16-4
|
|
|
949fed |
- add missing URL (thanks to Robert Scheck)
|
|
|
949fed |
|
|
|
949fed |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Wed Sep 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
949fed |
- update to 2.16
|
|
|
949fed |
- fix %%preun
|
|
|
949fed |
|
|
|
949fed |
* Thu Jul 17 2003 Than Ngo <than@redhat.com> 2.14-8
|
|
|
949fed |
- rebuild
|
|
|
949fed |
|
|
|
949fed |
* Thu Jul 17 2003 Than Ngo <than@redhat.com> 2.14-7
|
|
|
949fed |
- added Prereq: dev (bug #99275)
|
|
|
949fed |
|
|
|
949fed |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
949fed |
- rebuilt
|
|
|
949fed |
|
|
|
949fed |
* Tue Dec 10 2002 Than Ngo <than@redhat.com> 2.14-4
|
|
|
949fed |
- cleanup code (bug #78478)
|
|
|
949fed |
|
|
|
949fed |
* Thu Nov 14 2002 Tim Powers <timp@redhat.com> 2.14-3
|
|
|
949fed |
- redirect info dir warnings to /dev/null
|
|
|
949fed |
|
|
|
949fed |
* Thu Nov 7 2002 Than Ngo <than@redhat.com> 2.14-1
|
|
|
949fed |
- add missing info file
|
|
|
949fed |
|
|
|
949fed |
* Mon Jul 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
949fed |
- update to 2.14 wih better support for current bash
|
|
|
949fed |
|
|
|
949fed |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
949fed |
- automated rebuild
|
|
|
949fed |
|
|
|
949fed |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
949fed |
- automated rebuild
|
|
|
949fed |
|
|
|
949fed |
* Wed Feb 27 2002 Than Ngo <than@redhat.com> 2.13-3
|
|
|
949fed |
- use access instead stat in AFS environment (bug #60353)
|
|
|
949fed |
|
|
|
949fed |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
949fed |
- automated rebuild
|
|
|
949fed |
|
|
|
949fed |
* Wed Dec 05 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
949fed |
- update to 2.13
|
|
|
949fed |
|
|
|
949fed |
* Sat Aug 4 2001 Than Ngo <than@redhat.com>
|
|
|
949fed |
- fix bug 50844
|
|
|
949fed |
|
|
|
949fed |
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
949fed |
- Bump release + rebuild.
|
|
|
949fed |
|
|
|
949fed |
* Sun Sep 10 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
949fed |
- 2.12 (only man-page fix)
|
|
|
949fed |
|
|
|
949fed |
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
949fed |
- automatic rebuild
|
|
|
949fed |
|
|
|
949fed |
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
|
|
|
949fed |
- FHS packaging.
|
|
|
949fed |
|
|
|
949fed |
* Sun May 21 2000 Ngo Than <than@redhat.de>
|
|
|
949fed |
- put man pages in /usr/share/man/*
|
|
|
949fed |
|
|
|
949fed |
* Thu Apr 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
949fed |
- update to 2.11
|
|
|
949fed |
- change from root:bin -> root:root
|
|
|
949fed |
|
|
|
949fed |
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
|
|
|
949fed |
- rebuild to gzip man page
|
|
|
949fed |
|
|
|
949fed |
* Sun Jan 16 2000 Preston Brown <pbrown@redhat.com>
|
|
|
949fed |
- newer stuff rom Carlo (2.10). Author's email: carlo@gnu.org
|
|
|
949fed |
|
|
|
949fed |
* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
|
|
|
949fed |
- adopted Carlo's specfile.
|
|
|
949fed |
|
|
|
949fed |
* Fri Sep 24 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- There should not be a reason anymore to include README.alias in the rpm docs.
|
|
|
949fed |
- Don't install as root.root in RPM_BUILD_ROOT, in order to allow to build
|
|
|
949fed |
rpm as non-root.
|
|
|
949fed |
- Bug fix
|
|
|
949fed |
- Added /etc/profile.d for automatic alias inclusion.
|
|
|
949fed |
|
|
|
949fed |
* Wed Aug 25 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Added README.alias.
|
|
|
949fed |
|
|
|
949fed |
* Wed Aug 11 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Typo in comment.
|
|
|
949fed |
|
|
|
949fed |
* Thu May 27 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Typo fix
|
|
|
949fed |
- Moved maintainer targets from makefile to Makefile.am.
|
|
|
949fed |
|
|
|
949fed |
* Tue May 18 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Typo in appended changelog.
|
|
|
949fed |
- Appended the old change log of `which-2.0.spec' to (this) changelog,
|
|
|
949fed |
which is generated from the CVS log of `which-2.0.spec.in'.
|
|
|
949fed |
- Generate which-2.spec from which-2.spec.in with automatic VERSION
|
|
|
949fed |
and CHANGELOG substitution.
|
|
|
949fed |
|
|
|
949fed |
* Tue May 14 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Moved assignment of CFLAGS to the configure line, using RPM_OPT_FLAGS now.
|
|
|
949fed |
- Corrected Source: line to point to ftp.gnu.org.
|
|
|
949fed |
|
|
|
949fed |
* Sat Apr 17 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Started to use automake and autoconf
|
|
|
949fed |
|
|
|
949fed |
* Fri Apr 09 1999 Carlo Wood <carlo@gnu.org>
|
|
|
949fed |
- Renamed which-2.0.spec to which-2.spec
|
|
|
949fed |
|