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

Miloslav Trmac mitr at fedoraproject.org
Wed Aug 6 15:05:18 UTC 2008


Author: mitr

Update of /cvs/pkgs/rpms/perl-IPTables-Parse/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27806

Modified Files:
	.cvsignore sources 
Added Files:
	perl-IPTables-Parse.spec 
Log Message:
Import perl-IPTables-Parse-0.6-1.



--- NEW FILE perl-IPTables-Parse.spec ---
Name:           perl-IPTables-Parse
Version:        0.6
Release:        1%{?dist}
Summary:        Perl extension for parsing iptables firewall rulesets
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://www.cipherdyne.org/modules/
Source0:        http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The IPTables::Parse package provides an interface to parse iptables rules
on Linux systems through the direct execution of iptables commands, or from
parsing a file that contains an iptables policy listing. You can get the
current policy applied to a table/chain, look for a specific user-defined
chain, check for a default DROP policy, or determing whether or not logging
rules exist.

%prep
%setup -q -n IPTables-Parse-%{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.6-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IPTables-Parse/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Aug 2008 16:19:56 -0000	1.1
+++ .cvsignore	6 Aug 2008 15:04:48 -0000	1.2
@@ -0,0 +1 @@
+IPTables-Parse-0.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IPTables-Parse/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Aug 2008 16:19:56 -0000	1.1
+++ sources	6 Aug 2008 15:04:48 -0000	1.2
@@ -0,0 +1 @@
+03fcd2d010db1b7190f7e257124cb278  IPTables-Parse-0.6.tar.bz2




More information about the Fedora-perl-devel-list mailing list