rpms/pynetsnmp/F-13 import.log, NONE, 1.1 pynetsnmp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nathaniel McCallum npmccallum at fedoraproject.org
Sat Jul 3 14:42:33 UTC 2010


Author: npmccallum

Update of /cvs/pkgs/rpms/pynetsnmp/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31243/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pynetsnmp.spec 
Log Message:
Import pynetsnmp to F-13



--- NEW FILE import.log ---
pynetsnmp-0_28_14-3_fc13:F-13:pynetsnmp-0.28.14-3.fc13.src.rpm:1278168112


--- NEW FILE pynetsnmp.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}

Name:           pynetsnmp
Version:        0.28.14
Release:        3%{?dist}
Summary:        Python ctypes bindings for NET-SNMP with Twisted integration

Group:          Development/Languages
License:        GPLv2
URL:            http://www.zenoss.com
Source0:        http://dev.zenoss.com/trac/export/20469/trunk/inst/externallibs/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  net-snmp-devel

Requires:       net-snmp-libs

%description
Python ctypes bindings for NET-SNMP with Twisted integration
pynetsnmp is a set of Python ctypes binding for NET-SNMP, an
implementation of the Simple Network Management Protocol (SNMP).

pynetsnmp is a replacement for the various Python bindings provided by
PySNMP* implementations.  It also implements a glue with the Python
Twisted Matrix networking framework which replaces the TwistedSNMP
implementation.

%package        twisted
Summary:        Twisted integration for %{name}
Group:          Development/Languages
Requires:	%{name} = %{version}-%{release}
Requires:       python-twisted-core

%description    twisted
The %{name}-twisted package contains the twisted integration for %{name}

%prep
%setup -q

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt
%dir %{python_sitelib}/pynetsnmp
%{python_sitelib}/pynetsnmp-*.egg-info
%{python_sitelib}/pynetsnmp/CONSTANTS.py*
%{python_sitelib}/pynetsnmp/SnmpSession.py*
%{python_sitelib}/pynetsnmp/__init__.py*
%{python_sitelib}/pynetsnmp/genconstants.py*
%{python_sitelib}/pynetsnmp/netsnmp.py*
%{python_sitelib}/pynetsnmp/version.py*

%files twisted
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt
%{python_sitelib}/pynetsnmp/tableretriever.py*
%{python_sitelib}/pynetsnmp/twistedsnmp.py*


%changelog
* Mon Jun 14 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.28.14-3
- Fixed directory ownership
- Included COPYRIGHT.txt and LICENSE.txt in subpackage

* Mon Jun 14 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.28.14-2
- Added twisted subpackage
- Added explicit dep on net-snmp-libs

* Sat Jun 12 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.28.14-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pynetsnmp/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Jun 2010 02:39:05 -0000	1.1
+++ .cvsignore	3 Jul 2010 14:42:33 -0000	1.2
@@ -0,0 +1 @@
+pynetsnmp-0.28.14.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pynetsnmp/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Jun 2010 02:39:05 -0000	1.1
+++ sources	3 Jul 2010 14:42:33 -0000	1.2
@@ -0,0 +1 @@
+1a0810ba2b1b5679155dac02a0e0e816  pynetsnmp-0.28.14.tar.gz



More information about the scm-commits mailing list