source: projects/specs/trunk/p/perl-NetPacket/perl-NetPacket-vl.spec @ 5792

Revision 5792, 3.0 KB checked in by shaolin, 12 years ago (diff)

new packages:

  • perl-IPTables-ChainMgr?
  • perl-IPTables-Parse
  • perl-NetPacket?
  • perl-Net-Telnet
  • perl-Regexp-Common
  • perl-Text-CSV
  • perl-Try-Tiny
Line 
1Name:           perl-NetPacket
2Version:        1.3.1
3Release:        1%{?_dist_release}
4Summary:        Assemble/disassemble network packets at the protocol level
5License:        Artistic 2.0
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/NetPacket/
8Source0:        http://www.cpan.org/authors/id/Y/YA/YANICK/NetPacket-%{version}.tar.gz
9Patch0:         NetPacket-1.3.0-Build.PL-downgrade-modules-requirements.patch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11BuildArch:      noarch
12BuildRequires:  perl(Module::Build)
13BuildRequires:  perl(Test::More)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18Packager:       shaolin
19
20%description
21NetPacket provides a base class for a cluster of modules related to
22decoding and encoding of network protocols. Each NetPacket descendant
23module knows how to encode and decode packets for the network protocol it
24implements. Consult the documentation for the module in question for protocol-
25specific implementation.
26
27%prep
28%setup -q -n NetPacket-%{version}
29%patch0 -p1
30mv 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
37rm -rf %{buildroot}
38
39./Build install destdir=%{buildroot} create_packlist=0
40find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
41
42%{_fixperms} %{buildroot}/*
43
44%check
45./Build test
46
47%clean
48rm -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.
Note: See TracBrowser for help on using the repository browser.