findutils/findutils.spec

174 lines
5.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: findutils
Version: 4.9.0
Release: 1mamba
Summary: The GNU versions of find utilities (find, xargs, and locate)
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/findutils/findutils.html
Source: http://ftp.gnu.org/pub/gnu/findutils/findutils-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libselinux-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
Requires(post):%{__install_info}
%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
* Wed Feb 02 2022 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
- automatic version update by autodist
* Sun Jan 10 2021 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
- automatic version update by autodist
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.0-1mamba
- update to 4.7.0
* Fri Jan 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
- update to 4.6.0
* Fri Sep 27 2013 Automatic Build System <autodist@mambasoft.it> 4.5.12-1mamba
- automatic update by autodist
* Wed Feb 06 2013 Automatic Build System <autodist@mambasoft.it> 4.5.11-1mamba
- automatic version update by autodist
* Tue Aug 16 2011 Automatic Build System <autodist@mambasoft.it> 4.5.10-1mamba
- update to 4.5.10
* Sat Jun 06 2009 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
- automatic update to 4.4.2 by autodist
* Wed Apr 22 2009 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
- automatic update to 4.4.1 by autodist
* Tue Mar 18 2008 Aleph0 <aleph0@openmamba.org> 4.4.0-1mamba
- update to 4.4.0
* Thu Feb 14 2008 Aleph0 <aleph0@openmamba.org> 4.2.33-1mamba
- update to 4.2.33
* Fri Jun 01 2007 Aleph0 <aleph0@openmamba.org> 4.2.31-1mamba
- update to 4.2.31 (fixes the security issue CVE-2007-2452)
* Mon Apr 02 2007 Davide Madrisan <davide.madrisan@gmail.com> 4.2.30-2mamba
- fixed default path for updatedb and locate
* Wed Feb 28 2007 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.30-1qilnx
- update to version 4.2.30 by autospec
* Tue Jan 16 2007 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.29-1qilnx
- update to version 4.2.29 by autospec
* Mon Aug 28 2006 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.28-1qilnx
- update to version 4.2.28 by autospec
* Wed Dec 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.27-1qilnx
- update to version 4.2.27 by autospec
* Mon Nov 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 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 <stefano.cotta@qilinux.it> 4.2.25-2qilnx
- rebuilt
* Mon Sep 05 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.25-1qilnx
- update to version 4.2.25 by autospec
* Mon Jun 27 2005 Davide Madrisan <davide.madrisan@qilinux.it> 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 <davide.madrisan@qilinux.it> 4.2.20-1qilnx
- update to version 4.2.20 by autospec
* Mon Feb 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.18-1qilnx
- update to version 4.2.18 by autospec
* Mon Jan 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.15-1qilnx
- update to version 4.2.15 by autospec
* Mon Nov 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.20-2qilnx
- fix localstatedir location, added dir /var/cache/locatedb for locate
* Thu Aug 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 4.1.20-1qilnx
- update to version 4.1.20
* Mon Apr 14 2003 Silvan Calarco <silvan.calarco@qinet.it> 4.1.7-4qilnx
- remove /usr/share/info/dir
* Mon Apr 14 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it>
- modified file list
* Mon Mar 31 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it>
- write a spec file for findutils