| 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 | |
|---|
| 16 | Vendor: Project Vine |
|---|
| 17 | Distribution: Vine Linux |
|---|
| 18 | Packager: shaolin |
|---|
| 19 | |
|---|
| 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 | |
|---|
| 27 | %prep |
|---|
| 28 | %setup -q -n NetPacket-%{version} |
|---|
| 29 | %patch0 -p1 |
|---|
| 30 | mv t/000-report-versions.t t/000-report-versions.t.disable |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | %{__perl} Build.PL installdirs=vendor |
|---|
| 34 | ./Build |
|---|
| 35 | |
|---|
| 36 | %install |
|---|
| 37 | rm -rf %{buildroot} |
|---|
| 38 | |
|---|
| 39 | ./Build install destdir=%{buildroot} create_packlist=0 |
|---|
| 40 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
|---|
| 41 | |
|---|
| 42 | %{_fixperms} %{buildroot}/* |
|---|
| 43 | |
|---|
| 44 | %check |
|---|
| 45 | ./Build test |
|---|
| 46 | |
|---|
| 47 | %clean |
|---|
| 48 | rm -rf %{buildroot} |
|---|
| 49 | |
|---|
| 50 | %files |
|---|
| 51 | %defattr(-,root,root,-) |
|---|
| 52 | %doc Changes LICENSE README |
|---|
| 53 | %{perl_vendorlib}/* |
|---|
| 54 | %{_mandir}/man3/* |
|---|
| 55 | |
|---|
| 56 | %changelog |
|---|
| 57 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.1-1 |
|---|
| 58 | - initial build for Vine Linux |
|---|
| 59 | |
|---|
| 60 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2 |
|---|
| 61 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 62 | |
|---|
| 63 | * Thu Nov 24 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3.1-1 |
|---|
| 64 | - Update to 1.3.1. |
|---|
| 65 | |
|---|
| 66 | * Mon Nov 14 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3.0-1 |
|---|
| 67 | - Update to 1.3.0. |
|---|
| 68 | - Rebased patch0. |
|---|
| 69 | |
|---|
| 70 | * Sat Jul 30 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2.0-1 |
|---|
| 71 | - Update to 1.2.0. |
|---|
| 72 | |
|---|
| 73 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.1-2 |
|---|
| 74 | - Perl mass rebuild |
|---|
| 75 | |
|---|
| 76 | * Thu Feb 10 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1.1-1 |
|---|
| 77 | - Update to 1.1.1. |
|---|
| 78 | |
|---|
| 79 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2 |
|---|
| 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 81 | |
|---|
| 82 | * Thu Jan 20 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1.0-1 |
|---|
| 83 | - Update to 1.1.0. |
|---|
| 84 | |
|---|
| 85 | * Fri Dec 24 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0.1-1 |
|---|
| 86 | - Update to 1.0.1. |
|---|
| 87 | - Disable test t/000-report-versions.t and downgrade build requirements |
|---|
| 88 | (NetPacket-1.0.1-Build.PL-downgrade-modules-requirements.patch) in order |
|---|
| 89 | to support EPEL >= 5 and Fedora >= 12. |
|---|
| 90 | |
|---|
| 91 | * Mon Mar 29 2010 Jan Klepek 0.42.0-1 |
|---|
| 92 | - Changed license to Artistic 2.0 and updated version |
|---|
| 93 | |
|---|
| 94 | * Mon Mar 15 2010 Jan Klepek 0.41.1-1 |
|---|
| 95 | - Specfile autogenerated by cpanspec 1.78. |
|---|