Name: perl-Net-Telnet-Cisco Version: 1.10 Release: 3%{?dist} Summary: Interact with a Cisco router License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-Telnet-Cisco/ Source0: http://www.cpan.org/modules/by-module/Net/Net-Telnet-Cisco-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides additional functionality to Net::Telnet for dealing with Cisco routers. %prep %setup -q -n Net-Telnet-Cisco-%{version} chmod 0644 Changes Cisco.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/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Sep 1 2010 Colin Coe <colin.coe@gmail.com> 1.10-3 - Correct permissions * Thu Aug 26 2010 Colin Coe <colin.coe@gmail.com> 1.10-2 - Silence rpmlint warning * Wed Aug 25 2010 Colin Coe <colin.coe@gmail.com> 1.10-1 - Don't 'make test' as router name, username and password is required. - Specfile autogenerated by cpanspec 1.77.