cee56b
Name:           perl-SNMP_Session
cee56b
Version:        1.13
cee56b
Release:        28%{?dist}
cee56b
Summary:        SNMP support for Perl 5
cee56b
cee56b
License:        Artistic 2.0
cee56b
URL:            http://code.google.com/p/snmp-session/
cee56b
Source0:        http://snmp-session.googlecode.com/files/SNMP_Session-%{version}.tar.gz
cee56b
BuildArch:      noarch
cee56b
BuildRequires: make
cee56b
BuildRequires:  perl-generators
cee56b
BuildRequires:  perl(ExtUtils::MakeMaker)
cee56b
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cee56b
cee56b
%description
cee56b
Pure Perl SNMP v1 and SNMP v2 support for Perl 5.
cee56b
cee56b
The SNMP operations currently supported are "get", "get-next", "get-bulk"
cee56b
and "set", as well as trap generation and reception. 
cee56b
cee56b
cee56b
%prep
cee56b
%setup -q -n SNMP_Session-%{version}
cee56b
%{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' test/*
cee56b
chmod -c 644 test/*
cee56b
cee56b
cee56b
%build
cee56b
%{__perl} Makefile.PL INSTALLDIRS=vendor
cee56b
make %{?_smp_mflags}
cee56b
cee56b
cee56b
%install
cee56b
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
cee56b
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
cee56b
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
cee56b
chmod -R u+w $RPM_BUILD_ROOT/*
cee56b
cee56b
cee56b
%check
cee56b
make test
cee56b
cee56b
cee56b
%files
cee56b
%doc Artistic README README.SNMP_util index.html test/
cee56b
%{perl_vendorlib}/*
cee56b
cee56b
cee56b
%changelog
cee56b
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.13-28
cee56b
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
cee56b
  Related: rhbz#1991688
cee56b
cee56b
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.13-27
cee56b
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
cee56b
cee56b
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-26
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cee56b
cee56b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-25
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cee56b
cee56b
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-24
cee56b
- Perl 5.32 rebuild
cee56b
cee56b
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-23
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cee56b
cee56b
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-22
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cee56b
cee56b
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-21
cee56b
- Perl 5.30 rebuild
cee56b
cee56b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-20
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cee56b
cee56b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-19
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cee56b
cee56b
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-18
cee56b
- Perl 5.28 rebuild
cee56b
cee56b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-17
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cee56b
cee56b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-16
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cee56b
cee56b
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-15
cee56b
- Perl 5.26 rebuild
cee56b
cee56b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-14
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cee56b
cee56b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-13
cee56b
- Perl 5.24 rebuild
cee56b
cee56b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-12
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cee56b
cee56b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-11
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cee56b
cee56b
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-10
cee56b
- Perl 5.22 rebuild
cee56b
cee56b
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-9
cee56b
- Perl 5.20 rebuild
cee56b
cee56b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cee56b
cee56b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-7
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cee56b
cee56b
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.13-6
cee56b
- Perl 5.18 rebuild
cee56b
cee56b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-5
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cee56b
cee56b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cee56b
cee56b
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.13-3
cee56b
- Perl 5.16 rebuild
cee56b
cee56b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-2
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cee56b
cee56b
* Sun Oct  2 2011 Tom Callaway <spot@fedoraproject.org> - 1.13-1
cee56b
- update to 1.13
cee56b
cee56b
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.12-8
cee56b
- Perl mass rebuild
cee56b
cee56b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cee56b
cee56b
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12-6
cee56b
- 661697 rebuild for fixing problems with vendorach/lib
cee56b
cee56b
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12-5
cee56b
- Mass rebuild with perl-5.12.0
cee56b
cee56b
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.12-4
cee56b
- rebuild against perl 5.10.1
cee56b
cee56b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cee56b
cee56b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
cee56b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cee56b
cee56b
* Tue Apr 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-1
cee56b
- update to 1.12 (license change to Artistic 2.0)
cee56b
cee56b
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.08-4.1
cee56b
- Rebuild for new perl
cee56b
cee56b
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.08-3.1
cee56b
- add BR: perl(ExtUtils::MakeMaker)
cee56b
cee56b
* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-3
cee56b
- Rebuild for FC6.
cee56b
cee56b
* Thu Mar  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-2
cee56b
- Rebuild for FC5 (perl 5.8.8).
cee56b
cee56b
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-1
cee56b
- Update to 1.08.
cee56b
cee56b
* Tue Sep 13 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-2
cee56b
- Removed superfluous perl BR.
cee56b
cee56b
* Wed Aug 10 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-1
cee56b
- Update to Fedora Extras template.
cee56b
cee56b
* Wed Nov 24 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-0.fdr.1
cee56b
- Update to 1.07.
cee56b
cee56b
* Sun Oct  3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1
cee56b
- Update to 1.06.
cee56b
cee56b
* Wed Aug 25 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.2
cee56b
- The homepage changed placed in 2004-08-23.
cee56b
- The author repackaged the files using the same tar.gz version (1.05).
cee56b
cee56b
* Wed Jul 21 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
cee56b
- Update to 1.05.
cee56b
cee56b
* Tue May 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.03-0.fdr.1
cee56b
- First build.