|
@@ -1,7 +1,8 @@
|
|
Summary: An utility for finding files by name
|
|
Summary: An utility for finding files by name
|
|
|
|
+Summary(ja): ファイルをファイル名で探すためのユーティリティ
|
|
Name: mlocate
|
|
Name: mlocate
|
|
Version: 0.24
|
|
Version: 0.24
|
|
-Release: 1%{?dist}
|
|
+Release: 1%{?_dist_release}
|
|
License: GPLv2
|
|
License: GPLv2
|
|
URL: https://fedorahosted.org/mlocate/
|
|
URL: https://fedorahosted.org/mlocate/
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
@@ -11,7 +12,11 @@ Source2: mlocate.cron
|
|
Requires(pre): shadow-utils
|
|
Requires(pre): shadow-utils
|
|
Requires(post): grep, sed
|
|
Requires(post): grep, sed
|
|
Provides: bundled(gnulib)
|
|
Provides: bundled(gnulib)
|
|
-Obsoletes: slocate <= 2.7-30
|
|
+Obsoletes: slocate <= 2.7-25vl6
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Packager: iwaim
|
|
|
|
|
|
%description
|
|
%description
|
|
mlocate is a locate/updatedb implementation. It keeps a database of
|
|
mlocate is a locate/updatedb implementation. It keeps a database of
|
|
@@ -51,6 +56,10 @@ if /bin/grep -q '^[^#]*DAILY_UPDATE' %{_sysconfdir}/updatedb.conf; then
|
|
/bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' %{_sysconfdir}/updatedb.conf
|
|
/bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' %{_sysconfdir}/updatedb.conf
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%triggerpostun -- slocate <= 2.7-25vl6
|
|
|
|
+getent group slocate >/dev/null || groupadd -g 21 -r -f slocate
|
|
|
|
+exit 0
|
|
|
|
+
|
|
%files -f mlocate.lang
|
|
%files -f mlocate.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING NEWS README
|
|
%doc AUTHORS COPYING NEWS README
|
|
@@ -63,6 +72,12 @@ fi
|
|
%ghost %{_localstatedir}/lib/mlocate/mlocate.db
|
|
%ghost %{_localstatedir}/lib/mlocate/mlocate.db
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Aug 15 2011 IWAI, Masaharu <iwai@alib.jp> 0.24-1
|
|
|
|
+- initial build for Vine Linux
|
|
|
|
+ - add triggerpostun script: deleting slocate group by slocate package
|
|
|
|
+ - Obsoletes tag for Vine Linux
|
|
|
|
+ - add Summary(ja)
|
|
|
|
+
|
|
* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 0.24-1
|
|
* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 0.24-1
|
|
- Update to mlocate-0.24
|
|
- Update to mlocate-0.24
|
|
Resolves: #675189
|
|
Resolves: #675189
|