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