SPECS: lm_sensors.spec - fancontrol.init added - PLD-ized fancontr...

czarny czarny at pld-linux.org
Wed Sep 27 12:48:12 CEST 2006


Author: czarny                       Date: Wed Sep 27 10:48:12 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fancontrol.init added
- PLD-ized fancontrol to use /etc/sysconfig instead of /etc
- added TODO
- NFY

---- Files affected:
SPECS:
   lm_sensors.spec (1.157 -> 1.158) 

---- Diffs:

================================================================
Index: SPECS/lm_sensors.spec
diff -u SPECS/lm_sensors.spec:1.157 SPECS/lm_sensors.spec:1.158
--- SPECS/lm_sensors.spec:1.157	Tue Sep 26 16:59:04 2006
+++ SPECS/lm_sensors.spec	Wed Sep 27 12:48:07 2006
@@ -1,7 +1,10 @@
 # $Revision$, $Date$
 # TODO
 # - unpackaged:
-#   /usr/sbin/fancontrol.pl
+#   /usr/sbin/fancontrol.pl (isn't that the same as sh fancontrol script?)
+# - add fancontrol(d) subpackage
+# - update and use fancontrol.init
+# - a big trigger warning how to use fancontrol and to init it first
 #
 %include	/usr/lib/rpm/macros.perl
 Summary:	Hardware health monitoring
@@ -18,6 +21,7 @@
 # Source0-md5:	cdc857b78e813b88cbf8be92441aa299
 Source1:	sensors.init
 Source2:	sensors.sysconfig
+Source3:	fancontrol.init
 Patch0:		%{name}-make.patch
 Patch1:		%{name}-ppc.patch
 Patch2:		%{name}-iconv-in-libc.patch
@@ -159,6 +163,10 @@
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} -I../../kernel/include"
 
+# PLD-ize fancontrol
+%{__sed} -i -e "s@/etc/fancontrol@%{_sysconfdir}/sysconfig/fancontrol at g" prog/pwm/fancontrol
+%{__sed} -i -e "s@/etc/fancontrol@%{_sysconfdir}/sysconfig/fancontrol at g" prog/pwm/pwmconfig
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -259,6 +267,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.158  2006/09/27 10:48:07  czarny
+- fancontrol.init added
+- PLD-ized fancontrol to use /etc/sysconfig instead of /etc
+- added TODO
+- NFY
+
 Revision 1.157  2006/09/26 14:59:04  wolvverine
 - up to 2.10.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lm_sensors.spec?r1=1.157&r2=1.158&f=u



More information about the pld-cvs-commit mailing list