Name: perl-Net-Telnet Summary: Net-Telnet Perl module Version: 3.03 Release: 19%{?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 * Fri Dec 27 2013 Daniel Mach - 3.03-19 - Mass rebuild 2013-12-27 * 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