/[smeserver]/rpms/perl-Net-CIDR-Lite/sme9/perl-Net-CIDR-Lite.spec
ViewVC logotype

Annotation of /rpms/perl-Net-CIDR-Lite/sme9/perl-Net-CIDR-Lite.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Thu Jan 7 13:08:05 2016 UTC (8 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Net-CIDR-Lite-0_21-2_el6_sme, HEAD
Changes since 1.1: +5 -2 lines
* Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.21-2
- Fix license in spec file

1 vip-ire 1.1 Name: perl-Net-CIDR-Lite
2     Version: 0.21
3 vip-ire 1.2 Release: 2%{?dist}
4 vip-ire 1.1 Summary: Perl extension for merging IPv4 or IPv6 CIDR addresses
5 vip-ire 1.2 License: Artistic 2.0
6 vip-ire 1.1 Group: Development/Libraries
7     URL: http://search.cpan.org/dist/Net-CIDR-Lite/
8     Source0: http://www.cpan.org/authors/id/D/DO/DOUGW/Net-CIDR-Lite-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl(ExtUtils::MakeMaker)
12     BuildRequires: perl(Test::More)
13     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14    
15     %description
16     Faster alternative to Net::CIDR when merging a large number of CIDR address
17     ranges. Works for IPv4 and IPv6 addresses.
18    
19     %prep
20     %setup -q -n Net-CIDR-Lite-%{version}
21    
22     %build
23     %{__perl} Makefile.PL INSTALLDIRS=vendor
24     make %{?_smp_mflags}
25    
26     %install
27     rm -rf $RPM_BUILD_ROOT
28    
29     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
30    
31     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
32     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
33    
34     %{_fixperms} $RPM_BUILD_ROOT/*
35    
36     %check
37     make test
38    
39     %clean
40     rm -rf $RPM_BUILD_ROOT
41    
42     %files
43     %defattr(-,root,root,-)
44     %doc Changes README
45     %{perl_vendorlib}/*
46     %{_mandir}/man3/*
47    
48     %changelog
49 vip-ire 1.2 * Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.21-2
50     - Fix license in spec file
51    
52 vip-ire 1.1 * Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.21-1
53     - First build (using cpanspec)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed