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

Revision 9143, 1.6 KB checked in by inagaki, 9 years ago (diff)

2014-12-11 Ryoichi INAGAKI <ryo1@…>

  • perl-Apache-Htpasswd, perl-Cache-Cache, perl-MRO-Compat, perl-Parse-RecDescent?, perl-Pod-{Eventual, POM, Tests}, perl-Proc-{ProcessTable?, Simpler}: updated
  • perl-Parse-Nessus-NBE: rebuilt


Line 
1%define real_name    Parse-Nessus-NBE
2
3Summary:        Extract information from Nessus NBE files
4Name:           perl-%{real_name}
5Version:        1.1
6Release:        2%{?_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}-root
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%changelog
53* Wed Dec 10 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1-2
54- rebuilt with perl 5.16.3
55
56* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1
57- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.