]> git.pld-linux.org Git - packages/apcupsd.git/commitdiff
- changes bcond, description, config
authorMarcin Winkler <qurczak@gmail.com>
Fri, 13 Jan 2006 15:10:54 +0000 (15:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apcupsd.spec -> 1.69

apcupsd.spec

index 2393a7faea6707fcd61e311af594c706e6f6bbfb..eae41ac4321ea7f2e3864f64f18d207a2a9179ed 100644 (file)
@@ -3,8 +3,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
@@ -46,12 +46,13 @@ odpowiednio uruchamia kontrolowany shutdown przy d
 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
@@ -136,8 +137,8 @@ fi
 %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
This page took 0.126992 seconds and 4 git commands to generate.