[521] | 1 | Name: perl-Net-IP |
---|
[8722] | 2 | Version: 1.26 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: Perl module for manipulation of IPv4 and IPv6 addresses |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: GPL or Artistic |
---|
| 7 | URL: http://search.cpan.org/dist/Net-IP/ |
---|
| 8 | Source: http://www.cpan.org/modules/by-module/Net/Net-IP-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl |
---|
| 12 | |
---|
[3165] | 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | |
---|
[521] | 16 | %description |
---|
| 17 | This is the Net::IP module for Perl, designed to allow easy |
---|
| 18 | manipulation of IPv4 and IPv6 addresses. Two applications using the |
---|
| 19 | Net::IP module are included: ipcount, an IP address mini-calculator, |
---|
| 20 | it can calculate the number of IP addresses in a prefix or all the |
---|
| 21 | prefixes contained in a given range; and iptab, which prints out a |
---|
| 22 | handy IP "cheat sheet". |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n Net-IP-%{version} |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 30 | make %{?_smp_mflags} |
---|
| 31 | |
---|
| 32 | %install |
---|
| 33 | rm -rf $RPM_BUILD_ROOT |
---|
| 34 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
| 35 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 36 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 37 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 38 | |
---|
| 39 | %check |
---|
| 40 | make test |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root,-) |
---|
| 47 | %doc COPYING Changes README |
---|
| 48 | %{_bindir}/ipcount |
---|
| 49 | %{_bindir}/iptab |
---|
| 50 | %{perl_vendorlib}/Net/ |
---|
| 51 | %{_mandir}/man3/Net::IP.3* |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %changelog |
---|
[8722] | 55 | * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1 |
---|
| 56 | - build with Perl 5.16 |
---|
| 57 | - update to 1.26 |
---|
| 58 | |
---|
[3165] | 59 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.25-2 |
---|
| 60 | - build with perl 5.12.3 |
---|
| 61 | - add Vendor and Distribution tags |
---|
| 62 | |
---|
[521] | 63 | * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.25-1vl5 |
---|
| 64 | - rebuilt with perl-5.10.0 |
---|
| 65 | - applied new versioning policy |
---|
| 66 | |
---|
| 67 | * Mon Oct 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> |
---|
| 68 | - 1.25-0vl2 |
---|
| 69 | - Build for VineSeed / Vine 4.0 |
---|
| 70 | - changed Group to Development/Languages |
---|
| 71 | - installs to vendor_arch directory |
---|
| 72 | |
---|
| 73 | * Wed Oct 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> |
---|
| 74 | - upstream release |
---|
| 75 | - 1.25-0vl1 |
---|
| 76 | - Build for Vine 3.2 |
---|
| 77 | |
---|
| 78 | * Fri Jan 06 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> |
---|
| 79 | - 1.24-2vl0.1 |
---|
| 80 | - Nora Package for Vine 3.2 |
---|
| 81 | |
---|
| 82 | * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 83 | - rebuilt for new gcj |
---|
| 84 | |
---|
| 85 | * Mon Oct 31 2005 Warren Togami <wtogami@redhat.com> - 1.24-2 |
---|
| 86 | - import into FC5 because perl-Net-DNS needs it |
---|
| 87 | |
---|
| 88 | * Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.24-1 |
---|
| 89 | - 1.24. |
---|
| 90 | |
---|
| 91 | * Mon Jun 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3 |
---|
| 92 | - 1.23, patches applied upstream. |
---|
| 93 | - Improve description. |
---|
| 94 | |
---|
| 95 | * Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.22-2 |
---|
| 96 | - 1.22, include test case for rt.cpan.org #7528 patch. |
---|
| 97 | - Patch to mute stdout noise from ip_reverse(). |
---|
| 98 | |
---|
| 99 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-2 |
---|
| 100 | - rebuilt |
---|
| 101 | |
---|
| 102 | * Thu Dec 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.21-1 |
---|
| 103 | - Update to 1.21. |
---|
| 104 | |
---|
| 105 | * Sat Nov 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.7 |
---|
| 106 | - Apply fixes from rt.cpan.org #3844 and #7528. |
---|
| 107 | - Some specfile cleanups. |
---|
| 108 | |
---|
| 109 | * Sun May 9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.6 |
---|
| 110 | - BuildRequire perl >= 1:5.6.1-34.99.6 for support for vendor installdirs. |
---|
| 111 | - Use pure_install to avoid perllocal.pod workarounds. |
---|
| 112 | |
---|
| 113 | * Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.5 |
---|
| 114 | - Require perl(:MODULE_COMPAT_*). |
---|
| 115 | |
---|
| 116 | * Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.4 |
---|
| 117 | - Reduce directory ownership bloat. |
---|
| 118 | |
---|
| 119 | * Mon Dec 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.3 |
---|
| 120 | - Specfile cleanup. |
---|
| 121 | |
---|
| 122 | * Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.2 |
---|
| 123 | - Install into vendor dirs. |
---|
| 124 | |
---|
| 125 | * Wed Jul 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.1 |
---|
| 126 | - First build. |
---|