2006-05-18 09:05:11 +00:00
|
|
|
Name: perl-Net-SNMP
|
2010-11-17 21:36:18 +00:00
|
|
|
Version: 6.0.1
|
2014-08-27 21:48:18 +00:00
|
|
|
Release: 11%{?dist}
|
2006-05-18 09:05:11 +00:00
|
|
|
Summary: Object oriented interface to SNMP
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2007-10-17 01:58:30 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-05-18 09:05:11 +00:00
|
|
|
URL: http://search.cpan.org/dist/Net-SNMP/
|
2010-11-17 21:36:18 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/Net-SNMP-v%{version}.tar.gz
|
2006-05-18 09:05:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Crypt::DES)
|
|
|
|
BuildRequires: perl(Digest::HMAC)
|
|
|
|
BuildRequires: perl(Digest::SHA1)
|
2007-10-17 01:58:30 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2006-05-18 09:05:11 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
#Requires: perl(Crypt::Rijndael)
|
2010-11-17 21:36:18 +00:00
|
|
|
# This is autodetected.
|
2006-05-18 09:05:11 +00:00
|
|
|
#Requires: perl(Socket6)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Net::SNMP module implements an object oriented interface to the
|
|
|
|
Simple Network Management Protocol. Perl applications can use the
|
|
|
|
module to retrieve or update information on a remote host using the
|
|
|
|
SNMP protocol. The module supports SNMP version-1, SNMP version-2c
|
|
|
|
(Community-Based SNMPv2), and SNMP version-3. The Net::SNMP module
|
|
|
|
assumes that the user has a basic understanding of the Simple Network
|
|
|
|
Management Protocol and related network management concepts.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-11-17 21:36:18 +00:00
|
|
|
%setup -q -n Net-SNMP-v%{version}
|
2006-05-18 09:05:11 +00:00
|
|
|
%{__perl} -pi -e 's|^#!\s+/usr/local/bin/perl|#!%{__perl}|' examples/*.pl
|
|
|
|
chmod -c a-x examples/*.pl
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README examples/
|
|
|
|
%{_bindir}/*
|
|
|
|
%{perl_vendorlib}/Net/
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-08-27 21:48:18 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.0.1-11
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 08:07:00 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 23:56:15 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-21 02:03:44 +00:00
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 6.0.1-8
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 14:07:58 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 17:45:45 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-12 11:19:08 +00:00
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.0.1-5
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 16:24:50 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-20 16:52:22 +00:00
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.0.1-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-09 04:40:03 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-17 21:36:18 +00:00
|
|
|
* Wed Nov 17 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 6.0.1-1
|
|
|
|
- update to 6.0.1, which removed all occurrences of the "locked" attribute,
|
|
|
|
deprecated in perl 5.12.0
|
|
|
|
- okay to use Socket6 now.
|
|
|
|
|
2010-05-04 11:49:42 +00:00
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 5.2.0-6
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 18:50:03 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 5.2.0-5
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 13:45:52 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 23:23:21 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-03-06 18:03:04 +00:00
|
|
|
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.2.0-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-10-17 01:58:30 +00:00
|
|
|
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 5.2.0-1.1
|
|
|
|
- correct license tag
|
|
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
|
2006-05-18 09:05:11 +00:00
|
|
|
* Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.2.0-1
|
|
|
|
- First build.
|