perl-Net-Telnet-vl.spec 3.8 KB

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