Group :: Development/Python
RPM: python-module-pysnmp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 3.4.3
%define release alt1
%setup_python_module pysnmp
Summary: Python SNMP Toolkit
Name: %packagename
Version: %version
Release: %release.1
URL: http://sourceforge.net/projects/pysnmp/
Source: %modulename-%version.tar.gz
License: BSD
Group: Development/Python
BuildArch: noarch
%description
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
given SNMP Object IDs along with associated values. PySNMP also provides
a few transport methods specific to TCP/IP networking.
PySNMP is written entirely in Python and is self-sufficient in terms
that it does not rely on any third party tool (it is not a wrapper!).
%prep
%setup -q -n %modulename-%version
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%clean
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES COMPATIBILITY LICENSE README
%doc docs examples
%changelog
…
Full changelog you can see here
%define release alt1
%setup_python_module pysnmp
Summary: Python SNMP Toolkit
Name: %packagename
Version: %version
Release: %release.1
URL: http://sourceforge.net/projects/pysnmp/
Source: %modulename-%version.tar.gz
License: BSD
Group: Development/Python
BuildArch: noarch
%description
This is a Python implementation of SNMP v.1/v.2c engine. Its general
functionality is to assemble/disassemble SNMP messages from/into
given SNMP Object IDs along with associated values. PySNMP also provides
a few transport methods specific to TCP/IP networking.
PySNMP is written entirely in Python and is self-sufficient in terms
that it does not rely on any third party tool (it is not a wrapper!).
%prep
%setup -q -n %modulename-%version
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%clean
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES COMPATIBILITY LICENSE README
%doc docs examples
%changelog
…
Full changelog you can see here