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