Fabian Affolter b00a49
%global sum An SNMP engine written in Python
Fabian Affolter b00a49
389590
Name:           pysnmp
Fabian Affolter b00a49
Version:        4.3.1
Fabian Affolter b00a49
Release:        1%{?dist}
Fabian Affolter b00a49
Summary:        %{sum}
389590
389590
License:        BSD
389590
URL:            http://pysnmp.sourceforge.net/
25c396
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
389590
BuildArch:      noarch
389590
44b2dd
BuildRequires:  python2-devel
Fabian Affolter b00a49
BuildRequires:  python3-devel
bd516f
BuildRequires:  python-setuptools
389590
389590
Requires:       net-snmp
44b2dd
Requires:       python-pyasn1
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
Fabian Affolter b00a49
%package -n python2-%{name}
Fabian Affolter b00a49
Summary:        %{sum}
Fabian Affolter b00a49
Requires:       python2-pyasn1
Fabian Affolter b00a49
%{?python_provide:%python_provide python2-%{name}}
Fabian Affolter b00a49
Fabian Affolter b00a49
%description -n python2-%{name}
Fabian Affolter b00a49
This is a Python implementation of SNMP v.1/v.2c engine. It's
Fabian Affolter b00a49
general functionality is to assemble/disassemble SNMP messages
Fabian Affolter b00a49
from/into given SNMP Object IDs along with associated values.
Fabian Affolter b00a49
PySNMP also provides a few transport methods specific to TCP/IP
Fabian Affolter b00a49
networking.
Fabian Affolter b00a49
Fabian Affolter b00a49
%package -n python3-%{name}
Fabian Affolter b00a49
Summary:        %{sum}
Fabian Affolter b00a49
Requires:       python3-pyasn1
Fabian Affolter b00a49
%{?python_provide:%python_provide python3-%{name}}
Fabian Affolter b00a49
Fabian Affolter b00a49
%description -n python3-%{name}
Fabian Affolter b00a49
This is a Python implementation of SNMP v.1/v.2c engine. It's
Fabian Affolter b00a49
general functionality is to assemble/disassemble SNMP messages
Fabian Affolter b00a49
from/into given SNMP Object IDs along with associated values.
Fabian Affolter b00a49
PySNMP also provides a few transport methods specific to TCP/IP
Fabian Affolter b00a49
networking.
Fabian Affolter b00a49
389590
%prep
Fabian Affolter b00a49
%autosetup -n %{name}-%{version}
389590
389590
%build
Fabian Affolter b00a49
%py2_build
Fabian Affolter b00a49
%py3_build
389590
389590
%install
Fabian Affolter b00a49
%py2_install
Fabian Affolter b00a49
%py3_install
389590
Fabian Affolter b00a49
%files -n python2-%{name}
Fabian Affolter 6d17b5
%doc CHANGES.txt README.txt THANKS.txt TODO.txt examples/ docs/
Fabian Affolter 537018
%license LICENSE.txt
28ce73
%{python2_sitelib}/%{name}/
28ce73
%{python2_sitelib}/%{name}*.egg-info
389590
Fabian Affolter b00a49
%files -n python3-%{name}
Fabian Affolter 6d17b5
%doc CHANGES.txt README.txt THANKS.txt TODO.txt examples/ docs/
Fabian Affolter 537018
%license LICENSE.txt
Fabian Affolter b00a49
%{python3_sitelib}/%{name}/
Fabian Affolter b00a49
%{python3_sitelib}/%{name}*.egg-info
Fabian Affolter b00a49
389590
%changelog
Fabian Affolter b00a49
* Thu Jan 28 2016 Fabian Affolter <mail@fabian-affolter.ch> - 4.3.1-1
Fabian Affolter b00a49
- Add py3 support (rhbz#1282245)
Fabian Affolter b00a49
- Updated to new upstream version 4.3.1 (rhbz#1145004)
Fabian Affolter b00a49
87e182
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.5-3
87e182
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
87e182
512d53
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.5-2
512d53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
512d53
28ce73
* Fri Oct 18 2013 Fabian Affolter <mail@fabian-affolter.ch> - 4.2.5-1
28ce73
- Updated to new upstream version 4.2.5
28ce73
fde44f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-2
fde44f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fde44f
ec9df9
* Tue Feb 19 2013 Fabian Affolter <mail@fabian-affolter.ch> - 4.2.4-1
ec9df9
- Updated to new upstream version 4.2.4
ec9df9
218bd3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.3-2
218bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
218bd3
25c396
* Sat Nov 10 2012 Fabian Affolter <mail@fabian-affolter.ch> - 4.2.3-1
25c396
- Updated to new upstream version 4.2.3
25c396
da4c4f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-1.rc1.2
da4c4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
da4c4f
6e1986
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-1.rc1.1
6e1986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6e1986
44b2dd
* Sat Nov 26 2011 Fabian Affolter <mail@fabian-affolter.ch> - 4.2.2-1.rc1
44b2dd
- Updated to new upstream version 4.2.2rc1
44b2dd
- Updated BR (#727395)
44b2dd
f4ef5e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.14-2.a
f4ef5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f4ef5e
44b2dd
* Tue Nov 23 2010 Fabian Affolter <mail@fabian-affolter.ch> - 4.1.14-1.a
Fabian Affolter 3031c9
- Updated to new upstream version 4.1.14.a
Fabian Affolter 3031c9
f99cad
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 4.1.12-2.a
f99cad
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
f99cad
44b2dd
* Fri Dec 18 2009 Fabian Affolter <mail@fabian-affolter.ch> - 4.1.12-1.a
92068d
- Updated to new upstream version 4.1.12.a
92068d
44b2dd
* Tue Sep 29 2009 Fabian Affolter <mail@fabian-affolter.ch> - 4.1.11-1.a
c60038
- Removed shebang and permission fixing
bd516f
- Added new doc files
c60038
- Added scripts to files section
bd516f
- Updated to new upstream version 
bd516f
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
28ce73
* Mon Jan 28 2008 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.9-2
389590
- Changed license to BSD (#478603)
389590
- Removed duplicated content, removed examples subpackage
389590
28ce73
* Tue Jan 01 2008 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.9-1
389590
- Initial spec for Fedora