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

Revision 7277, 7.4 KB checked in by iwaim, 11 years ago (diff)

mlocate 0.26-1 (TestPkg?)

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