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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: pvrabec

Update of /cvs/extras/rpms/perl-IPTables-ChainMgr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6046

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@xxxxxxxxxx> 0.7-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-IPTables-ChainMgr/devel/.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 10:07:33 -0000	1.2
@@ -0,0 +1 @@
+IPTables-ChainMgr-0.7.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-IPTables-ChainMgr/devel/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 10:07:33 -0000	1.2
@@ -0,0 +1 @@
+6e091098314411ef8574cd01df93f42e  IPTables-ChainMgr-0.7.tar.bz2

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux