rpms/perl-Nmap-Parser/FC-6 perl-Nmap-Parser.spec, NONE, 1.1 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Wed May 23 00:40:00 UTC 2007


Author: sindrepb

Update of /cvs/extras/rpms/perl-Nmap-Parser/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3825

Modified Files:
	sources 
Added Files:
	perl-Nmap-Parser.spec 
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))

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

%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 ';'
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


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


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

%changelog
* 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/FC-6/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:39:26 -0000	1.2
@@ -0,0 +1 @@
+5d5f113a9d166b07e041a5dc52f9c3ee  Nmap-Parser-1.05.tar.gz




More information about the fedora-extras-commits mailing list