1 |
Summary: The GNU versions of find utilities (find and xargs) |
2 |
Name: findutils |
3 |
Version: 4.5.10 |
4 |
Release: %mkrel 2 |
5 |
License: GPLv3 |
6 |
Group: File tools |
7 |
URL: http://www.gnu.org/software/findutils/findutils.html |
8 |
Source0: ftp://alpha.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz |
9 |
Source1: %{SOURCE0}.sig |
10 |
Patch0: findutils-4.4.5-no-locate.patch |
11 |
Requires(pre): filesystem >= 2.1.9-18 |
12 |
Requires(post): info-install |
13 |
Requires(preun): info-install |
14 |
BuildRequires: gettext-devel |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
16 |
|
17 |
%description |
18 |
The findutils package contains programs which will help you locate |
19 |
files on your system. The find utility searches through a hierarchy |
20 |
of directories looking for files which match a certain set of criteria |
21 |
(such as a filename pattern). The xargs utility builds and executes |
22 |
command lines from standard input arguments (usually lists of file |
23 |
names generated by the find command). |
24 |
|
25 |
You should install findutils because it includes tools that are very |
26 |
useful for finding things on your system. |
27 |
|
28 |
%prep |
29 |
%setup -q |
30 |
%patch0 -p0 -b .locate |
31 |
|
32 |
%build |
33 |
%configure2_5x \ |
34 |
--disable-rpath \ |
35 |
--enable-leaf-optimisation \ |
36 |
--enable-d_type-optimization \ |
37 |
--with-fts |
38 |
|
39 |
%make |
40 |
|
41 |
%check |
42 |
make check |
43 |
|
44 |
%install |
45 |
rm -rf %{buildroot} |
46 |
|
47 |
%makeinstall_std |
48 |
|
49 |
%{find_lang} %{name} |
50 |
|
51 |
%post |
52 |
%_install_info find.info |
53 |
|
54 |
%preun |
55 |
%_remove_install_info find.info |
56 |
|
57 |
%clean |
58 |
rm -rf %{buildroot} |
59 |
|
60 |
%files -f %{name}.lang |
61 |
%defattr(-,root,root) |
62 |
%doc NEWS README |
63 |
%{_bindir}/find |
64 |
%{_bindir}/oldfind |
65 |
%{_bindir}/xargs |
66 |
%{_mandir}/man1/find.1* |
67 |
%{_mandir}/man1/xargs.1* |
68 |
%{_infodir}/find* |
69 |
|
70 |
|