Author: glen Date: Mon Dec 18 00:35:13 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-IPTables-ChainMgr.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-IPTables-ChainMgr.spec diff -u /dev/null SPECS/perl-IPTables-ChainMgr.spec:1.1 --- /dev/null Mon Dec 18 01:35:13 2006 +++ SPECS/perl-IPTables-ChainMgr.spec Mon Dec 18 01:35:07 2006 @@ -0,0 +1,67 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir IPTables +%define pnam ChainMgr +Summary: Perl interface to add and delete rules to an iptables chain +Name: perl-IPTables-ChainMgr +Version: 0.4 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cipherdyne.org/psad/download/psad-2.0.1.tar.gz +URL: http://www.cipherdyne.org/psad/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-IPTables-Parse +BuildRequires: perl-Net-IPv4Addr +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Perl interface to add and delete rules to an iptables chain. The most +common application of this module is to create a custom chain and then +add blocking rules to it. Rule additions are (mostly) guaranteed to be +unique. + +%prep +%setup -q -n psad-2.0.1 + +%build +cd IPTables-ChainMgr +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor + +%{__make} +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT +cd IPTables-ChainMgr +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc IPTables-ChainMgr/{Changes,README} +%{_mandir}/man3/IPTables::ChainMgr.3pm* +%{perl_vendorlib}/IPTables/ChainMgr.pm + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/12/18 00:35:07 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
