source: projects/specs/trunk/p/perl-Parse-Nessus-NBE/perl-Parse-Nessus-NBE-vl.spec @ 5913

Revision 5913, 1.5 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1%define real_name    Parse-Nessus-NBE
2
3Summary:        Extract information from Nessus NBE files
4Name:           perl-%{real_name}
5Version:        1.1
6Release:        1%{?_dist_release}
7License:        Artistic or GPL+
8Group:          Development/Libraries
9Url:            http://search.cpan.org/dist/%{real_name}
10Source0:        http://search.cpan.org/CPAN/authors/id/D/DK/DKYGER/%{real_name}-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
12BuildArch:      noarch
13BuildRequires:  perl
14BuildRequires:  perl(ExtUtils::MakeMaker)
15Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
16Requires:       perl(Exporter)
17
18%description
19This module is designed to extract information from Nessus NBE
20files. Functions have been designed to return certain sets of data,
21such as service banners and OS versions. Other functions have been
22provided that will return more specific information, such as all IPs
23listening on a given port or all IPs associated with a specified plugin id.
24
25%prep
26%setup -q -n %{real_name}-%{version}
27
28%build
29perl Makefile.PL INSTALLDIRS="vendor"
30make %{?_smp_mflags}
31
32%check
33make test
34
35%install
36rm -rf %{buildroot}
37make pure_install PERL_INSTALL_ROOT=%{buildroot}
38find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
39find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
40find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
41
42%clean
43rm -rf %{buildroot}
44
45%files
46%defattr(-,root,root)
47%doc Changes README MANIFEST
48%{_mandir}/man3/*
49%{perl_vendorlib}/*
50
51
52
53
54%changelog
55* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1
56- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.