Author: havner                       Date: Tue Aug 15 22:39:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apm_proxy should be considered config file
- rel 3

---- Files affected:
SPECS:
   apmd.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/apmd.spec
diff -u SPECS/apmd.spec:1.60 SPECS/apmd.spec:1.61
--- SPECS/apmd.spec:1.60        Thu May 11 21:07:18 2006
+++ SPECS/apmd.spec     Wed Aug 16 00:39:17 2006
@@ -21,7 +21,7 @@
 Summary(zh_CN):        ÓĂÓÚĎĽÉĎĐÍźĆËăťúľÄ¸ßźśľçÔ´šÜŔí (APM) BIOS ĘľÓĂłĚĐňĄŁ
 Name:          apmd
 Version:       3.2.2
-Release:       2
+Release:       3
 Epoch:         1
 License:       GPL
 Group:         Applications/System
@@ -253,13 +253,15 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir},%{_sbindir}} \
-       
$RPM_BUILD_ROOT{%{_mandir}/{man{1,8},fr/man1},/etc/{rc.d/init.d,sysconfig}}
+       
$RPM_BUILD_ROOT{%{_mandir}/{man{1,8},fr/man1},/etc/{rc.d/init.d,sysconfig}} \
+       $RPM_BUILD_ROOT%{_sysconfdir}/apm
 
 cd .libs
 install apm xapm apmsleep ../on_ac_power ../xbattery/xbattery 
$RPM_BUILD_ROOT%{_bindir}
-install apmd ../apmd_proxy $RPM_BUILD_ROOT%{_sbindir}
+install apmd $RPM_BUILD_ROOT%{_sbindir}
 cd ..
 
+install apmd_proxy $RPM_BUILD_ROOT%{_sysconfdir}/apm
 install apm.1 apmsleep.1 on_ac_power.1 xapm.1 $RPM_BUILD_ROOT%{_mandir}/man1
 install apmsleep.fr.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1/apmsleep.1
 install *.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -272,7 +274,7 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/apmd
 
 cat << EOF > $RPM_BUILD_ROOT/etc/sysconfig/apmd
-APMD_OPTIONS="-p 10 -w 5 -W -P %{_sbindir}/apmd_proxy"
+APMD_OPTIONS="-p 10 -w 5 -W -P %{_sysconfdir}/apm/apmd_proxy"
 EOF
 
 %clean
@@ -300,6 +302,8 @@
 %attr(755,root,root) %{_sbindir}/*
 %attr(754,root,root) /etc/rc.d/init.d/apmd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/apmd
+%dir %{_sysconfdir}/apm
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/apm/*
 %{_mandir}/man1/apm.1*
 %{_mandir}/man1/apmsleep.1*
 %{_mandir}/man1/on_ac_power.1*
@@ -331,6 +335,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2006/08/15 22:39:17  havner
+- apm_proxy should be considered config file
+- rel 3
+
 Revision 1.60  2006/05/11 19:07:18  glen
 - add libtool patch, rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apmd.spec?r1=1.60&r2=1.61&f=u

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

Reply via email to