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