[perl-Net-Telnet-Cisco/el5/master] Initial import (#627224).

Colin Coe coec at fedoraproject.org
Thu Sep 2 12:07:29 UTC 2010


commit eaf3228a39b7aa857108a19f9226866b5b8b5c43
Author: Colin Coe <colin.coe at gmail.com>
Date:   Thu Sep 2 20:07:29 2010 +0800

    Initial import (#627224).

 .gitignore                 |    1 +
 perl-Net-Telnet-Cisco.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2b7ea7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-Telnet-Cisco-1.10.tar.gz
diff --git a/perl-Net-Telnet-Cisco.spec b/perl-Net-Telnet-Cisco.spec
new file mode 100644
index 0000000..5509f0e
--- /dev/null
+++ b/perl-Net-Telnet-Cisco.spec
@@ -0,0 +1,54 @@
+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 at gmail.com> 1.10-3
+- Correct permissions
+
+* Thu Aug 26 2010 Colin Coe <colin.coe at gmail.com> 1.10-2
+- Silence rpmlint warning
+
+* Wed Aug 25 2010 Colin Coe <colin.coe at gmail.com> 1.10-1
+- Don't 'make test' as router name, username and password is required.
+- Specfile autogenerated by cpanspec 1.77.
diff --git a/sources b/sources
index e69de29..cb110be 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a25845350be369cb8354e0ddc55708f9  Net-Telnet-Cisco-1.10.tar.gz


More information about the scm-commits mailing list