[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-Nmap-Parser/EL-5 perl-Nmap-Parser.spec, NONE, 1.1 sources, 1.1, 1.2

Author: sindrepb

Update of /cvs/extras/rpms/perl-Nmap-Parser/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3981

Modified Files:
Added Files:
Log Message:
add files to branch

--- NEW FILE perl-Nmap-Parser.spec ---
Name:           perl-Nmap-Parser
Version:        1.05
Release:        3%{?dist}
Summary:        Parse nmap scan data with perl

Group:          Development/Libraries
License:        GPL
URL:            http://search.cpan.org/dist/Nmap-Parser
Source0:        http://search.cpan.org/CPAN/authors/id/A/AP/APERSAUD/Nmap-Parser-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(XML::Twig), perl(ExtUtils::MakeMaker), perl(Test::More)
BuildRequires:  /usr/bin/dos2unix
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

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 

%setup -qn Nmap-Parser-%{version}

#fix end-of-line encoding
/usr/bin/dos2unix $RPM_BUILD_DIR/Nmap-Parser-%{version}/README
/usr/bin/dos2unix $RPM_BUILD_DIR/Nmap-Parser-%{version}/Parser.pm

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

#fix permissions
chmod 0644 $RPM_BUILD_DIR/Nmap-Parser-%{version}/README
chmod 0644 $RPM_BUILD_DIR/Nmap-Parser-%{version}/LICENSE
chmod 0644 $RPM_BUILD_ROOT%{perl_vendorlib}/Nmap/Parser.pm

make test



* Wed May 09 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.05-3
- Move end-of-line fix to %%prep
- Update dos2unix BR
* Tue May 08 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.05-2
- Don't package Manifest
- Fix permissions
- Fix end-of-line encoding
- Add missing BRs
* Thu May 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.05-1
- Initial build

Index: sources
RCS file: /cvs/extras/rpms/perl-Nmap-Parser/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 May 2007 20:32:24 -0000	1.1
+++ sources	23 May 2007 00:41:25 -0000	1.2
@@ -0,0 +1 @@
+5d5f113a9d166b07e041a5dc52f9c3ee  Nmap-Parser-1.05.tar.gz

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]