source: projects/specs/trunk/p/perl-IPTables-Parse/perl-IPTables-Parse-vl.spec @ 9189

Revision 9189, 3.3 KB checked in by inagaki, 8 years ago (diff)

2014-12-24 Ryoichi INAGAKI <ryo1@…>


Line 
1Name:           perl-IPTables-Parse
2Version:        1.1
3Release:        1%{?_dist_release}
4Summary:        Perl extension for parsing iptables firewall rulesets
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://www.cipherdyne.org/modules/
8Source0:        http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2
9Source1:        http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2.asc
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18Packager:       shaolin
19
20%description
21The IPTables::Parse package provides an interface to parse iptables rules
22on Linux systems through the direct execution of iptables commands, or from
23parsing a file that contains an iptables policy listing. You can get the
24current policy applied to a table/chain, look for a specific user-defined
25chain, check for a default DROP policy, or determing whether or not logging
26rules exist.
27
28%prep
29%setup -q -n IPTables-Parse-%{version}
30
31%build
32%{__perl} Makefile.PL INSTALLDIRS=vendor
33make %{?_smp_mflags}
34
35%install
36rm -rf %{buildroot}
37make pure_install PERL_INSTALL_ROOT=%{buildroot}
38
39find %{buildroot} -type f -name .packlist -exec rm -f {} \;
40find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
41
42%{_fixperms} %{buildroot}/*
43
44%check
45make test
46
47%clean
48rm -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.
Note: See TracBrowser for help on using the repository browser.