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

Revision 5792, 3.3 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-IPTables-ChainMgr
2Version:        0.9.9
3Release:        1%{?_dist_release}
4Summary:        Perl extension for manipulating iptables policies
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://www.cipherdyne.org/modules/
8Source0:        http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2
9Source1:        http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2.asc
10BuildArch:      noarch
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(IPTables::Parse), perl(NetAddr::IP)
13Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14
15Vendor:         Project Vine
16Distribution:   Vine Linux
17Packager:       shaolin
18
19%description
20The IPTables::ChainMgr package provides an interface to manipulate iptables
21policies on Linux systems through the direct execution of iptables
22commands. Although making a perl extension of libiptc provided by the iptables
23project is possible, it is easy to just execute iptables commands directly in
24order to both parse and change the configuration of the policy. Further, this
25simplifies installation since the only external requirement is (in the spirit
26of scripting) to be able to point IPTables::ChainMgr at an installed iptables
27binary instead of having to compile against a library.
28
29%prep
30%setup -q -n IPTables-ChainMgr-%{version}
31
32%build
33%{__perl} Makefile.PL INSTALLDIRS=vendor
34make %{?_smp_mflags}
35
36%install
37rm -rf %{buildroot}
38make pure_install PERL_INSTALL_ROOT=%{buildroot}
39
40find %{buildroot} -type f -name .packlist -exec rm -f {} \;
41find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
42
43%{_fixperms} %{buildroot}/*
44
45%check
46make test
47
48%clean
49rm -rf %{buildroot}
50
51%files
52%defattr(-,root,root,-)
53%doc Changes README
54%{perl_vendorlib}/*
55%{_mandir}/man3/*
56
57%changelog
58* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.9-1
59- initial build for Vine Linux
60
61* Mon Feb 27 2012 Miloslav Trmač <mitr@redhat.com> - 0.9.9-1
62- Update to IPTables-ChainMgr-0.9.9
63
64* Tue Jan 10 2012 Miloslav Trmač <mitr@redhat.com> - 0.9-9
65- Avoid deprecated use of qw()
66  Resolves: #771781
67
68* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9-8
69- Perl mass rebuild
70
71* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
73
74* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.9-6
75- 661697 rebuild for fixing problems with vendorach/lib
76
77* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com>
78- Mass rebuild with perl-5.12.0
79
80- Drop no longer required references to BuildRoot
81
82* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
84
85* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
87
88* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
90
91* Fri Feb 13 2009 Miloslav Trmač <mitr@redhat.com> - 0.9-1
92- Update to IPTables-ChainMgr-0.9.
93
94* Tue Oct 21 2008 Miloslav Trmač <mitr@redhat.com> - 0.8-1
95- Update to IPTables-ChainMgr-0.8.
96
97* Wed Jul 30 2008 Miloslav Trmač <mitr@redhat.com> 0.7-1
98- Initial package.
Note: See TracBrowser for help on using the repository browser.