diff --git a/README.md b/README.md index dc9de3f..866a5ee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # findutils +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 locate utility searches a database (create by updatedb) to quickly find a file matching a given 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. + diff --git a/findutils.spec b/findutils.spec new file mode 100644 index 0000000..b28ba78 --- /dev/null +++ b/findutils.spec @@ -0,0 +1,159 @@ +Name: findutils +Version: 4.5.12 +Release: 1mamba +Summary: The GNU versions of find utilities (find, xargs, and locate) +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnu.org/software/findutils/findutils.html +Source: http://alpha.gnu.org/gnu/findutils/findutils-%{version}.tar.gz +#Source: ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz +License: GPL +BuildRequires: gettext-devel +Requires(post):%{__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 locate utility searches a database (create by updatedb) to quickly find a file matching a given 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 +# NOTE: eventualli use: --without-fts (see NEWS) for portability +%configure \ +%if "%{_build}" != "%{_host}" + gl_cv_func_wcwidth_works=yes +%endif + +%make localstatedir=/var/cache/locatedb + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeoldinstall localstatedir=%{buildroot}/var/cache/locatedb + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info find.info +%install_info find.info-1 +%install_info find.info-2 +%install_info find-maint.info +exit 0 + +%preun +%uninstall_info find.info +%uninstall_info find.info-1 +%uninstall_info find.info-2 +%uninstall_info find-maint.info +exit 0 + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/find +%{_bindir}/locate +%{_bindir}/oldfind +%{_bindir}/updatedb +%{_bindir}/xargs +%{_libexecdir}/bigram +%{_libexecdir}/code +%{_libexecdir}/frcode +%dir %{_localstatedir}/cache/locatedb +%{_infodir}/find.info.* +%{_infodir}/find.info-1.* +%{_infodir}/find.info-2.* +%{_infodir}/find-maint.info.* +%{_mandir}/man1/find.* +%{_mandir}/man1/locate.* +%{_mandir}/man1/oldfind.1* +%{_mandir}/man1/updatedb.* +%{_mandir}/man1/xargs.* +%{_mandir}/man5/locatedb.* +%doc AUTHORS COPYING + +%changelog +* Fri Sep 27 2013 Automatic Build System 4.5.12-1mamba +- automatic update by autodist + +* Wed Feb 06 2013 Automatic Build System 4.5.11-1mamba +- automatic version update by autodist + +* Tue Aug 16 2011 Automatic Build System 4.5.10-1mamba +- update to 4.5.10 + +* Sat Jun 06 2009 Automatic Build System 4.4.2-1mamba +- automatic update to 4.4.2 by autodist + +* Wed Apr 22 2009 Automatic Build System 4.4.1-1mamba +- automatic update to 4.4.1 by autodist + +* Tue Mar 18 2008 Aleph0 4.4.0-1mamba +- update to 4.4.0 + +* Thu Feb 14 2008 Aleph0 4.2.33-1mamba +- update to 4.2.33 + +* Fri Jun 01 2007 Aleph0 4.2.31-1mamba +- update to 4.2.31 (fixes the security issue CVE-2007-2452) + +* Mon Apr 02 2007 Davide Madrisan 4.2.30-2mamba +- fixed default path for updatedb and locate + +* Wed Feb 28 2007 Davide Madrisan 4.2.30-1qilnx +- update to version 4.2.30 by autospec + +* Tue Jan 16 2007 Davide Madrisan 4.2.29-1qilnx +- update to version 4.2.29 by autospec + +* Mon Aug 28 2006 Davide Madrisan 4.2.28-1qilnx +- update to version 4.2.28 by autospec + +* Wed Dec 07 2005 Davide Madrisan 4.2.27-1qilnx +- update to version 4.2.27 by autospec + +* Mon Nov 21 2005 Davide Madrisan 4.2.26-1qilnx +- update to version 4.2.26 by autospec +- use %%find_lang to get the list of i18n files + +* Fri Sep 30 2005 Stefano Cotta Ramusino 4.2.25-2qilnx +- rebuilt + +* Mon Sep 05 2005 Davide Madrisan 4.2.25-1qilnx +- update to version 4.2.25 by autospec + +* Mon Jun 27 2005 Davide Madrisan 4.2.23-1qilnx +- update to version 4.2.23 by autospec +- added scripts to install/uninstall the info file + +* Thu Mar 17 2005 Davide Madrisan 4.2.20-1qilnx +- update to version 4.2.20 by autospec + +* Mon Feb 21 2005 Davide Madrisan 4.2.18-1qilnx +- update to version 4.2.18 by autospec + +* Mon Jan 31 2005 Davide Madrisan 4.2.15-1qilnx +- update to version 4.2.15 by autospec + +* Mon Nov 29 2004 Silvan Calarco 4.1.20-2qilnx +- fix localstatedir location, added dir /var/cache/locatedb for locate + +* Thu Aug 05 2004 Davide Madrisan 4.1.20-1qilnx +- update to version 4.1.20 + +* Mon Apr 14 2003 Silvan Calarco 4.1.7-4qilnx +- remove /usr/share/info/dir + +* Mon Apr 14 2003 Mirko Cortillaro +- modified file list + +* Mon Mar 31 2003 Mirko Cortillaro +- write a spec file for findutils