Author: gotar                        Date: Sat Mar  1 17:38:28 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- upgraded to 3.14.3; master-slave mode has been removed,
- added gapcmon subpackage, enabled powerflute and NLS

---- Files affected:
SPECS:
   apcupsd.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: SPECS/apcupsd.spec
diff -u SPECS/apcupsd.spec:1.81 SPECS/apcupsd.spec:1.82
--- SPECS/apcupsd.spec:1.81     Tue Apr 10 20:06:38 2007
+++ SPECS/apcupsd.spec  Sat Mar  1 18:38:22 2008
@@ -10,18 +10,20 @@
 Summary:       Power management software for APC UPS hardware
 Summary(pl.UTF-8):     Oprogramowanie do zarządzania energią dla UPS-ów APC
 Name:          apcupsd
-Version:       3.12.4
+Version:       3.14.3
 Release:       1
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/apcupsd/%{name}-%{version}.tar.gz
-# Source0-md5: 669c833ec02a2bc29fa98f845e5f5de5
+# Source0-md5: a212351d21828e9344264614c7ad8ba1
 Source1:       %{name}.init
 Source2:       %{name}.logrotate
 Source3:       %{name}.sysconfig
 Patch0:                %{name}-configure.patch
 URL:           http://www.apcupsd.com/
 BuildRequires: autoconf
+BuildRequires: gconfmm-devel
+BuildRequires: ncurses-ext-devel
 %{?with_snmp:BuildRequires:    net-snmp-devel}
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post):        fileutils
@@ -60,6 +62,21 @@
 upsstats.cgi tworzy lekką stronę WWW zawierającą podstawowe informacje
 o stanie UPS-a.
 
+%package gapcmon
+Summary:       Apcupsd GUI monitoring application
+Summary(pl.UTF-8):     Aplikacja GUI monitorowania Apcupsd
+Group:         X11/Applications
+
+%description gapcmon
+Gnome/GTK based application which integrates into most desktop panels (not
+just Gnome). It monitors one or more Apcupsd instances using Apcupsd's NIS
+networking server. The status of each UPS is shown with a icon.
+
+%description gapcmon -l pl.UTF-8
+Oparta na Gnome/GTK aplikacja, która integruje się z panelami (nie tylko
+Gnome). Monitoruje jedną bądź kilka instancji Apcupsd za pomocą serwera
+NIS. Status każdego UPS-a przedstawia ikona.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -77,8 +94,10 @@
        %{?with_test:--enable-test} \
 %if %{with net}
        --enable-net \
-       --enable-master-slave \
 %endif
+       --enable-nls \
+       --enable-powerflute \
+       --enable-gapcmon \
        %{?with_snmp:--enable-snmp} \
        %{?with_usb:--enable-usb}
 
@@ -91,7 +110,8 @@
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-        
+
+install src/powerflute $RPM_BUILD_ROOT%{_sbindir}        
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/apcupsd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apcupsd
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/apcupsd
@@ -128,8 +148,6 @@
 %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/commfailure
 %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/commok
 #%attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/mainsback
-%attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/masterconnect
-%attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/mastertimeout
 %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/onbattery
 %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/offbattery
 %if %{with cgi}
@@ -150,12 +168,22 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_cgidir}/*.cgi
 
+%files gapcmon
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/gapcmon.desktop
+%{_pixmapsdir}/*
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2008-03-01 17:38:22  gotar
+- upgraded to 3.14.3; master-slave mode has been removed,
+- added gapcmon subpackage, enabled powerflute and NLS
+
 Revision 1.81  2007-04-10 18:06:38  shadzik
 - fix my last change
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apcupsd.spec?r1=1.81&r2=1.82&f=u

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

Reply via email to