2 Url: http://www.gnu.org/software/findutils/
5 Summary: The GNU versions of find utilities (find and xargs)
7 Group: Productivity/File utilities
8 # retrieved from http://alpha.gnu.org/pub/gnu/findutils/findutils-4.5.10.tar.gz
9 Source: findutils-%{version}.tar.bz2
10 Source1: sysconfig.locate
11 # Use /proc/mounts instead of /etc/mtab as autofs entries are only
12 # listed in the kernels >= 2.6.32
13 Patch0: findutils-4.5.10-use_proc_mounts.patch
14 # adds a new option -xautofs to find to not descend into directories on autofs file systems
15 Patch1: findutils-4.4.2-xautofs.patch
16 Patch2: findutils-4.4.2-updatedb.patch
17 Patch3: findutils-4.5.10-prune_unknown.patch
18 Patch4: findutils-4.5.10-updatedb_ignore_nfsv4.patch
19 Patch5: findutils-stdio.in.patch
20 BuildRoot: %{_tmppath}/%{name}-%{version}-build
23 The findutils package contains programs which will help you locate
24 files on your system. The find utility searches through a hierarchy
25 of directories looking for files which match a certain set of criteria
26 (such as a file name pattern). The xargs utility builds and executes
27 command lines from standard input arguments (usually lists of file
28 names generated by the find command).
30 You should install findutils because it includes tools that are very
31 useful for finding things on your system.
36 Summary: Tool for Locating Files (findutils subpackage)
37 Group: Productivity/File utilities
38 Provides: findutils:/usr/bin/locate
39 Requires: findutils = %{version}
42 This package contains the locate program which is part of the GNU
43 findutils software suite.
45 You can find files fast using locate. On installing findutils-locate
46 an additional daily cron job will be added to the cron system. This
47 job will update the files database every night or shortly after
48 switching on the computer.
60 %ifarch %arm armv5tel armv7l armv7el armv5el
61 # this is a workaround for a qemu-user bug, we hit. A qemu patch is being discussed, but for now ...
62 export DEFAULT_ARG_SIZE="(31u * 1024u)"
65 --libexecdir=%{_libdir}/find \
66 --localstatedir=/var/lib \
67 --without-included-regex \
69 --enable-d_type-optimisation
76 make install DESTDIR=$RPM_BUILD_ROOT
77 install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/locate
78 rm -f $RPM_BUILD_ROOT%{_bindir}/oldfind
79 rm -f $RPM_BUILD_ROOT%{_bindir}/ftsfind
80 rm -f $RPM_BUILD_ROOT%{_infodir}/find-maint*
86 %defattr(-,root,root,-)
92 %defattr(-,root,root,-)
96 %config(noreplace) %{_sysconfigdir}/sysconfig/locate