Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vinboy
mlocate
mlocate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mlocate.spec of Package mlocate
Summary: An utility for finding files by name Name: mlocate Version: 0.20 Release: 1 License: GPL Group: Applications/System Source0: %{name}-%{version}.tar.bz2 Source1: updatedb.conf Source2: mlocate.cron Patch0: mlocate-0.16-ptrdiff.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre,triggerpostun): shadow-utils Requires(post): grep, sed Obsoletes: slocate <= 2.7-30 Provides: slocate %description mlocate is a locate/updatedb implementation. It keeps a database of all existing files and allows you to lookup files by name. The 'm' stands for "merging": updatedb reuses the existing database to avoid rereading most of the file system, which makes updatedb faster and does not trash the system caches as much as traditional locate implementations. %prep %setup -q %build %configure --localstatedir=/var/lib make groupname=slocate %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT groupname=slocate mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.daily} install -c -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/updatedb.conf install -c -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/mlocate.cron # %%ghost semantic is so stupid touch $RPM_BUILD_ROOT/var/lib/mlocate/mlocate.db %find_lang mlocate %clean rm -rf $RPM_BUILD_ROOT %pre %{_sbindir}/groupadd -g 21 -r -f slocate %post if /bin/grep -q '^[^#]*DAILY_UPDATE' %{_sysconfdir}/updatedb.conf; then /bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' %{_sysconfdir}/updatedb.conf fi %triggerpostun -- slocate <= 2.7-30 %{_sbindir}/groupadd -g 21 -r -f slocate %files -f mlocate.lang %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README /etc/cron.daily/mlocate.cron %config(noreplace) %{_sysconfdir}/updatedb.conf %attr(2711,root,slocate) %{_bindir}/locate %{_bindir}/updatedb %{_mandir}/man*/* %dir %attr(0750,root,slocate) /var/lib/mlocate %ghost /var/lib/mlocate/mlocate.db %changelog * Thu Apr 03 2008 TABUCHI Takaaki <tab@momonga-linux.org> - (0.16-3m) - rebuild against gcc43 * Tue Oct 23 2007 Hiromasa YOSHIMOTO <y@momonga-linux.org> - (0.16-2m) - added mlocate-0.16-ptrdiff.patch * Sat Jun 16 2007 Nishio Futoshi <futoshi@momonga-linux.org> - (0.16-1m) - update to 0.16 (sync Fedora) * Sun May 28 2006 TABUCHI Takaaki <tab@momonga-linux.org> - (0.14-2m) - import to Momonga * Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 0.14-2 - Ship NEWS * Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 0.14-1 - Update to mlocate-0.14 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.12-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.12-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Sat Dec 31 2005 Miloslav Trmac <mitr@redhat.com> - 0.12-1 - Update to mlocate-0.12 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - rebuilt * Fri Dec 2 2005 Miloslav Trmac <mitr@redhat.com> - 0.11-2 - Comment out DAILY_UPDATE from updatedb.conf (#174693) * Thu Nov 10 2005 Miloslav Trmac <mitr@redhat.com> - 0.11-1 - Update to mlocate-0.11 - Add scriptlets to create group slocate * Thu Jul 28 2005 Miloslav Trmac <mitr@volny.cz> - 0.10-0.testing.1 - Update to mlocate-0.10 * Thu Jul 28 2005 Miloslav Trmac <mitr@volny.cz> - 0.09-0.testing.1 - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor