Browse Source

mlocate 0.24-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4660 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 12 years ago
parent
commit
de7fbcdff8
1 changed files with 17 additions and 2 deletions
  1. 17 2
      m/mlocate/mlocate-vl.spec

+ 17 - 2
m/mlocate/mlocate.spec → m/mlocate/mlocate-vl.spec

@@ -1,7 +1,8 @@
 Summary: An utility for finding files by name
+Summary(ja): ファイルをファイル名で探すためのユーティリティ
 Name: mlocate
 Version: 0.24
-Release: 1%{?dist}
+Release: 1%{?_dist_release}
 License: GPLv2
 URL: https://fedorahosted.org/mlocate/
 Group: Applications/System
@@ -11,7 +12,11 @@ Source2: mlocate.cron
 Requires(pre): shadow-utils
 Requires(post): grep, sed
 Provides: bundled(gnulib)
-Obsoletes: slocate <= 2.7-30
+Obsoletes: slocate <= 2.7-25vl6
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwaim
 
 %description
 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
 fi
 
+%triggerpostun -- slocate <= 2.7-25vl6
+getent group slocate >/dev/null || groupadd -g 21 -r -f slocate
+exit 0
+
 %files -f mlocate.lang
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README
@@ -63,6 +72,12 @@ fi
 %ghost %{_localstatedir}/lib/mlocate/mlocate.db
 
 %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
 - Update to mlocate-0.24
   Resolves: #675189