]> git.pld-linux.org Git - packages/perl-IPTables-Parse.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 18 Dec 2006 00:21:32 +0000 (00:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-IPTables-Parse.spec -> 1.1

perl-IPTables-Parse.spec [new file with mode: 0644]

diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
new file mode 100644 (file)
index 0000000..5e3c522
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# 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
This page took 0.089463 seconds and 4 git commands to generate.