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