perl-NetPacket-vl.spec 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Name: perl-NetPacket
  2. Version: 1.3.1
  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. Patch0: NetPacket-1.3.0-Build.PL-downgrade-modules-requirements.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. BuildArch: noarch
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(Test::More)
  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. NetPacket provides a base class for a cluster of modules related to
  20. decoding and encoding of network protocols. Each NetPacket descendant
  21. module knows how to encode and decode packets for the network protocol it
  22. implements. Consult the documentation for the module in question for protocol-
  23. specific implementation.
  24. %prep
  25. %setup -q -n NetPacket-%{version}
  26. %patch0 -p1
  27. mv t/000-report-versions.t t/000-report-versions.t.disable
  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. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.1-1
  47. - initial build for Vine Linux
  48. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  50. * Thu Nov 24 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3.1-1
  51. - Update to 1.3.1.
  52. * Mon Nov 14 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3.0-1
  53. - Update to 1.3.0.
  54. - Rebased patch0.
  55. * Sat Jul 30 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2.0-1
  56. - Update to 1.2.0.
  57. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.1-2
  58. - Perl mass rebuild
  59. * Thu Feb 10 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1.1-1
  60. - Update to 1.1.1.
  61. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  63. * Thu Jan 20 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1.0-1
  64. - Update to 1.1.0.
  65. * Fri Dec 24 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0.1-1
  66. - Update to 1.0.1.
  67. - Disable test t/000-report-versions.t and downgrade build requirements
  68. (NetPacket-1.0.1-Build.PL-downgrade-modules-requirements.patch) in order
  69. to support EPEL >= 5 and Fedora >= 12.
  70. * Mon Mar 29 2010 Jan Klepek 0.42.0-1
  71. - Changed license to Artistic 2.0 and updated version
  72. * Mon Mar 15 2010 Jan Klepek 0.41.1-1
  73. - Specfile autogenerated by cpanspec 1.78.