SPECS: lm_sensors-config.spec - more pl, removed invalid use of _s...
qboosh
qboosh at pld-linux.org
Wed Nov 15 23:53:18 CET 2006
Author: qboosh Date: Wed Nov 15 22:53:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- more pl, removed invalid use of _sysconfdir
---- Files affected:
SPECS:
lm_sensors-config.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/lm_sensors-config.spec
diff -u SPECS/lm_sensors-config.spec:1.1 SPECS/lm_sensors-config.spec:1.2
--- SPECS/lm_sensors-config.spec:1.1 Wed Nov 15 16:34:56 2006
+++ SPECS/lm_sensors-config.spec Wed Nov 15 23:53:12 2006
@@ -1,8 +1,8 @@
# $Revision$, $Date$
-%define cmodule %{_sysconfdir}/sysconfig/sensors_modules
-%define cdaemon %{_sysconfdir}/sysconfig/sensors
-%define smodule %{_sysconfdir}/rc.d/init.d/sensors_modules
-%define sdaemon %{_sysconfdir}/rc.d/init.d/sensors
+%define cmodule /etc/sysconfig/sensors_modules
+%define cdaemon /etc/sysconfig/sensors
+%define smodule /etc/rc.d/init.d/sensors_modules
+%define sdaemon /etc/rc.d/init.d/sensors
Summary: lm_sensors configuration files
Summary(pl): Pliki konfiguracyjne lm_sensors
@@ -22,7 +22,7 @@
Configuration files for lm_sensors.
%description -l pl
-Pliki konfiguracyjne lm_sensors
+Pliki konfiguracyjne lm_sensors.
%package epox-EP-8K9A
Summary: lm_sensors configuration files
@@ -35,6 +35,10 @@
lm_sensors configuration files for Epox 8K9A series motherboards
(tested with EP-8K9AI motherboard).
+%description epox-EP-8K9A -l pl
+Pliki konfiguracyjne lm_sensors dla płyt głównych z serii Epox 8K9A
+(testowane na płycie EP-8K9AI).
+
%package ecs-K7VTA3
Summary: lm_sensors configuration files
Summary(pl): Pliki konfiguracyjne lm_sensors
@@ -46,8 +50,12 @@
lm_sensors configuration files for ECS K7VTA3 series motherboards
(tested with K7VTA3 v. 5.0).
+%description ecs-K7VTA3 -l pl
+Pliki konfiguracyjne lm_sensors dla płyt głównych z serii ECS K7VTA3
+(testowane na płycie K7VTA3 v. 5.0).
+
%prep
-%setup -T -c %{version}
+%setup -q -c -T
mkdir src
mkdir etc
mkdir sysconfig
@@ -61,16 +69,16 @@
cat > files.$1 << EOF
%defattr(644,root,root,755)
%%config(noreplace) %%verify(not md5 mtime size) %{_sysconfdir}/sensors.conf.$1
-%%config(noreplace) %%verify(not md5 mtime size) %{_sysconfdir}/sysconfig/sensors_modules.$1
+%%config(noreplace) %%verify(not md5 mtime size) /etc/sysconfig/sensors_modules.$1
%%ghost %{_sysconfdir}/sensors.conf
-%%ghost %{_sysconfdir}/sysconfig/sensors_modules
+%%ghost /etc/sysconfig/sensors_modules
EOF
}
mk_post() {
cat > post.$1 << EOF
ln -sf %{_sysconfdir}/sensors.conf.$1 %{_sysconfdir}/sensors.conf
-ln -sf %{_sysconfdir}/sysconfig/sensors_modules.$1 %{_sysconfdir}/sysconfig/sensors_modules
+ln -sf /etc/sysconfig/sensors_modules.$1 /etc/sysconfig/sensors_modules
if [ -f "%{smodule}" ]; then
/sbin/chkconfig --add sensors_modules
%%service sensors_modules restart "sensors modules"
@@ -116,11 +124,11 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
+install -d $RPM_BUILD_ROOT/etc/sysconfig
cp etc/* $RPM_BUILD_ROOT%{_sysconfdir}
-cp sysconfig/* $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
+cp sysconfig/* $RPM_BUILD_ROOT/etc/sysconfig
-ln -sf /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/sensors_modules
+ln -sf /dev/null $RPM_BUILD_ROOT/etc/sysconfig/sensors_modules
ln -sf /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/sensors.conf
%clean
@@ -140,6 +148,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/11/15 22:53:12 qboosh
+- more pl, removed invalid use of _sysconfdir
+
Revision 1.1 2006/11/15 15:34:56 pascalek
- initial revision
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lm_sensors-config.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list