SPECS: net-snmp.spec - added python patch, updated files (added py...

qboosh qboosh at pld-linux.org
Sat Dec 2 21:57:42 CET 2006


Author: qboosh                       Date: Sat Dec  2 20:57:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added python patch, updated files (added python-netsnmp package); builds now

---- Files affected:
SPECS:
   net-snmp.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.82 SPECS/net-snmp.spec:1.83
--- SPECS/net-snmp.spec:1.82	Sat Dec  2 18:02:59 2006
+++ SPECS/net-snmp.spec	Sat Dec  2 21:57:37 2006
@@ -35,6 +35,7 @@
 Patch7:		%{name}-kernel_headers.patch
 Patch8:		%{name}-rpmpath.patch
 Patch9:		%{name}-snmpksm.patch
+Patch10:	%{name}-python.patch
 URL:		http://www.net-snmp.org/
 BuildRequires:	autoconf >= 2.57-3
 BuildRequires:	automake
@@ -46,7 +47,7 @@
 BuildRequires:	openssl-devel >= 0.9.7d
 %{?with_autodeps:BuildRequires:	perl-Term-ReadKey}
 BuildRequires:	perl-devel >= 1:5.8.0
-BuildRequires:	python-devel
+BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpm-devel >= 4.0
 BuildRequires:	rpm-perlprov >= 3.0.3-16
 BuildRequires:	rpmbuild(macros) >= 1.176
@@ -364,6 +365,20 @@
 %description tkmib -l pl
 Przeglądarka MIB-ów w Tk.
 
+%package -n python-netsnmp
+Summary:	Python netsnmp extension module
+Summary(pl):	Moduł rozszerzenia netsnmp dla Pythona
+Group:		Libraries/Python
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description -n python-netsnmp
+The 'netsnmp' Python extension module provides a full featured,
+tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
+
+%description -n python-netsnmp -l pl
+Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
+SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
+
 %prep
 %setup -q -a7
 %patch0 -p1
@@ -376,6 +391,7 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 %{__libtoolize}
@@ -554,6 +570,8 @@
 %{_includedir}/net-snmp
 %{_datadir}/snmp/mib2c*
 %{_mandir}/man1/mib2c.1*
+%{_mandir}/man1/mib2c-update.1*
+%{_mandir}/man1/net-snmp-config.1*
 %{_mandir}/man3/[!NS]*
 %{_mandir}/man5/mib2c.conf.5*
 
@@ -606,7 +624,7 @@
 %attr(755,root,root) %{_bindir}/snmpusm
 %attr(755,root,root) %{_bindir}/snmpvacm
 %attr(755,root,root) %{_bindir}/snmpwalk
-
+%{_mandir}/man1/encode_keychange.1*
 %{_mandir}/man1/snmpbulkget.1*
 %{_mandir}/man1/snmpbulkwalk.1*
 %{_mandir}/man1/snmpcmd.1*
@@ -657,6 +675,8 @@
 %attr(755,root,root) %{_bindir}/fixproc
 %attr(755,root,root) %{_bindir}/snmpcheck
 %attr(755,root,root) %{_bindir}/traptoemail
+%{_mandir}/man1/fixproc.1*
+%{_mandir}/man1/traptoemail.1*
 
 %files snmpconf
 %defattr(644,root,root,755)
@@ -667,6 +687,14 @@
 %files tkmib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/tkmib
+%{_mandir}/man1/tkmib.1*
+
+%files -n python-netsnmp
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/netsnmp
+%attr(755,root,root) %{py_sitedir}/netsnmp/*.so
+%{py_sitedir}/netsnmp/*.py[co]
+%{py_sitedir}/netsnmp_python-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -674,6 +702,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2006/12/02 20:57:37  qboosh
+- added python patch, updated files (added python-netsnmp package); builds now
+
 Revision 1.82  2006/12/02 17:02:59  qboosh
 - perl installs, now it fails on python
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/net-snmp.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list