Name: perl-SNMP-Simple Version: 0.02 Release: 1%{?dist} Summary: Shortcuts for SNMP License: GPL+ or Artistic URL: http://search.cpan.org/~ian/SNMP-Simple-0.02/lib/SNMP/Simple.pm Source0: http://search.cpan.org/CPAN/authors/id/I/IA/IAN/SNMP-Simple-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(SNMP) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module provides shortcuts when performing repetitive information-retrieval tasks with SNMP. %prep %setup -q -n SNMP-Simple-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README examples %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 13 2012 Yanko Kaneti 0.02-1 - Initial attempt. Specfile mostly autogenerated by rpmdev-newspec