3895902
Name:           pysnmp
Fabian Affolter 146cd7a
Version:        4.1.14
Fabian Affolter 146cd7a
Release:        1.a%{?dist}
3895902
Summary:        SNMP engine written in Python
3895902
3895902
Group:          Development/Libraries
3895902
License:        BSD
3895902
URL:            http://pysnmp.sourceforge.net/
bd516fb
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}a.tar.gz
3895902
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3895902
BuildArch:      noarch
3895902
bd516fb
BuildRequires:  python-devel
bd516fb
BuildRequires:  python-setuptools
3895902
3895902
Requires:       net-snmp
3895902
3895902
%description
3895902
This is a Python implementation of SNMP v.1/v.2c engine. It's
3895902
general functionality is to assemble/disassemble SNMP messages
3895902
from/into given SNMP Object IDs along with associated values.
3895902
PySNMP also provides a few transport methods specific to TCP/IP
3895902
networking.
3895902
3895902
3895902
%prep
bd516fb
%setup -q -n %{name}-%{version}a
3895902
bd516fb
3895902
%build
bd516fb
%{__python} setup.py build
3895902
3895902
3895902
%install
3895902
rm -rf %{buildroot}
bd516fb
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
3895902
3895902
3895902
%clean
3895902
rm -rf %{buildroot}
3895902
3895902
3895902
%files
3895902
%defattr(-,root,root,-)
bd516fb
%doc CHANGES LICENSE README THANKS TODO examples/ docs/
c600381
%{_bindir}/*%{name}*
3895902
%{python_sitelib}/%{name}/
3895902
%{python_sitelib}/%{name}*.egg-info
3895902
3895902
3895902
%changelog
Fabian Affolter 146cd7a
* Thu Nov 01 2010 Fabian Affolter <fabian@bernewireless.net> - 0.0.9-1.a
3895902
- Initial spec for Fedora