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