Summary: The GNU versions of find utilities (find and xargs). Summary(ja): find ユーティリティの GNU バージョン (find および xargs). Name: findutils Version: 4.4.0 Release: 2%{?_dist_release} License: GPL Group: System Environment/Base Source0: ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz Source1: updatedb.cron Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtool, automake, autoconf BuildRequires: dejagnu, gettext, texinfo %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 %build %define optflags $RPM_OPT_FLAGS -D_GNU_SOURCE %configure %undefine optflags %__make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall ( cd $RPM_BUILD_ROOT gzip -9fn .%{_infodir}/find.info* ) %find_lang %{name} # move find to /bin mkdir -p $RPM_BUILD_ROOT/bin mv $RPM_BUILD_ROOT%{_bindir}/find $RPM_BUILD_ROOT/bin/ ln -sf ../../bin/find $RPM_BUILD_ROOT%{_bindir} # remove unpackaged files rm -f $RPM_BUILD_ROOT%{_bindir}/{locate,updatedb} rm -f $RPM_BUILD_ROOT%{_libexecdir}/* rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{locate,updatedb}* rm -f $RPM_BUILD_ROOT%{_mandir}/man5/locatedb* rm -f $RPM_BUILD_ROOT%{_infodir}/dir %post /sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir /sbin/install-info %{_infodir}/find-maint.info.gz %{_infodir}/dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir /sbin/install-info --delete %{_infodir}/find-maint.info.gz %{_infodir}/dir fi %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING NEWS README THANKS /bin/find %{_bindir}/find %{_bindir}/oldfind %{_bindir}/xargs %{_mandir}/man1/find.1* %{_mandir}/man1/xargs.1* %{_infodir}/find.info* %{_infodir}/find-maint.info* %changelog * Sun Mar 29 2009 Daisuke SUZUKI 4.4.0-2 - move find to /bin - we'd use find in initscripts * Fri May 23 2008 Daisuke SUZUKI 4.4.0-1 - new versioning policy - new upstream release * Mon Oct 22 2007 Ryoichi INAGAKI 4.2.31-0vl1 - new upstream release (including security fix for CVE-2007-2452) * Thu May 04 2006 Daisuke SUZUKI 4.2.27-0vl1 - new upstream release - use License instead of Copyright - change Group to System Environment/Base * Tue Jun 21 2005 Daisuke SUZUKI 4.2.23-0vl1 - new upstream release - drop unneeded patches * Sat Jan 20 2001 Lisa Sagami - 4.1.5-0vl3 - usr better macros (%%configure/%%makeinstall) * Tue Nov 21 2000 Jun Nishii - 4.1.5-0vl2 - bug fix for -O002 * Wed Jun 7 2000 Yasuyuki Furukawa - 4.1.5 - added ja.po * Mon Apr 3 2000 Bernhard Rosenkraenzer - 4.1.4 - remove some obsolete patches, adapt others - fix build on alpha * Wed Feb 02 2000 Cristian Gafton - fix summary - ma pages are compressed * Wed Jan 12 2000 Preston Brown - new description. * Fri Aug 27 1999 Preston Brown - fixed block count bug (# 2141) * Mon Mar 29 1999 Preston Brown - patch to fix xargs out of bounds overflow (bug # 1279) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 30) * Fri Mar 19 1999 Jeff Johnson - strip binaries. * Mon Feb 8 1999 Jeff Johnson - remove further updatedb remnants (#1072). * Thu Dec 03 1998 Cristian Gafton - added patch for glibc21 * Mon Nov 16 1998 Erik Troan - removed locate stuff (as we now ship slocate) * Wed Jun 10 1998 Erik Troan - 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 - translations modified for de, fr, tr * Mon Mar 09 1998 Michael K. Johnson - make updatedb.cron use mktemp correctly - make updatedb use mktemp * Sun Nov 09 1997 Michael K. Johnson - nobody should own tmpfile - ignore /net * Wed Nov 05 1997 Michael K. Johnson - made updatedb.cron do a better job of cleaning up after itself. * Tue Oct 28 1997 Donald Barnes - fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one * Thu Oct 23 1997 Erik Troan - added patch for glibc 2.1 * Fri Oct 17 1997 Donnie Barnes - added BuildRoot support * Tue Oct 14 1997 Michael K. Johnson - made updatedb.cron work even if "nobody" can't read /root - use mktemp in updatedb.cron * Sun Sep 14 1997 Erik Troan - added missing info pages - uses install-info * Mon Jun 02 1997 Erik Troan - built with glibc * Mon Apr 21 1997 Michael K. Johnson - fixed updatedb.cron