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