]> git.pld-linux.org Git - packages/perl-IPTables-Parse.git/blame - perl-IPTables-Parse.spec
- new
[packages/perl-IPTables-Parse.git] / perl-IPTables-Parse.spec
CommitLineData
48e2657d
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir IPTables
7%define pnam Parse
8Summary: Perl interface to parse iptables rulesets
9Name: perl-IPTables-Parse
10Version: 0.4
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cipherdyne.org/psad/download/psad-2.0.1.tar.gz
16URL: http://www.cipherdyne.org/psad/
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%define _noautoreq 'perl(anything_fake_or_conditional)'
23
24%description
25Perl interface to parse iptables rulesets.
26
27
28%prep
29%setup -q -n psad-2.0.1
30
31%build
32cd IPTables-Parse
33%{__perl} Makefile.PL \
34 INSTALLDIRS=vendor
35
36%{__make}
37%{?with_tests:%{__make} test}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41cd IPTables-Parse
42%{__make} pure_install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc IPTables-Parse/{Changes,README}
51%{_mandir}/man3/IPTables::Parse.3pm*
52%{perl_vendorlib}/IPTables/Parse.pm
This page took 0.084868 seconds and 4 git commands to generate.