SPECS: apcupsd.spec - changes bcond, description, config

mwinkler mwinkler at pld-linux.org
Fri Jan 13 16:11:00 CET 2006


Author: mwinkler                     Date: Fri Jan 13 15:11:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- changes bcond, description, config

---- Files affected:
SPECS:
   apcupsd.spec (1.68 -> 1.69) 

---- Diffs:

================================================================
Index: SPECS/apcupsd.spec
diff -u SPECS/apcupsd.spec:1.68 SPECS/apcupsd.spec:1.69
--- SPECS/apcupsd.spec:1.68	Thu Jan 12 19:39:57 2006
+++ SPECS/apcupsd.spec	Fri Jan 13 16:10:54 2006
@@ -4,8 +4,8 @@
 %bcond_without	test	# without TEST support
 %bcond_without	usb	# without USB support
 %bcond_without	net	# without network support
+%bcond_without	cgi	# with CGI program support
 %bcond_with	snmp	# with SNMP support
-%bcond_with	cgi	# with CGI program support
 #
 Summary:	Power management software for APC UPS hardware
 Summary(pl):	Oprogramowanie do zarządzania energią dla UPS-ów APC
@@ -47,12 +47,13 @@
 zasilania.
 
 %package cgi 
-Summary:        upsstats is a CGI program
+Summary:        upsstats - Web-based UPS status viewer
 Group:          Applications/Networking
 Requires:       webserver
 
 %description cgi
-upsstats is a CGI program
+upsstats.cgi builds a lightweight web page containing basic status
+information about a UPS
 
 %prep
 %setup -q
@@ -137,8 +138,8 @@
 %attr(754,root,root) %{_sysconfdir}/onbattery
 %attr(754,root,root) %{_sysconfdir}/offbattery
 %if %{with cgi}
-%attr(644,root,root) %{_sysconfdir}/hosts.conf
-%attr(644,root,root) %{_sysconfdir}/multimon.conf
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hosts.conf
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/multimon.conf
 %attr(644,root,root) %{_sysconfdir}/apcupsd.css
 %endif
 %attr(754,root,root) /etc/rc.d/init.d/apcupsd
@@ -161,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.69  2006/01/13 15:10:54  mwinkler
+- changes bcond, description, config
+
 Revision 1.68  2006/01/12 18:39:57  mwinkler
 - remove css-dir (always in CONFDIR)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apcupsd.spec?r1=1.68&r2=1.69&f=u



More information about the pld-cvs-commit mailing list