Author: glen                         Date: Fri Feb 24 15:12:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add missing scripts, rel 2

---- Files affected:
SPECS:
   cpudyn.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/cpudyn.spec
diff -u SPECS/cpudyn.spec:1.8 SPECS/cpudyn.spec:1.9
--- SPECS/cpudyn.spec:1.8       Thu Aug 25 22:54:17 2005
+++ SPECS/cpudyn.spec   Fri Feb 24 16:12:13 2006
@@ -3,7 +3,7 @@
 Summary(pl):   Narzędzia do kontroli częstotliwości procesora
 Name:          cpudyn
 Version:       1.0.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         Daemons
 Source0:       http://mnm.uib.es/~gallir/cpudyn/download/%{name}-%{version}.tgz
@@ -11,8 +11,8 @@
 Source1:       %{name}.init
 Source2:       %{name}.conf
 URL:           http://mnm.uib.es/~gallir/cpudyn/
-Requires:      rc-scripts
 Requires(post,preun):  /sbin/chkconfig
+Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
@@ -42,7 +42,7 @@
 
 %build
 %{__make} \
-       CC=%{__cc} \
+       CC="%{__cc}" \
        CFLAGS="%{rpmcflags} -Wall"
 
 %install
@@ -57,6 +57,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/sbin/chkconfig --add cpudynd
+%service cpudynd restart
+
+%preun
+if [ "$1" = "0" ]; then
+       %service cpudynd stop
+       /sbin/chkconfig --del cpudynd
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc README faq.html
@@ -71,6 +81,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/02/24 15:12:13  glen
+- add missing scripts, rel 2
+
 Revision 1.8  2005/08/25 20:54:17  darekr
 - defined _sbindir to /sbin
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cpudyn.spec?r1=1.8&r2=1.9&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to