2004-09-09 04:42:42 +00:00
|
|
|
Summary: The GNU versions of find utilities (find and xargs).
|
|
|
|
Name: findutils
|
2004-09-09 04:42:51 +00:00
|
|
|
Version: 4.1.6
|
|
|
|
Release: 2
|
2004-09-09 04:42:42 +00:00
|
|
|
Epoch: 1
|
|
|
|
Copyright: GPL
|
|
|
|
Group: Applications/File
|
|
|
|
Source0: ftp://alpha.gnu.org/gnu/%{name}-%{version}.tar.gz
|
2004-09-09 04:42:51 +00:00
|
|
|
Patch0: findutils-4.1.6-nolibrt.patch
|
2004-09-09 04:42:42 +00:00
|
|
|
Prereq: /sbin/install-info
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
The findutils package contains programs which will help you locate
|
|
|
|
files on your system. The find utility searches through a hierarchy
|
|
|
|
of directories looking for files which match a certain set of criteria
|
|
|
|
(such as a filename pattern). The xargs utility builds and executes
|
|
|
|
command lines from standard input arguments (usually lists of file
|
|
|
|
names generated by the find command).
|
|
|
|
|
|
|
|
You should install findutils because it includes tools that are very
|
|
|
|
useful for finding things on your system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2004-09-09 04:42:51 +00:00
|
|
|
|
|
|
|
# no need to link against librt/libpthreads...
|
|
|
|
%patch0 -p1 -b .nolibrt
|
2004-09-09 04:42:42 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%define optflags $RPM_OPT_FLAGS -D_GNU_SOURCE
|
|
|
|
%configure
|
|
|
|
%undefine optflags
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
{ cd %{buildroot}
|
|
|
|
gzip -9fn .%{_infodir}/find.info*
|
|
|
|
}
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc NEWS README
|
|
|
|
%{_bindir}/find
|
|
|
|
%{_bindir}/xargs
|
|
|
|
%{_mandir}/man1/find.1*
|
|
|
|
%{_mandir}/man1/xargs.1*
|
|
|
|
%{_infodir}/find.info*
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 04:42:51 +00:00
|
|
|
* Thu Feb 8 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- remove extraneous linking to librt/libpthreads.
|
|
|
|
|
|
|
|
* Tue Oct 17 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 4.1.6
|
|
|
|
|
2004-09-09 04:42:42 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- revert to 4.1.5 ( :) ) on the advice of HJ Lu
|
|
|
|
- patch to fix finding w/ -perm flag
|
|
|
|
|
|
|
|
* Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- revert to 4.1.4
|
|
|
|
- reapply numblks patch
|
|
|
|
- generate new nolocate patch, we don't ship it.
|
|
|
|
|
|
|
|
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- 4.1.5, FHS paths
|
|
|
|
- remove mktemp,getshort patches (don't ship locate)
|
|
|
|
- alpha, numblks patch no longer needed
|
|
|
|
|
|
|
|
* Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- 4.1.4
|
|
|
|
- remove some obsolete patches, adapt others
|
|
|
|
- fix build on alpha
|
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- fix summary
|
|
|
|
- ma pages are compressed
|
|
|
|
|
|
|
|
* Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- new description.
|
|
|
|
|
|
|
|
* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- fixed block count bug (# 2141)
|
|
|
|
|
|
|
|
* Mon Mar 29 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- patch to fix xargs out of bounds overflow (bug # 1279)
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 30)
|
|
|
|
|
|
|
|
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- strip binaries.
|
|
|
|
|
|
|
|
* Mon Feb 8 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- remove further updatedb remnants (#1072).
|
|
|
|
|
|
|
|
* Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- added patch for glibc21
|
|
|
|
|
|
|
|
* Mon Nov 16 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- removed locate stuff (as we now ship slocate)
|
|
|
|
|
|
|
|
* Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- updated updatedb cron script to not look for $TMPNAME.n (which was
|
|
|
|
a relic anyway)
|
|
|
|
- added -b parameters to all of the patches
|
|
|
|
|
|
|
|
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- make updatedb.cron use mktemp correctly
|
|
|
|
- make updatedb use mktemp
|
|
|
|
|
|
|
|
* Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- nobody should own tmpfile
|
|
|
|
- ignore /net
|
|
|
|
|
|
|
|
* Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- made updatedb.cron do a better job of cleaning up after itself.
|
|
|
|
|
|
|
|
* Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
|
|
|
|
- fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added patch for glibc 2.1
|
|
|
|
|
|
|
|
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- added BuildRoot support
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- made updatedb.cron work even if "nobody" can't read /root
|
|
|
|
- use mktemp in updatedb.cron
|
|
|
|
|
|
|
|
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added missing info pages
|
|
|
|
- uses install-info
|
|
|
|
|
|
|
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built with glibc
|
|
|
|
|
|
|
|
* Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- fixed updatedb.cron
|