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

Revision 8134, 7.5 KB checked in by iwaim, 10 years ago (diff)

mlocate 0.26-2

Line 
1Summary: An utility for finding files by name
2Summary(ja): ファイルをファイル名で探すためのユーティリティ
3Name: mlocate
4Version: 0.26
5Release: 2%{?_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 <= 3.1-1vl7
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 <= 3.1-1vl7
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* Wed Jan  8 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.26-2
76- build with current VineSeed
77
78* Mon Dec 31 2012 IWAI, Masaharu <iwai@alib.jp> 0.26-1
79- new upstream release
80- update obsoleted slocate package version: 2.7-25vl6 -> 3.1-1vl7
81
82* Mon Aug 15 2011 IWAI, Masaharu <iwai@alib.jp> 0.24-1
83- initial build for Vine Linux
84  - add triggerpostun script: deleting slocate group by slocate package
85  - Obsoletes tag for Vine Linux
86  - add Summary(ja)
87
88* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 0.24-1
89- Update to mlocate-0.24
90  Resolves: #675189
91- Explicitly exclude fuse.sshfs.  Ideally we'd like to exclude all fuse.* file
92  systems, sshfs is urgent because it it can hang updatedb.
93  Resolves: #604145, #608094
94
95* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.1-5
96- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
97
98* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.23.1-4
99- Add Provides: bundled(gnulib)
100
101* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.23.1-3
102- Exclude /mnt by default
103  Resolves: #674635
104- Drop %%triggerpostun on slocate - it is long obsolete, and rpm started
105  rejecting "Requries(triggerpostun)"
106
107* Wed Sep 29 2010 jkeating - 0.23.1-2
108- Rebuilt for gcc bug 634757
109
110* Tue Sep 14 2010 Miloslav Trmač <mitr@redhat.com> - 0.23.1-1
111- Update to mlocate-0.23.1
112
113* Thu Aug 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.23-1
114- Update to mlocate-0.23
115- Don't exclude rootfs, to avoid ambiguity when handling "/"
116  Resolves: #624551
117
118* Tue Mar 30 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.4-2
119- Ignore no-op bind mounts
120  Resolves: #577819
121
122* Fri Mar 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.4-1
123- Update to mlocate-0.22.4
124
125* Thu Mar  4 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.3-1
126- Update to mlocate-0.22.3
127- Remove no longer necessary references to BuildRoot:
128
129* Fri Jan 15 2010 Miloslav Trmač <mitr@redhat.com> - 0.22.2-2
130- Add "lustre" to PRUNEFS
131- Add all nodev filesystems from the Fedora kernel to PRUNEFS, to make
132  (updatedb) work as some users expect
133
134* Fri Oct  2 2009 Miloslav Trmač <mitr@redhat.com> - 0.22.2-1
135- Update to mlocate-0.22.2
136
137* Tue Sep 15 2009 Miloslav Trmač <mitr@redhat.com> - 0.22.1-1
138- Update to mlocate-0.22.1
139- Drop Provides: slocate, per NamingGuidelines
140
141* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
142- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
143
144* Tue May 19 2009 Miloslav Trmač <mitr@redhat.com> - 0.22-2
145- Add /var/cache/ccache to PRUNEPATHS.
146
147* Tue Apr 14 2009 Miloslav Trmač <mitr@redhat.com> - 0.22-1
148- Update to mlocate-0.22
149
150* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.1-4
151- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
152
153* Mon Jan 12 2009 Miloslav Trmač <mitr@redhat.com> - 0.21.1-3
154- Merge review fixes, based on a patch by Parag AN:
155  - Use %%{_localstatedir}/lib instead of hard-coding /var/lib
156  - Use %%{?_smp_mflags}
157  - Preserve file time stamps
158  - Only create the group if it doesn't exist, hide errors from rpm
159
160* Fri Nov 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-2
161- Add .git to PRUNENAMES
162  Resolves: #473227
163- Avoid a rpmlint warning
164
165* Tue Oct 28 2008 Miloslav Trmač <mitr@redhat.com> - 0.21.1-1
166- Update to mlocate-0.21
167  Resolves: #461208
168
169* Mon Jun 30 2008 Miloslav Trmač <mitr@redhat.com> - 0.21-1
170- Update to mlocate-0.21
171- Define PRUNENAMES to exclude .svn and .hg
172
173* Wed Apr  9 2008 Miloslav Trmač <mitr@redhat.com> - 0.20-1
174- Update to mlocate-0.20
175
176* Mon Mar  3 2008 Miloslav Trmač <mitr@redhat.com> - 0.19-1
177- Update to mlocate-0.19
178- New home page at https://fedorahosted.org/mlocate/ .
179
180* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-2
181- Autorebuild for GCC 4.3
182
183* Sat Aug 25 2007 Miloslav Trmač <mitr@redhat.com> - 0.18-1
184- Update to mlocate-0.18
185- Run updatedb with reduced I/O priority
186  Resolves: #254165
187
188* Wed Apr 25 2007 Miloslav Trmac <mitr@redhat.com> - 0.17-1
189- Update to mlocate-0.17
190  Resolves: #237120
191
192* Tue Mar  6 2007 Miloslav Trmac <mitr@redhat.com> - 0.16-1
193- Update to mlocate-0.16
194- Enable PRUNE_BIND_MOUNTS by default
195  Resolves: #221755
196
197* Fri Jan  5 2007 Miloslav Trmac <mitr@redhat.com> - 0.15-2
198- Add gfs and gfs2 to PRUNEFS
199  Resolves: #220491
200
201* Thu Nov 16 2006 Miloslav Trmac <mitr@redhat.com> - 0.15-1
202- Update to mlocate-0.15
203  Resolves: #215763
204
205* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.14-2.1
206- rebuild
207
208* Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 0.14-2
209- Ship NEWS
210
211* Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 0.14-1
212- Update to mlocate-0.14
213
214* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.12-1.2
215- bump again for double-long bug on ppc(64)
216
217* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.12-1.1
218- rebuilt for new gcc4.1 snapshot and glibc changes
219
220* Sat Dec 31 2005 Miloslav Trmac <mitr@redhat.com> - 0.12-1
221- Update to mlocate-0.12
222
223* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
224- rebuilt
225
226* Fri Dec  2 2005 Miloslav Trmac <mitr@redhat.com> - 0.11-2
227- Comment out DAILY_UPDATE from updatedb.conf (#174693)
228
229* Thu Nov 10 2005 Miloslav Trmac <mitr@redhat.com> - 0.11-1
230- Update to mlocate-0.11
231- Add scriptlets to create group slocate
232
233* Thu Jul 28 2005 Miloslav Trmac <mitr@volny.cz> - 0.10-0.testing.1
234- Update to mlocate-0.10
235
236* Thu Jul 28 2005 Miloslav Trmac <mitr@volny.cz> - 0.09-0.testing.1
237- Initial build.
Note: See TracBrowser for help on using the repository browser.