Name: perl-IPTables-ChainMgr Version: 1.2 Release: 6%{?dist} Summary: Perl extension for manipulating iptables policies License: Artistic 2.0 Group: Development/Libraries URL: http://www.cipherdyne.org/modules/ Source0: http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2 Source1: http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2.asc BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IPTables::Parse), perl(NetAddr::IP) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The IPTables::ChainMgr package provides an interface to manipulate iptables policies on Linux systems through the direct execution of iptables commands. Although making a perl extension of libiptc provided by the iptables project is possible, it is easy to just execute iptables commands directly in order to both parse and change the configuration of the policy. Further, this simplifies installation since the only external requirement is (in the spirit of scripting) to be able to point IPTables::ChainMgr at an installed iptables binary instead of having to compile against a library. %prep %setup -q -n IPTables-ChainMgr-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Aug 03 2013 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 1.2-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 1.2-2 - Perl 5.16 rebuild * Mon Mar 12 2012 Miloslav Trmač - 1.2-1 - Update to IPTables-ChainMgr-1.2 * Mon Feb 27 2012 Miloslav Trmač - 0.9.9-1 - Update to IPTables-ChainMgr-0.9.9 * Tue Jan 10 2012 Miloslav Trmač - 0.9-9 - Avoid deprecated use of qw() Resolves: #771781 * Tue Jun 21 2011 Marcela Mašláňová - 0.9-8 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 0.9-6 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - Mass rebuild with perl-5.12.0 - Drop no longer required references to BuildRoot * Sun Jul 26 2009 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 13 2009 Miloslav Trmač - 0.9-1 - Update to IPTables-ChainMgr-0.9. * Tue Oct 21 2008 Miloslav Trmač - 0.8-1 - Update to IPTables-ChainMgr-0.8. * Wed Jul 30 2008 Miloslav Trmač 0.7-1 - Initial package.