perl-NetPacket-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: perl-NetPacket
  2. Version: 1.5.0
  3. Release: 1%{?_dist_release}
  4. Summary: Assemble/disassemble network packets at the protocol level
  5. License: Artistic 2.0
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/NetPacket/
  8. Source0: http://www.cpan.org/authors/id/Y/YA/YANICK/NetPacket-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(File::Spec)
  12. BuildRequires: perl(IO::Handle)
  13. BuildRequires: perl(IPC::Open3)
  14. BuildRequires: perl(Module::Build)
  15. BuildRequires: perl(Test::More) >= 0.88
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: shaolin
  20. %description
  21. NetPacket provides a base class for a cluster of modules related to
  22. decoding and encoding of network protocols. Each NetPacket descendant
  23. module knows how to encode and decode packets for the network protocol it
  24. implements. Consult the documentation for the module in question for protocol-
  25. specific implementation.
  26. %prep
  27. %setup -q -n NetPacket-%{version}
  28. %build
  29. %{__perl} Build.PL installdirs=vendor
  30. ./Build
  31. %install
  32. rm -rf %{buildroot}
  33. ./Build install destdir=%{buildroot} create_packlist=0
  34. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} %{buildroot}/*
  36. %check
  37. ./Build test
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes LICENSE README
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.5.0-1
  47. - updated to 1.5.0
  48. - built with perl 5.16.3
  49. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.1-1
  50. - initial build for Vine Linux
  51. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  53. * Thu Nov 24 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3.1-1
  54. - Update to 1.3.1.
  55. * Mon Nov 14 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3.0-1
  56. - Update to 1.3.0.
  57. - Rebased patch0.
  58. * Sat Jul 30 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2.0-1
  59. - Update to 1.2.0.
  60. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.1-2
  61. - Perl mass rebuild
  62. * Thu Feb 10 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1.1-1
  63. - Update to 1.1.1.
  64. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Thu Jan 20 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1.0-1
  67. - Update to 1.1.0.
  68. * Fri Dec 24 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0.1-1
  69. - Update to 1.0.1.
  70. - Disable test t/000-report-versions.t and downgrade build requirements
  71. (NetPacket-1.0.1-Build.PL-downgrade-modules-requirements.patch) in order
  72. to support EPEL >= 5 and Fedora >= 12.
  73. * Mon Mar 29 2010 Jan Klepek 0.42.0-1
  74. - Changed license to Artistic 2.0 and updated version
  75. * Mon Mar 15 2010 Jan Klepek 0.41.1-1
  76. - Specfile autogenerated by cpanspec 1.78.