]> git.pld-linux.org Git - packages/perl-Nmap-Parser.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 4 Sep 2006 22:39:12 +0000 (22:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Nmap-Parser.spec -> 1.1

perl-Nmap-Parser.spec [new file with mode: 0644]

diff --git a/perl-Nmap-Parser.spec b/perl-Nmap-Parser.spec
new file mode 100644 (file)
index 0000000..cedb924
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Nmap
+%define        pnam    Parser
+Summary:       Nmap::Parser - parse nmap scan data with perl
+Summary(pl):   Nmap::Parser - parsowanie danych ze skanowania nmapem
+Name:          perl-Nmap-Parser
+Version:       1.05
+Release:       1
+License:       GPL v2+
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 5d5f113a9d166b07e041a5dc52f9c3ee
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(XML::Twig) >= 3.16
+%endif
+URL:           http://search.cpan.org/dist/Nmap-Parser/
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements a interface to the information contained in an
+nmap scan. It is implemented by parsing the xml scan data that is
+generated by nmap. This will enable anyone who utilizes nmap to
+quickly create fast and robust security scripts that utilize the
+powerful port scanning abilities of nmap.
+
+%description -l pl
+Modu³ ten to implementacja intefejsu do informacji zebranych podczas
+skanowania nmapem. Dzia³a na zasadzie przetwarzania danych xml
+wygenerowanych przez program nmap. Pozwala to na generowanie szybkich
+i z³o¿onych skryptów korzystaj±cych z potê¿nych mo¿liwo¶ci, jakie daje
+program nmap.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Nmap/*.pm
+%{_mandir}/man3/*
This page took 0.077075 seconds and 4 git commands to generate.