Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f49b91fe56b5ded6b4fc3c11fae3c3ee > files > 2

perl-Nmap-Parser-1.210.0-2.mga3.src.rpm

%define upstream_name    Nmap-Parser
%define upstream_version 1.21

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Parse nmap scan data with perl
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Nmap/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Storable) >= 2.0.0
BuildRequires: perl(XML::Twig) >= 3.160.0
BuildArch:  noarch

%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.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes LICENSE META.yml README
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1.210.0-2.mga3
+ Revision: 370991
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Jun 15 2011 jquelin <jquelin> 1.210.0-1.mga2
+ Revision: 107218
- update to 1.21

* Thu Jan 20 2011 jquelin <jquelin> 1.200.0-1.mga1
+ Revision: 26765
- mageia rebuild
- imported package perl-Nmap-Parser