Summary(pt_BR.UTF-8): Utilitários de procura da GNU
Summary(tr.UTF-8): GNU dosya arama araçları
Name: findutils
-Version: 4.4.2
+Version: 4.6.0
Release: 1
Epoch: 1
License: GPL v3+
Group: Applications/File
# development versions at ftp://alpha.gnu.org/gnu/findutils/
Source0: http://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
-# Source0-md5: 351cc4adb07d54877fa15f75fb77d39f
+# Source0-md5: 9936aa8009438ce185bea2694a997fc1
#Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
Source1: %{name}-non-english-man-pages.tar.bz2
# Source1-md5: e76388b0c3218eec3557d05ccd6d6515
-Patch0: %{name}-selinux.patch
+
Patch1: %{name}-man-selinux.patch
+Patch2: %{name}-info.patch
+# http://translationproject.org/latest/findutils/pl.po
+Patch3: %{name}-pl.po-update.patch
URL: http://www.gnu.org/software/findutils/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
-BuildRequires: gettext-devel >= 0.14.5
+BuildRequires: gettext-tools >= 0.14.5
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-%{?with_selinux:%patch0 -p1}
+
# patch1 is applied in install stage
+%patch2 -p1
+%patch3 -p1
-rm -f po/stamp-po
+%{__rm} po/stamp-po
%build
-%{__aclocal} -I gnulib/m4 -I m4
+%{__aclocal} -I gl/m4 -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{__with_without selinux}
%{__make}
mv $RPM_BUILD_ROOT%{_bindir}/xargs $RPM_BUILD_ROOT/bin
# useless in binary package
-rm $RPM_BUILD_ROOT%{_infodir}/find-maint.info*
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/find-maint.info*
# unpackaged locate
-rm $RPM_BUILD_ROOT%{_bindir}/{locate,updatedb} \
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/{locate,updatedb} \
$RPM_BUILD_ROOT%{_libdir}/{bigram,code,frcode} \
$RPM_BUILD_ROOT%{_mandir}/{,*/}man?/{locate.1,updatedb.1,locatedb.5}*
%defattr(644,root,root,755)
%doc NEWS README TODO ChangeLog
%attr(755,root,root) %{_bindir}/find
-%attr(755,root,root) %{_bindir}/oldfind
%attr(755,root,root) /bin/xargs
-
-%{_mandir}/man1/[fx]*
+%{_mandir}/man1/find.1*
+%{_mandir}/man1/xargs.1*
%lang(de) %{_mandir}/de/man1/[fx]*
%lang(es) %{_mandir}/es/man1/[fx]*
%lang(fi) %{_mandir}/fi/man1/[fx]*