[5791] | 1 | Name: perl-Net-Netmask |
---|
[9189] | 2 | Version: 1.9021 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[5791] | 4 | Summary: Perl module for manipulation and lookup of IP network blocks |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: Copyright only |
---|
| 8 | URL: http://search.cpan.org/dist/Net-Netmask/ |
---|
| 9 | Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Net-Netmask-%{version}.tar.gz |
---|
| 10 | |
---|
[9189] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[5791] | 12 | BuildArch: noarch |
---|
[9189] | 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(Test::More) |
---|
[5791] | 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | Net::Netmask parses and understands IPv4 CIDR blocks. It's built with |
---|
| 19 | an object-oriented interface. Nearly all functions are methods that |
---|
| 20 | operate on a Net::Netmask object. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q -n Net-Netmask-%{version} |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 29 | make %{?_smp_mflags} |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %install |
---|
| 33 | rm -rf %{buildroot} |
---|
| 34 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 35 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 36 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
| 37 | chmod -R u+w %{buildroot}/* |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %check |
---|
| 41 | make test |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -rf %{buildroot} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %files |
---|
| 49 | %defattr(-,root,root,-) |
---|
[9189] | 50 | %doc Changes README |
---|
[5791] | 51 | %{perl_vendorlib}/Net/ |
---|
| 52 | %{_mandir}/man3/*.3* |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %changelog |
---|
[9189] | 56 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9021-1 |
---|
| 57 | - updated to 1.9021 |
---|
| 58 | - built with perl 5.16.3 |
---|
| 59 | |
---|
[5793] | 60 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9015-2 |
---|
| 61 | - rebuild |
---|
| 62 | |
---|
[5791] | 63 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9015-1 |
---|
| 64 | - initial build for Vine Linux |
---|
| 65 | |
---|
| 66 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-10 |
---|
| 67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 68 | |
---|
| 69 | * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.9015-9 |
---|
| 70 | - Perl mass rebuild |
---|
| 71 | |
---|
| 72 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-8 |
---|
| 73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 74 | |
---|
| 75 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9015-7 |
---|
| 76 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 77 | |
---|
| 78 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9015-6 |
---|
| 79 | - Mass rebuild with perl-5.12.0 |
---|
| 80 | |
---|
| 81 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.9015-5 |
---|
| 82 | - rebuild against perl 5.10.1 |
---|
| 83 | |
---|
| 84 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-4 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-3 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Mon Jun 30 2008 Paul Howarth <paul@city-fan.org> - 1.9015-2 |
---|
| 91 | - Add perl(:MODULE_COMPAT...) dependency (#449362) |
---|
| 92 | - Remove redundant buildreq perl |
---|
| 93 | - Fix "make check" syntax |
---|
| 94 | - Fix argument order for find with -depth |
---|
| 95 | |
---|
| 96 | * Thu Sep 27 2007 Warren Togami <wtogami@redhat.com> - 1.9015-1 |
---|
| 97 | - 1.9015, update license tag |
---|
| 98 | |
---|
| 99 | * Thu Sep 14 2006 Warren Togami <wtogami@redhat.com> - 1.9012-3 |
---|
| 100 | - rebuild for FC6 |
---|
| 101 | |
---|
| 102 | * Fri May 20 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.9012-2 |
---|
| 103 | - 1.9012, use canonical CPAN URL in Source0. |
---|
| 104 | |
---|
| 105 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.9011-2 |
---|
| 106 | - rebuilt |
---|
| 107 | |
---|
| 108 | * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.9011-1 |
---|
| 109 | - Update to 1.9011. |
---|
| 110 | - Bring up to date with current fedora.us Perl spec template. |
---|
| 111 | |
---|
| 112 | * Sun Feb 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.9007-0.fdr.2 |
---|
| 113 | - Reduce directory ownership bloat. |
---|
| 114 | - Run tests in the %%check section. |
---|
| 115 | |
---|
| 116 | * Sat Feb 07 2004 Warren Togami <warren@togami.com> - 0:1.9007-0.fdr.1 |
---|
| 117 | - upgrade to 1.9007 |
---|
| 118 | |
---|
| 119 | * Thu Nov 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.9004-0.fdr.2 |
---|
| 120 | - Specfile rewrite. |
---|
| 121 | |
---|
| 122 | * Fri Sep 19 2003 Warren Togami <warren@togami.com> - 1.9004-0.fdr.1 |
---|
| 123 | - Specfile autogenerated. |
---|