3 %bcond_without tests # do not perform "make test"
7 Summary: Nmap::Parser - parse nmap scan data with perl
8 Summary(pl.UTF-8): Nmap::Parser - parsowanie danych ze skanowania nmapem
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 3733b9d5f76fb34c49edad21eb282bbc
16 URL: http://search.cpan.org/dist/Nmap-Parser/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-XML-Twig >= 3.16
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This module implements a interface to the information contained in an
27 nmap scan. It is implemented by parsing the xml scan data that is
28 generated by nmap. This will enable anyone who utilizes nmap to
29 quickly create fast and robust security scripts that utilize the
30 powerful port scanning abilities of nmap.
32 %description -l pl.UTF-8
33 Moduł ten to implementacja interfejsu do informacji zebranych podczas
34 skanowania nmapem. Działa na zasadzie przetwarzania danych XML
35 wygenerowanych przez program nmap. Pozwala to na generowanie szybkich
36 i złożonych skryptów korzystających z potężnych możliwości, jakie daje
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %dir %{perl_vendorlib}/Nmap
62 %{perl_vendorlib}/Nmap/*.pm