SPECS: nut.spec - SNMP UPS agent support, rel.2

orzech orzech at pld-linux.org
Thu Apr 19 08:38:40 CEST 2007


Author: orzech                       Date: Thu Apr 19 06:38:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- SNMP UPS agent support, rel.2

---- Files affected:
SPECS:
   nut.spec (1.108 -> 1.109) 

---- Diffs:

================================================================
Index: SPECS/nut.spec
diff -u SPECS/nut.spec:1.108 SPECS/nut.spec:1.109
--- SPECS/nut.spec:1.108	Tue Feb 13 08:16:50 2007
+++ SPECS/nut.spec	Thu Apr 19 08:38:35 2007
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Sieciowe narzędzie do UPS-ów
 Name:		nut
 Version:	2.0.5
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/System
 Source0:	http://eu1.networkupstools.org/source/2.0/%{name}-%{version}.tar.gz
@@ -25,6 +25,7 @@
 BuildRequires:	automake
 BuildRequires:	gd-devel >= 2.0.15
 BuildRequires:	libpng-devel
+BuildRequires:	net-snmp-devel
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
@@ -178,7 +179,7 @@
 	--with-cgipath=/home/services/httpd/cgi-bin \
 	--with-user=ups \
 	--with-group=ups
-%{__make} all cgi
+%{__make} all snmp cgi
 %{?with_hidups:%{__make} build-usb}
 
 %install
@@ -186,7 +187,7 @@
 install -d $RPM_BUILD_ROOT{/sbin,/etc/{sysconfig,rc.d/init.d},/var/lib/ups} \
 	$RPM_BUILD_ROOT{/lib/nut,%{_libdir},%{_includedir}/nut}
 
-%{__make} install install-cgi \
+%{__make} install install-snmp install-cgi \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ups
@@ -320,6 +321,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109  2007/04/19 06:38:35  orzech
+- SNMP UPS agent support, rel.2
+
 Revision 1.108  2007/02/13 07:16:50  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nut.spec?r1=1.108&r2=1.109&f=u



More information about the pld-cvs-commit mailing list