SPECS: gkrellm.spec - use %service

glen glen at pld-linux.org
Sun Mar 19 18:14:43 CET 2006


Author: glen                         Date: Sun Mar 19 17:14:43 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service

---- Files affected:
SPECS:
   gkrellm.spec (1.102 -> 1.103) 

---- Diffs:

================================================================
Index: SPECS/gkrellm.spec
diff -u SPECS/gkrellm.spec:1.102 SPECS/gkrellm.spec:1.103
--- SPECS/gkrellm.spec:1.102	Sun Feb 19 01:12:05 2006
+++ SPECS/gkrellm.spec	Sun Mar 19 18:14:38 2006
@@ -23,6 +23,7 @@
 BuildRequires:	gnutls-devel >= 1.2.5
 BuildRequires:	gtk+2-devel >= 2:2.2.0
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,11 +31,11 @@
 automatically. An on/off button and online timer for the PPP interface
 is provided. Includes meters for memory and swap usage, an uptime
 monitor, a hostname label, and a clock/calendar. are provided.
-Additional features are:
 
-  - Autoscaling grid lines with configurable grid line resolution.
-  - LED indicators for the net interfaces.
-  - A gui popup for configuration of chart sizes and resolutions.
+Additional features are:
+- Autoscaling grid lines with configurable grid line resolution.
+- LED indicators for the net interfaces.
+- A gui popup for configuration of chart sizes and resolutions.
 
 %description -l pl
 GKrellM automatycznie wyświetla wykresy aktywności SMP CPU,
@@ -42,11 +43,12 @@
 przycisk wyłącznika, czasomierz dla interfejsu PPP, mierniki
 wykorzystania pamięci oraz partycji wymiany, wyświetlacz czasy, który
 upłynął od włączenia maszyny, etykietę nazwy hosta oraz zegar i
-kalendarz. Inne funkcje:
+kalendarz.
 
- - Samoskalujące się linie siatki o konfigurowanej gęstości
- - Wyświetlacze imitujące diody LED dla interfejsów sieciowych
- - Narzędzie gui do konfiguracji rozmiarów wykresów i rozdzielczości
+Inne funkcje:
+- Samoskalujące się linie siatki o konfigurowanej gęstości
+- Wyświetlacze imitujące diody LED dla interfejsów sieciowych
+- Narzędzie gui do konfiguracji rozmiarów wykresów i rozdzielczości
 
 %description -l pt_BR
 O GKrellM mostra gráficos com dados sobre CPUs, carga da máquina,
@@ -152,17 +154,11 @@
 
 %post gkrellmd
 /sbin/chkconfig --add gkrellmd
-if [ -f %{_localstatedir}/lock/subsys/gkrellmd ]; then
-	%{_initrddir}/gkrellmd restart >&2
-else
-	echo "Run \"%{_initrddir}/gkrellmd start\" to start gkrellmd." >&2
-fi
+%service gkrellmd restart
 
 %preun gkrellmd
 if [ "$1" = "0" ]; then
-	if [ -f %{_localstatedir}/lock/subsys/gkrellmd ]; then
-		%{_initrddir}/gkrellmd stop
-	fi
+	%service gkrellmd stop
 	/sbin/chkconfig --del gkrellmd
 fi
 
@@ -196,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.103  2006/03/19 17:14:38  glen
+- use %service
+
 Revision 1.102  2006/02/19 00:12:05  wolf
 - rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gkrellm.spec?r1=1.102&r2=1.103&f=u



More information about the pld-cvs-commit mailing list