1 | Name: perl-Net-CIDR |
---|
2 | Version: 0.17 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Manipulate IPv4/IPv6 netblocks in CIDR notation |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Net-CIDR/ |
---|
8 | Source0: http://www.cpan.org/authors/id/M/MR/MRSAM/Net-CIDR-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
12 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
13 | |
---|
14 | %description |
---|
15 | The Net::CIDR package contains functions that manipulate lists of IP |
---|
16 | netblocks expressed in CIDR notation. The Net::CIDR functions handle both |
---|
17 | IPv4 and IPv6 addresses. |
---|
18 | |
---|
19 | %prep |
---|
20 | %setup -q -n Net-CIDR-%{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 COPYING README |
---|
45 | %{perl_vendorlib}/Net/ |
---|
46 | %{_mandir}/man3/*.3pm* |
---|
47 | |
---|
48 | %changelog |
---|
49 | * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.17-1 |
---|
50 | - updated to 0.17 |
---|
51 | - built with perl 5.16.3 |
---|
52 | |
---|
53 | * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1 |
---|
54 | - initial build for Vine Linux |
---|
55 | |
---|
56 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3 |
---|
57 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
58 | |
---|
59 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-2 |
---|
60 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
61 | |
---|
62 | * Thu Jul 01 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.14-1 |
---|
63 | - Update to 0.14 |
---|
64 | |
---|
65 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4 |
---|
66 | - Mass rebuild with perl-5.12.0 |
---|
67 | |
---|
68 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.13-3 |
---|
69 | - rebuild against perl 5.10.1 |
---|
70 | |
---|
71 | * Mon Nov 9 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.13-2 |
---|
72 | - Fix License tag |
---|
73 | - Remove Net-CIDR.spec from %%doc |
---|
74 | - List files more explicitely |
---|
75 | |
---|
76 | * Fri Sep 25 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.13-1 |
---|
77 | - Specfile autogenerated by cpanspec 1.78. |
---|