]> git.pld-linux.org Git - packages/perl-IPTables-Parse.git/blame - perl-IPTables-Parse.spec
- tabs in preamble
[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
0d041880 9Summary(pl.UTF-8): Perlowy interfejs do analizy zbiorów reguł iptables
48e2657d
ER
10Name: perl-IPTables-Parse
11Version: 0.4
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cipherdyne.org/psad/download/psad-2.0.1.tar.gz
eabcd8bc 17# Source0-md5: a1604b68e31178e7e0cbbfd7c1cd4edf
d5a78a79 18Patch0: %{name}-iptables.patch
48e2657d
ER
19URL: http://www.cipherdyne.org/psad/
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
48e2657d
ER
25%description
26Perl interface to parse iptables rulesets.
27
d5a12f1a
JR
28%description -l pl.UTF-8
29Perlowy interfejs do analizy zbiorów reguł iptables.
eabcd8bc 30
48e2657d
ER
31%prep
32%setup -q -n psad-2.0.1
d5a78a79 33%patch0 -p1
48e2657d
ER
34
35%build
36cd IPTables-Parse
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39
40%{__make}
41%{?with_tests:%{__make} test}
42
43%install
44rm -rf $RPM_BUILD_ROOT
eabcd8bc
JB
45
46%{__make} -C IPTables-Parse pure_install \
48e2657d
ER
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc IPTables-Parse/{Changes,README}
55%{_mandir}/man3/IPTables::Parse.3pm*
56%{perl_vendorlib}/IPTables/Parse.pm
This page took 0.092579 seconds and 4 git commands to generate.