Name: perl-Nmap-Parser Version: 1.36 Release: 1%{?dist} Summary: Parse nmap scan data with perl License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/Nmap-Parser/ Source0: http://www.cpan.org/modules/by-module/Nmap/Nmap-Parser-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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 Nmap-Parser-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes.md LICENSE META.json README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Nov 29 2017 paul trader 1.36-1 - Specfile autogenerated by cpanspec 1.78.