]> git.pld-linux.org Git - packages/perl-Nmap-Parser.git/blame - perl-Nmap-Parser.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Nmap-Parser.git] / perl-Nmap-Parser.spec
CommitLineData
56e1479e
AG
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
56e1479e
AG
5%define pdir Nmap
6%define pnam Parser
7Summary: Nmap::Parser - parse nmap scan data with perl
e805c722 8Summary(pl.UTF-8): Nmap::Parser - parsowanie danych ze skanowania nmapem
56e1479e 9Name: perl-Nmap-Parser
d2162f28 10Version: 1.21
56e1479e
AG
11Release: 1
12License: GPL v2+
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
d2162f28 15# Source0-md5: 3733b9d5f76fb34c49edad21eb282bbc
adac23fe 16URL: http://search.cpan.org/dist/Nmap-Parser/
56e1479e
AG
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19%if %{with tests}
adac23fe 20BuildRequires: perl-XML-Twig >= 3.16
56e1479e 21%endif
56e1479e
AG
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module implements a interface to the information contained in an
27nmap scan. It is implemented by parsing the xml scan data that is
28generated by nmap. This will enable anyone who utilizes nmap to
29quickly create fast and robust security scripts that utilize the
30powerful port scanning abilities of nmap.
31
91f47dc2
JR
32%description -l pl.UTF-8
33Moduł ten to implementacja interfejsu do informacji zebranych podczas
34skanowania nmapem. Działa na zasadzie przetwarzania danych XML
56e1479e 35wygenerowanych przez program nmap. Pozwala to na generowanie szybkich
91f47dc2 36i złożonych skryptów korzystających z potężnych możliwości, jakie daje
56e1479e
AG
37program nmap.
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
adac23fe 61%dir %{perl_vendorlib}/Nmap
56e1479e
AG
62%{perl_vendorlib}/Nmap/*.pm
63%{_mandir}/man3/*
This page took 0.069781 seconds and 4 git commands to generate.