pkg://which-2.16-2mdk.src.rpm:108903/which.spec
info downloads
Name: which
Summary: Displays where a particular program in your path is located
Version: 2.16
Release: 2mdk
License: GPL
Group: System/Base
Source0: ftp://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.bz2
URL: ftp://ftp.gnu.org/gnu/which/
Patch0: which-2.6.jbj.patch.bz2
Patch1: which-2.12-fixinfo.patch.bz2
Patch2: which-2.16-afs.patch.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prereq: /sbin/install-info
%description
The which command shows the full pathname of a specified program, if
the specified program is in your PATH.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%configure2_5x
%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
rm -rf %buildroot%{_infodir}/dir
%clean
rm -rf $RPM_BUILD_ROOT
%post
%_install_info %{name}.info
%preun
%_remove_install_info %{name}.info
%files
%defattr(-, root, root)
%doc README* AUTHORS EXAMPLES INSTALL NEWS
%{_bindir}/which
%{_mandir}/man1/which.1*
%{_infodir}/*
%changelog
* Sun Jan 23 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.16-2mdk
- rebuild
- drop .bz2 ending for man pages in %%files
- fix summary-ended-with-dot
* Thu Dec 11 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.16-1mdk
- new release
- rediff and simplify patch 3
* Tue Jul 22 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 2.14-5mdk
- rebuild
* Thu Jan 02 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.14-4mdk
- build release
* Mon Oct 28 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.14-3mdk
- remove useless prefix
- patch 2 : use access instead stat in AFS environment
* Wed Aug 14 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.14-2mdk
- Automated rebuild with gcc 3.2-0.3mdk
* Fri Aug 2 2002 Jeff Garzik <jgarzik@mandrakesoft.com> 2.14-1mdk
- Version 2.14
- Use %%configure2_5x, %%makeinstall_std
- Do not regenerate autoconf/automake files, breaks build
* Tue May 07 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.13-5mdk
- Automated rebuild in gcc3.1 environment
* Fri Aug 17 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.13-4mdk
- new release
- sanitize spec file
* Sun Mar 04 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.12-4mdk
- Fix info files entry.
- Fix %files.
* Fri Feb 23 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 2.12-3mdk
- Whoops, info files were not getting installed
* Fri Feb 23 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 2.12-2mdk
- Change specfile permissions (rpmlint warning)
- List more docs in doc macro
- Generate automake and autoconf-derived files in prep stage
* Mon Nov 13 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.12-1mdk
- new and shiny vesion.
* Tue Aug 22 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 2.11-1mdk
- BM
- 2.11
- Even More Cleanup Of Specs :-)
* Tue Jun 20 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.9-5mdk
- Clean up specs.
- Use makeinstall macros.
* Wed Apr 5 2000 Jeff Garzik <jgarzik@mandrakesoft.com> 2.9-4mdk
- new group System/Base
- updated BuildRoot
* Fri Nov 5 1999 Damien Krotkine <damien@mandrakesoft.com>
- Mandrake release
* Wed Aug 18 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- add defattr
* Sun Aug 08 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- 2.8 :
* aclocal.m4 was missing from the tar, resulting in
a build failure if autoconf isn't installed.
* Thu Jul 08 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Upgrade to the offical version of Gnu project.
- Rewriting the spec-files.
- 2.7 :
* Support for aliases
* Configure/compile fix in the `tilde' directory.
* Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- Mandrake adaptions
- bzip2 man/info pages
- add de locale
- handle RPM_OPT_FLAGS
- Makefiles and source code are NOT docs.
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
- bumped spec number for initial rh 6.0 build
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
* Fri Jun 13 1997 Erik Troan <ewt@redhat.com>
- built against glibc