]> git.pld-linux.org Git - packages/perl-IPTables-Parse.git/blob - perl-IPTables-Parse.spec
- new
[packages/perl-IPTables-Parse.git] / perl-IPTables-Parse.spec
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
8 Summary:        Perl interface to parse iptables rulesets
9 Name:           perl-IPTables-Parse
10 Version:        0.4
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cipherdyne.org/psad/download/psad-2.0.1.tar.gz
16 URL:            http://www.cipherdyne.org/psad/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _noautoreq      'perl(anything_fake_or_conditional)'
23
24 %description
25 Perl interface to parse iptables rulesets.
26
27
28 %prep
29 %setup -q -n psad-2.0.1
30
31 %build
32 cd IPTables-Parse
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35
36 %{__make}
37 %{?with_tests:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 cd IPTables-Parse
42 %{__make} pure_install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -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.072768 seconds and 3 git commands to generate.