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