%define pkg_name Net-SNMP %define pkg_version 5.2.0 %define rpm_pkg_version 5.2.0 %define rpm_pkg_release 1.n0i.7 Summary: Object oriented interface to SNMP Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DT/DTOWN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test)} %{!?_without_test:BuildRequires: perl(Crypt::DES) => 2.03} %{!?_without_test:BuildRequires: perl(Digest::HMAC) => 1.00} %{!?_without_test:BuildRequires: perl(Digest::MD5) => 2.11} %{!?_without_test:BuildRequires: perl(Digest::SHA1) => 1.02} Requires: perl(Crypt::DES) => 2.03 Requires: perl(Digest::HMAC) => 1.00 Requires: perl(Digest::MD5) => 2.11 Requires: perl(Digest::SHA1) => 1.02 %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 %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path examples/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc Changes examples/ README %changelog * Thu May 31 2007 Marius Feraru - 5.2.0-1.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 5.2.0 * Sat Jul 30 2005 Marius Feraru 5.1.0-1.n0i.6 - version 5.1.0 * Thu Mar 31 2005 Marius Feraru 0:5.0.1-2.n0i.5 - rebuild (FC4) * Sun Dec 05 2004 Marius Feraru 0:5.0.1-1.n0i.4 - version 5.0.1 - no dependencies are to be computed based on files in %%docdir * Fri May 07 2004 Marius FERARU 0:4.1.2-1.n0i.3 - rebuild (perl 5.8.4) * Thu Jan 29 2004 Marius FERARU 0:4.1.2-0.n0i.2 - rebuilt on perl 5.8.3 / Fedora 1 Devel (tobe FC2) * Mon Nov 03 2003 Marius FERARU 0:4.1.2-0.n0i.1 - version 4.1.2 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001