perl-Net-Telnet-vl.spec 3.8 KB

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