]> git.pld-linux.org Git - packages/perl-IPTables-Parse.git/blame - perl-IPTables-Parse.spec
- cleanup
[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
48e2657d
ER
22%description
23Perl interface to parse iptables rulesets.
24
48e2657d
ER
25%prep
26%setup -q -n psad-2.0.1
27
28%build
29cd IPTables-Parse
30%{__perl} Makefile.PL \
31 INSTALLDIRS=vendor
32
33%{__make}
34%{?with_tests:%{__make} test}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38cd IPTables-Parse
39%{__make} pure_install \
40 DESTDIR=$RPM_BUILD_ROOT
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc IPTables-Parse/{Changes,README}
48%{_mandir}/man3/IPTables::Parse.3pm*
49%{perl_vendorlib}/IPTables/Parse.pm
This page took 0.061797 seconds and 4 git commands to generate.