1 | Name: perl-IPTables-Parse |
---|
2 | Version: 1.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Perl extension for parsing iptables firewall rulesets |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://www.cipherdyne.org/modules/ |
---|
8 | Source0: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2 |
---|
9 | Source1: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2.asc |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
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 | The IPTables::Parse package provides an interface to parse iptables rules |
---|
22 | on Linux systems through the direct execution of iptables commands, or from |
---|
23 | parsing a file that contains an iptables policy listing. You can get the |
---|
24 | current policy applied to a table/chain, look for a specific user-defined |
---|
25 | chain, check for a default DROP policy, or determing whether or not logging |
---|
26 | rules exist. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n IPTables-Parse-%{version} |
---|
30 | |
---|
31 | %build |
---|
32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf %{buildroot} |
---|
37 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
38 | |
---|
39 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
40 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
41 | |
---|
42 | %{_fixperms} %{buildroot}/* |
---|
43 | |
---|
44 | %check |
---|
45 | make test |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf %{buildroot} |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root,-) |
---|
52 | %doc Changes README |
---|
53 | %{perl_vendorlib}/* |
---|
54 | %{_mandir}/man3/* |
---|
55 | |
---|
56 | %changelog |
---|
57 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1-1 |
---|
58 | - updated to 1.1 |
---|
59 | - built with perl 5.16.3 |
---|
60 | |
---|
61 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9-1 |
---|
62 | - initial build for Vine Linux |
---|
63 | |
---|
64 | * Mon Feb 27 2012 Miloslav Trmač <mitr@redhat.com> - 0.9-1 |
---|
65 | - Update to IPTables-Parse-0.9 |
---|
66 | |
---|
67 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-10 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
69 | |
---|
70 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.7-9 |
---|
71 | - Perl mass rebuild |
---|
72 | |
---|
73 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-8 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
75 | |
---|
76 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7-7 |
---|
77 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
78 | |
---|
79 | * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> |
---|
80 | - Mass rebuild with perl-5.12.0 |
---|
81 | |
---|
82 | - Drop no longer required references to BuildRoot |
---|
83 | |
---|
84 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.7-5 |
---|
85 | - rebuild against perl 5.10.1 |
---|
86 | |
---|
87 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4 |
---|
88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
89 | |
---|
90 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3 |
---|
91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
92 | |
---|
93 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2 |
---|
94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
95 | |
---|
96 | * Tue Oct 21 2008 Miloslav Trmač <mitr@redhat.com> - 0.7-1 |
---|
97 | - Update to IPTables-Parse-0.7 |
---|
98 | |
---|
99 | * Wed Jul 30 2008 Miloslav Trmač <mitr@redhat.com> 0.6-1 |
---|
100 | - Initial package. |
---|