rpms/perl-IPTables-ChainMgr/F-9 perl-IPTables-ChainMgr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Vrabec (pvrabec) fedora-extras-commits at redhat.com
Thu Aug 14 09:48:44 UTC 2008


Author: pvrabec

Update of /cvs/extras/rpms/perl-IPTables-ChainMgr/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27755

Modified Files:
	.cvsignore sources 
Added Files:
	perl-IPTables-ChainMgr.spec 
Log Message:
upload new package



--- NEW FILE perl-IPTables-ChainMgr.spec ---
Name:           perl-IPTables-ChainMgr
Version:        0.7
Release:        1%{?dist}
Summary:        Perl extension for manipulating iptables policies
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://www.cipherdyne.org/modules/
Source0:        http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(IPTables::Parse), perl(Net::IPv4Addr)
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
rm -rf $RPM_BUILD_ROOT

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
* Wed Jul 30 2008 Miloslav Trmač <mitr at redhat.com> 0.7-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-IPTables-ChainMgr/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Aug 2008 01:22:45 -0000	1.1
+++ .cvsignore	14 Aug 2008 09:48:14 -0000	1.2
@@ -0,0 +1 @@
+IPTables-ChainMgr-0.7.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-IPTables-ChainMgr/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Aug 2008 01:22:45 -0000	1.1
+++ sources	14 Aug 2008 09:48:14 -0000	1.2
@@ -0,0 +1 @@
+6e091098314411ef8574cd01df93f42e  IPTables-ChainMgr-0.7.tar.bz2




More information about the fedora-extras-commits mailing list