source: projects/specs/trunk/m/mlocate/mlocate-vl.spec @ 4660

Revision 4660, 7.3 KB checked in by iwaim, 13 years ago (diff)

mlocate 0.24-1

Line 
1Summary: An utility for finding files by name
2Summary(ja): ファイルをファイル名で探すためのユーティリティ
3Name: mlocate
4Version: 0.24
5Release: 1%{?_dist_release}
6License: GPLv2
7URL: https://fedorahosted.org/mlocate/
8Group: Applications/System
9Source0: https://fedorahosted.org/releases/m/l/mlocate/mlocate-%{version}.tar.xz
10Source1: updatedb.conf
11Source2: mlocate.cron
12Requires(pre): shadow-utils
13Requires(post): grep, sed
14Provides: bundled(gnulib)
15Obsoletes: slocate <= 2.7-25vl6
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: iwaim
20
21%description
22mlocate is a locate/updatedb implementation.  It keeps a database of
23all existing files and allows you to lookup files by name.
24
25The 'm' stands for "merging": updatedb reuses the existing database to avoid
26rereading most of the file system, which makes updatedb faster and does not
27trash the system caches as much as traditional locate implementations.
28
29%prep
30%setup -q
31
32%build
33%configure --localstatedir=%{_localstatedir}/lib
34make %{?_smp_mflags} groupname=slocate
35
36%install
37make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' groupname=slocate
38
39mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.daily}
40install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/updatedb.conf
41install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/mlocate.cron
42# %%ghost semantics is so stupid
43touch $RPM_BUILD_ROOT%{_localstatedir}/lib/mlocate/mlocate.db
44
45%find_lang mlocate
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%pre
51getent group slocate >/dev/null || groupadd -g 21 -r -f slocate
52exit 0
53
54%post
55if /bin/grep -q '^[^#]*DAILY_UPDATE' %{_sysconfdir}/updatedb.conf; then
56    /bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' %{_sysconfdir}/updatedb.conf
57fi
58
59%triggerpostun -- slocate <= 2.7-25vl6
60getent group slocate >/dev/null || groupadd -g 21 -r -f slocate
61exit 0
62
63%files -f mlocate.lang
64%defattr(-,root,root,-)
65%doc AUTHORS COPYING NEWS README
66/etc/cron.daily/mlocate.cron
67%config(noreplace) %{_sysconfdir}/updatedb.conf
68%attr(2711,root,slocate) %{_bindir}/locate
69%{_bindir}/updatedb
70%{_mandir}/man*/*
71%dir %attr(0750,root,slocate) %{_localstatedir}/lib/mlocate
72%ghost %{_localstatedir}/lib/mlocate/mlocate.db
73
74%changelog
75* Mon Aug 15 2011 IWAI, Masaharu <iwai@alib.jp> 0.24-1
76- initial build for Vine Linux
77  - add triggerpostun script: deleting slocate group by slocate package
78  - Obsoletes tag for Vine Linux
79  - add Summary(ja)
80
81* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 0.24-1
82- Update to mlocate-0.24
83  Resolves: #675189
84- Explicitly exclude fuse.sshfs.  Ideally we'd like to exclude all fuse.* file
85  systems, sshfs is urgent because it it can hang updatedb.
86  Resolves: #604145, #608094
87
88* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.1-5
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
90
91* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.23.1-4
92- Add Provides: bundled(gnulib)
93
94* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.23.1-3
95- Exclude /mnt by default
96  Resolves: #674635
97- Drop %%triggerpostun on slocate - it is long obsolete, and rpm started
98  rejecting "Requries(triggerpostun)"
99
100* Wed Sep 29 2010 jkeating - 0.23.1-2
101- Rebuilt for gcc bug 634757
102
103* Tue Sep 14 2010 Miloslav Trmač <mitr@redhat.com> - 0.23.1-1
104- Update to mlocate-0.23.1
105
106* Thu Aug 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.23-1
107- Update to mlocate-0.23
108- Don't exclude rootfs, to avoid ambiguity when handling "/"
109  Resolves: #624551
110
111* Tue Mar 30 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.4-2
112- Ignore no-op bind mounts
113  Resolves: #577819
114
115* Fri Mar 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.4-1
116- Update to mlocate-0.22.4
117
118* Thu Mar  4 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.3-1
119- Update to mlocate-0.22.3
120- Remove no longer necessary references to BuildRoot:
121
122* Fri Jan 15 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.2-2
123- Add "lustre" to PRUNEFS
124- Add all nodev filesystems from the Fedora kernel to PRUNEFS, to make
125  (updatedb) work as some users expect
126
127* Fri Oct  2 2009 Miloslav Trmač <mitr@redhat.com> - 0.22.2-1
128- Update to mlocate-0.22.2
129
130* Tue Sep 15 2009 Miloslav Trmač <mitr@redhat.com> - 0.22.1-1
131- Update to mlocate-0.22.1
132- Drop Provides: slocate, per NamingGuidelines
133
134* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
135- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
136
137* Tue May 19 2009 Miloslav Trmač <mitr@redhat.com> - 0.22-2
138- Add /var/cache/ccache to PRUNEPATHS.
139
140* Tue Apr 14 2009 Miloslav Trmač <mitr@redhat.com> - 0.22-1
141- Update to mlocate-0.22
142
143* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.1-4
144- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
145
146* Mon Jan 12 2009 Miloslav Trmač <mitr@redhat.com> - 0.21.1-3
147- Merge review fixes, based on a patch by Parag AN:
148  - Use %%{_localstatedir}/lib instead of hard-coding /var/lib
149  - Use %%{?_smp_mflags}
150  - Preserve file time stamps
151  - Only create the group if it doesn't exist, hide errors from rpm
152
153* Fri Nov 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-2
154- Add .git to PRUNENAMES
155  Resolves: #473227
156- Avoid a rpmlint warning
157
158* Tue Oct 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-1
159- Update to mlocate-0.21
160  Resolves: #461208
161
162* Mon Jun 30 2008 Miloslav Trmač <mitr@redhat.com> - 0.21-1
163- Update to mlocate-0.21
164- Define PRUNENAMES to exclude .svn and .hg
165
166* Wed Apr  9 2008 Miloslav Trmač <mitr@redhat.com> - 0.20-1
167- Update to mlocate-0.20
168
169* Mon Mar  3 2008 Miloslav Trmač <mitr@redhat.com> - 0.19-1
170- Update to mlocate-0.19
171- New home page at https://fedorahosted.org/mlocate/ .
172
173* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-2
174- Autorebuild for GCC 4.3
175
176* Sat Aug 25 2007 Miloslav Trmač <mitr@redhat.com> - 0.18-1
177- Update to mlocate-0.18
178- Run updatedb with reduced I/O priority
179  Resolves: #254165
180
181* Wed Apr 25 2007 Miloslav Trmac <mitr@redhat.com> - 0.17-1
182- Update to mlocate-0.17
183  Resolves: #237120
184
185* Tue Mar  6 2007 Miloslav Trmac <mitr@redhat.com> - 0.16-1
186- Update to mlocate-0.16
187- Enable PRUNE_BIND_MOUNTS by default
188  Resolves: #221755
189
190* Fri Jan  5 2007 Miloslav Trmac <mitr@redhat.com> - 0.15-2
191- Add gfs and gfs2 to PRUNEFS
192  Resolves: #220491
193
194* Thu Nov 16 2006 Miloslav Trmac <mitr@redhat.com> - 0.15-1
195- Update to mlocate-0.15
196  Resolves: #215763
197
198* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.14-2.1
199- rebuild
200
201* Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 0.14-2
202- Ship NEWS
203
204* Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 0.14-1
205- Update to mlocate-0.14
206
207* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.12-1.2
208- bump again for double-long bug on ppc(64)
209
210* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.12-1.1
211- rebuilt for new gcc4.1 snapshot and glibc changes
212
213* Sat Dec 31 2005 Miloslav Trmac <mitr@redhat.com> - 0.12-1
214- Update to mlocate-0.12
215
216* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
217- rebuilt
218
219* Fri Dec  2 2005 Miloslav Trmac <mitr@redhat.com> - 0.11-2
220- Comment out DAILY_UPDATE from updatedb.conf (#174693)
221
222* Thu Nov 10 2005 Miloslav Trmac <mitr@redhat.com> - 0.11-1
223- Update to mlocate-0.11
224- Add scriptlets to create group slocate
225
226* Thu Jul 28 2005 Miloslav Trmac <mitr@volny.cz> - 0.10-0.testing.1
227- Update to mlocate-0.10
228
229* Thu Jul 28 2005 Miloslav Trmac <mitr@volny.cz> - 0.09-0.testing.1
230- Initial build.
Note: See TracBrowser for help on using the repository browser.