89bf3c
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
389590
389590
Name:           pysnmp
89bf3c
Version:        4.1.11
89bf3c
Release:        1.a%{?dist}
389590
Summary:        SNMP engine written in Python
389590
389590
Group:          Development/Libraries
389590
License:        BSD
389590
URL:            http://pysnmp.sourceforge.net/
89bf3c
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}a.tar.gz
389590
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
389590
BuildArch:      noarch
389590
89bf3c
BuildRequires:  python-devel
89bf3c
BuildRequires:  python-setuptools
389590
389590
Requires:       net-snmp
389590
389590
%description
389590
This is a Python implementation of SNMP v.1/v.2c engine. It's
389590
general functionality is to assemble/disassemble SNMP messages
389590
from/into given SNMP Object IDs along with associated values.
389590
PySNMP also provides a few transport methods specific to TCP/IP
389590
networking.
389590
389590
389590
%prep
89bf3c
%setup -q -n %{name}-%{version}a
89bf3c
389590
389590
%build
89bf3c
%{__python} setup.py build
389590
389590
389590
%install
389590
rm -rf %{buildroot}
89bf3c
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
389590
389590
389590
%clean
389590
rm -rf %{buildroot}
389590
389590
389590
%files
389590
%defattr(-,root,root,-)
89bf3c
%doc CHANGES LICENSE README THANKS TODO examples/ docs/
89bf3c
%{_bindir}/*%{name}*
389590
%{python_sitelib}/%{name}/
389590
%{python_sitelib}/%{name}*.egg-info
389590
389590
389590
%changelog
89bf3c
* Tue Sep 29 2009 Fabian Affolter <fabian@bernewireless.net> - 4.1.11-1.a
89bf3c
- Removed shebang and permission fixing
89bf3c
- Added new doc files
89bf3c
- Added scripts to files section
89bf3c
- Updated to new upstream version 
89bf3c
8fa994
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.9-4
8fa994
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8fa994
733b3c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.9-3
733b3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
733b3c
389590
* Wed Jan 28 2008 Fabian Affolter <fabian@bernewireless.net> - 2.0.9-2
389590
- Changed license to BSD (#478603)
389590
- Removed duplicated content, removed examples subpackage
389590
389590
* Thu Jan 01 2008 Fabian Affolter <fabian@bernewireless.net> - 2.0.9-1
389590
- Initial spec for Fedora