SPECS: dict-dalf.spec, dict-jargon.spec, dict-wn.spec - rel 3 (use...

glen glen at pld-linux.org
Mon Mar 12 01:16:52 CET 2007


Author: glen                         Date: Mon Mar 12 00:16:52 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3 (use %service)

---- Files affected:
SPECS:
   dict-dalf.spec (1.9 -> 1.10) , dict-jargon.spec (1.26 -> 1.27) , dict-wn.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/dict-dalf.spec
diff -u SPECS/dict-dalf.spec:1.9 SPECS/dict-dalf.spec:1.10
--- SPECS/dict-dalf.spec:1.9	Mon Feb 12 22:23:53 2007
+++ SPECS/dict-dalf.spec	Mon Mar 12 01:16:47 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Słownik rosyjsko-rosyjski dalf dla dictd
 Name:		dict-%{dictname}
 Version:	1.0
-Release:	2
+Release:	3
 License:	unknown
 Group:		Applications/Dictionaries
 Source0:	http://www.chat.ru/~muller_dic/dalf.gz
@@ -13,6 +13,7 @@
 URL:		http://www.chat.ru/~muller_dic/
 BuildRequires:	dictfmt
 BuildRequires:	dictzip
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	%{_sysconfdir}/dictd
 Requires:	dictd
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,13 +55,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/dictd ]; then
-	/etc/rc.d/init.d/dictd restart 1>&2
-fi
+%service -q dictd restart
 
 %postun
-if [ -f /var/lock/subsys/dictd ]; then
-	/etc/rc.d/init.d/dictd restart 1>&2 || true
+if [ "$1" = 0 ]; then
+	%service -q dictd restart
 fi
 
 %files
@@ -74,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2007/03/12 00:16:47  glen
+- rel 3 (use %service)
+
 Revision 1.9  2007/02/12 21:23:53  glen
 - tabs in preamble
 

================================================================
Index: SPECS/dict-jargon.spec
diff -u SPECS/dict-jargon.spec:1.26 SPECS/dict-jargon.spec:1.27
--- SPECS/dict-jargon.spec:1.26	Mon Feb 12 22:23:53 2007
+++ SPECS/dict-jargon.spec	Mon Mar 12 01:16:47 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Słownik Hacker Jargon dla dictd
 Name:		dict-%{dictname}
 Version:	4.4.7
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/Dictionaries
 # Source0:	http://www.tuxedo.org/~esr/jargon/jarg433.gz
@@ -13,6 +13,7 @@
 URL:		http://www.dict.org/
 BuildRequires:	dictfmt
 BuildRequires:	dictzip
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	%{_sysconfdir}/dictd
 Requires:	dictd
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,13 +51,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/dictd ]; then
-	/etc/rc.d/init.d/dictd restart 1>&2
-fi
+%service -q dictd restart
 
 %postun
-if [ -f /var/lock/subsys/dictd ]; then
-	/etc/rc.d/init.d/dictd restart 1>&2 || true
+if [ "$1" = 0 ]; then
+	%service -q dictd restart
 fi
 
 %files
@@ -70,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2007/03/12 00:16:47  glen
+- rel 3 (use %service)
+
 Revision 1.26  2007/02/12 21:23:53  glen
 - tabs in preamble
 

================================================================
Index: SPECS/dict-wn.spec
diff -u SPECS/dict-wn.spec:1.24 SPECS/dict-wn.spec:1.25
--- SPECS/dict-wn.spec:1.24	Mon Feb 12 22:23:53 2007
+++ SPECS/dict-wn.spec	Mon Mar 12 01:16:47 2007
@@ -4,13 +4,14 @@
 Summary(pl.UTF-8):	System referencji słownikowych WordNet dla dictd
 Name:		dict-%{dictname}
 Version:	2.0
-Release:	2
+Release:	3
 License:	Free to use, but see http://www.cogsci.princeton.edu/~wn/
 Group:		Applications/Dictionaries
 # note: pre means preformatted
 Source0:	ftp://ftp.dict.org/pub/dict/pre/%{name}-%{version}-pre.tar.gz
 # Source0-md5:	fcfedcc13815cde1e28103b61c05c168
 URL:		http://www.dict.org/
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	%{_sysconfdir}/dictd
 Requires:	dictd
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,13 +43,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/dictd ]; then
-	/etc/rc.d/init.d/dictd restart 1>&2
-fi
+%service -q dictd restart
 
 %postun
-if [ -f /var/lock/subsys/dictd ]; then
-	/etc/rc.d/init.d/dictd restart 1>&2 || true
+if [ "$1" = 0 ]; then
+	%service -q dictd restart
 fi
 
 %files
@@ -62,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2007/03/12 00:16:47  glen
+- rel 3 (use %service)
+
 Revision 1.24  2007/02/12 21:23:53  glen
 - tabs in preamble
 
@@ -91,22 +93,22 @@
 
 Revision 1.15  2002/12/28 11:46:09  gotar
 - forced my version of 1.7a:
- - more unified with other dicts,
- - removed BR: autoconf, dictzip,
- - standard %buildsubdir,
- - other cosmetics.
+- more unified with other dicts,
+- removed BR: autoconf, dictzip,
+- standard %buildsubdir,
+- other cosmetics.
 
 Revision 1.13  2002/09/09 14:31:48  gotar
 - cosmetics,
 - unified config entries and dict-* specs appearance.
 
 Revision 1.12  2002/05/21 23:12:56  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+     s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.11  2002/04/25 16:11:52  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.10  2002/04/25 11:53:24  kloczek
 - release 3.
@@ -119,7 +121,7 @@
   Group field using gettext).
 
 Revision 1.7  2002/01/18 02:12:42  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.6  2001/11/21 14:52:37  qboosh
 - pl translations
@@ -128,7 +130,7 @@
 - ac stuff (STBR all dict*)
 
 Revision 1.4  2001/07/26 02:57:29  agaran
-changed group (Dictionary => Dictionaries)
+- changed group (Dictionary => Dictionaries)
 
 Revision 1.3  2000/08/14 09:19:14  mis
 - /etc/dictd is used instead of modify /etc/dictd.conf in %post
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dict-dalf.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/dict-jargon.spec?r1=1.26&r2=1.27&f=u
    http://cvs.pld-linux.org/SPECS/dict-wn.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list