SPECS: perl-IPTables-Parse.spec (NEW) - new

glen glen at pld-linux.org
Mon Dec 18 01:21:38 CET 2006


Author: glen                         Date: Mon Dec 18 00:21:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-IPTables-Parse.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-IPTables-Parse.spec
diff -u /dev/null SPECS/perl-IPTables-Parse.spec:1.1
--- /dev/null	Mon Dec 18 01:21:38 2006
+++ SPECS/perl-IPTables-Parse.spec	Mon Dec 18 01:21:32 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	IPTables
+%define		pnam	Parse
+Summary:	Perl interface to parse iptables rulesets
+Name:		perl-IPTables-Parse
+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
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+Perl interface to parse iptables rulesets.
+
+
+%prep
+%setup -q -n psad-2.0.1
+
+%build
+cd IPTables-Parse
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make}
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd IPTables-Parse
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc IPTables-Parse/{Changes,README}
+%{_mandir}/man3/IPTables::Parse.3pm*
+%{perl_vendorlib}/IPTables/Parse.pm
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/18 00:21:32  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list