SPECS: perl-Nmap-Parser.spec (NEW) - new
adamg
adamg at pld-linux.org
Tue Sep 5 00:39:17 CEST 2006
Author: adamg Date: Mon Sep 4 22:39:17 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Nmap-Parser.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Nmap-Parser.spec
diff -u /dev/null SPECS/perl-Nmap-Parser.spec:1.1
--- /dev/null Tue Sep 5 00:39:17 2006
+++ SPECS/perl-Nmap-Parser.spec Tue Sep 5 00:39:12 2006
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+#
+# 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/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/09/04 22:39:12 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list