From 9ce4c4f28af5cc919317667cd53da61e2f3bd7d4 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jun 10 2013 05:27:16 +0000 Subject: import perl-Net-Telnet-3.03-18.el7.src.rpm --- diff --git a/.perl-Net-Telnet.metadata b/.perl-Net-Telnet.metadata new file mode 100644 index 0000000..d17257b --- /dev/null +++ b/.perl-Net-Telnet.metadata @@ -0,0 +1 @@ +dcab09df5872ed995918bcf03797aac86c78cd02 SOURCES/Net-Telnet-3.03.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Net-Telnet.spec b/SPECS/perl-Net-Telnet.spec new file mode 100644 index 0000000..72f7de4 --- /dev/null +++ b/SPECS/perl-Net-Telnet.spec @@ -0,0 +1,123 @@ +Name: perl-Net-Telnet +Summary: Net-Telnet Perl module +Version: 3.03 +Release: 18%{?alphatag:.%{alphatag}}%{?dist} +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Net-Telnet/ +Source0: ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-%{version}.tar.gz + +# runtime depends +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Exporter) +Requires: perl(IO::Socket::INET) +Requires: perl(Socket) + +# build +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) + +%description +Net::Telnet allows you to make client connections to a TCP port and do +network I/O, especially to a port using the TELNET protocol. Simple I/O +methods such as print, get, and getline are provided. More sophisticated +interactive features are provided because connecting to a TELNET port +ultimately means communicating with a program designed for human interaction. +These interactive features include the ability to specify a time-out and to +wait for patterns to appear in the input stream, such as the prompt from a +shell. + +%prep +%setup -q -n Net-Telnet-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make + +%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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 3.03-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 3.03-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 3.03-16 +- Perl 5.16 rebuild +- Fix dependencies definition + +* Fri Jan 13 2012 Fedora Release Engineering - 3.03-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 3.03-14 +- Perl mass rebuild + +* Thu Jun 09 2011 Marcela Mašláňová - 3.03-13 +- Perl 5.14 mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 3.03-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 21 2010 Marcela Maslanova - 3.03-11 +- 661697 rebuild for fixing problems with vendorach/lib + +* Tue May 04 2010 Marcela Maslanova - 3.03-10 +- Mass rebuild with perl-5.12.0 + +* Sun Jul 26 2009 Fedora Release Engineering - 3.03-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 3.03-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri May 23 2008 Fabio M. Di Nitto - 3.03-7 +- Fix bug 226273: + * Add dist tag. + * Fix rpmlint errors for %%description. + * Remove MANIFEST from package. +- General clean up of spec file. + +* Thu Mar 06 2008 Tom "spot" Callaway - 3.03-6.1 +Rebuild for new perl + +* Tue Oct 16 2007 Tom "spot" Callaway - 3.03-5.1 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + +* Mon Jun 30 2006 Jason Vas Dias - 3.03-5 +- correct License: tag + +* Wed Feb 15 2006 Jason Vas Dias - 3.03-4.3 +- fix bug 180591: correct URL: tag + +* Fri Feb 03 2006 Jason Vas Dias - 3.03-4.2 +- rebuild for new perl-5.8.8 +- modify .spec file to conform to Fedora spectemplate-perl.spec + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcc + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcj + +* Fri Feb 13 2004 Jonathan Brassow +- initial import