[5792] | 1 | Name: perl-Net-Telnet |
---|
| 2 | Summary: Net-Telnet Perl module |
---|
| 3 | Version: 3.03 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: GPL+ or Artistic |
---|
| 7 | URL: http://search.cpan.org/dist/Net-Telnet/ |
---|
| 8 | Source0: ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-%{version}.tar.gz |
---|
| 9 | |
---|
| 10 | # runtime depends |
---|
| 11 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 12 | |
---|
| 13 | # build |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | BuildArch: noarch |
---|
| 16 | BuildRequires: perl >= 0:5.00503 |
---|
| 17 | BuildRequires: perl-Digest-HMAC |
---|
| 18 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: shaolin |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Net::Telnet allows you to make client connections to a TCP port and do |
---|
| 26 | network I/O, especially to a port using the TELNET protocol. Simple I/O |
---|
| 27 | methods such as print, get, and getline are provided. More sophisticated |
---|
| 28 | interactive features are provided because connecting to a TELNET port |
---|
| 29 | ultimately means communicating with a program designed for human interaction. |
---|
| 30 | These interactive features include the ability to specify a time-out and to |
---|
| 31 | wait for patterns to appear in the input stream, such as the prompt from a |
---|
| 32 | shell. |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q -n Net-Telnet-%{version} |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
| 39 | make |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf %{buildroot} |
---|
| 43 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 44 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 45 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 46 | chmod -R u+w %{buildroot}/* |
---|
| 47 | |
---|
| 48 | %check |
---|
| 49 | make test |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc ChangeLog README |
---|
| 57 | %{perl_vendorlib}/* |
---|
| 58 | %{_mandir}/man3/*.3* |
---|
| 59 | |
---|
| 60 | %changelog |
---|
| 61 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.03-1 |
---|
| 62 | - initial build for Vine Linux |
---|
| 63 | |
---|
| 64 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.03-15 |
---|
| 65 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 66 | |
---|
| 67 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.03-14 |
---|
| 68 | - Perl mass rebuild |
---|
| 69 | |
---|
| 70 | * Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.03-13 |
---|
| 71 | - Perl 5.14 mass rebuild |
---|
| 72 | |
---|
| 73 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.03-12 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.03-11 |
---|
| 77 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 78 | |
---|
| 79 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.03-10 |
---|
| 80 | - Mass rebuild with perl-5.12.0 |
---|
| 81 | |
---|
| 82 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.03-9 |
---|
| 83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 84 | |
---|
| 85 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.03-8 |
---|
| 86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 87 | |
---|
| 88 | * Fri May 23 2008 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.03-7 |
---|
| 89 | - Fix bug 226273: |
---|
| 90 | * Add dist tag. |
---|
| 91 | * Fix rpmlint errors for %%description. |
---|
| 92 | * Remove MANIFEST from package. |
---|
| 93 | - General clean up of spec file. |
---|
| 94 | |
---|
| 95 | * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.03-6.1 |
---|
| 96 | Rebuild for new perl |
---|
| 97 | |
---|
| 98 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 3.03-5.1 |
---|
| 99 | - correct license tag |
---|
| 100 | - add BR: perl(ExtUtils::MakeMaker) |
---|
| 101 | |
---|
| 102 | * Mon Jun 30 2006 Jason Vas Dias <jvdias@redhat.com> - 3.03-5 |
---|
| 103 | - correct License: tag |
---|
| 104 | |
---|
| 105 | * Wed Feb 15 2006 Jason Vas Dias <jvdias@redhat.com> - 3.03-4.3 |
---|
| 106 | - fix bug 180591: correct URL: tag |
---|
| 107 | |
---|
| 108 | * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 3.03-4.2 |
---|
| 109 | - rebuild for new perl-5.8.8 |
---|
| 110 | - modify .spec file to conform to Fedora spectemplate-perl.spec |
---|
| 111 | |
---|
| 112 | * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 113 | - rebuilt for new gcc |
---|
| 114 | |
---|
| 115 | * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 116 | - rebuilt for new gcj |
---|
| 117 | |
---|
| 118 | * Fri Feb 13 2004 Jonathan Brassow <jbrassow@redhat.com> |
---|
| 119 | - initial import |
---|