---- ./lib/Net/SNMP/Security/USM.pm~ 2003-09-11 21:10:19.000000000 +0200
-+++ ./lib/Net/SNMP/Security/USM.pm 2004-06-14 09:39:51.442301024 +0200
-@@ -33,7 +33,7 @@
+--- Net-SNMP-v6.0.1/lib/Net/SNMP/Security/USM.pm~ 2010-12-12 14:00:52.000000000 +0200
++++ Net-SNMP-v6.0.1/lib/Net/SNMP/Security/USM.pm 2010-12-12 14:00:55.553134379 +0200
+@@ -30,7 +30,7 @@
## Version of the Net::SNMP::Security::USM module
--our $VERSION = v3.0.1;
-+our $VERSION = '3.0.1';
+-our $VERSION = v4.0.1;
++our $VERSION = '4.0.1';
## Handle importing/exporting of symbols
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Net
%define pnam SNMP
+%include /usr/lib/rpm/macros.perl
Summary: Net::SNMP - object oriented interface to SNMP
Summary(pl.UTF-8): Net::SNMP - zorientowany obiektowo interfejs do SNMP
Name: perl-Net-SNMP
-Version: 5.2.0
-Release: 2
+Version: 6.0.1
+Release: 1
# same as perl
License: GPL or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 0e717723f843ab22a93248833f3ebff7
+Source0: http://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5: 6137f04f9942d703f66179f890e3d096
Patch0: %{name}-kill_vstring.patch
+URL: http://search.cpan.org/dist/Net-SNMP/
BuildRequires: perl-Crypt-DES >= 2.0.3
BuildRequires: perl-Digest-HMAC
BuildRequires: perl-Digest-SHA1
sieciowego.
%prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p0
+%setup -q -n %{pdir}-%{pnam}-v%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README Changes
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/snmpkey
%{perl_vendorlib}/Net/*.pm
%{perl_vendorlib}/Net/SNMP
-%{_mandir}/man?/*
+%{_mandir}/man1/snmpkey.1p*
+%{_mandir}/man3/Net::SNMP.3pm*
%{_examplesdir}/%{name}-%{version}