rpms/perl-SNMP-Info/EL-5 perl-SNMP-Info.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Walter Gould (gouldwp) fedora-extras-commits at redhat.com
Tue Jan 22 22:46:28 UTC 2008


Author: gouldwp

Update of /cvs/pkgs/rpms/perl-SNMP-Info/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11212/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	perl-SNMP-Info.spec 
Log Message:



--- NEW FILE perl-SNMP-Info.spec ---
Name:           perl-SNMP-Info
Version:        1.04
Release:        3%{?dist}
Summary:        Object Oriented Perl5 Interface to Network devices and MIBs through SNMP
License:        BSD
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/SNMP-Info/
Source0:        http://www.cpan.org/authors/id/E/EM/EMILLER/SNMP-Info-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(SNMP)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
SNMP::Info gives an object oriented interface to information obtained
through SNMP.

%prep
%setup -q -n SNMP-Info-%{version}
/usr/bin/iconv -f iso8859-1 -t utf-8 README > README.conv && /bin/mv -f README.conv README
/usr/bin/iconv -f iso8859-1 -t utf-8 Info.pm > Info.pm.conv && /bin/mv -f Info.pm.conv Info.pm

%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 -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc ChangeLog COPYRIGHT DeviceMatrix.txt README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Dec 28 2007 <gouldwp at auburn.edu> 1.04-3
- Specfile autogenerated by cpanspec 1.74.
- Added missing BuildRequires lines. 
- Added iconv lines to fixed file encoding problems.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-SNMP-Info/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Jan 2008 17:07:07 -0000	1.1
+++ .cvsignore	22 Jan 2008 22:45:53 -0000	1.2
@@ -0,0 +1 @@
+SNMP-Info-1.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-SNMP-Info/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Jan 2008 17:07:07 -0000	1.1
+++ sources	22 Jan 2008 22:45:53 -0000	1.2
@@ -0,0 +1 @@
+2cf580f142b7300fc12336b83c85f5eb  SNMP-Info-1.04.tar.gz




More information about the fedora-extras-commits mailing list