f58344c
Name:           perl-Net-IP
db5b448
Version:        1.26
d4a71ec
Release:        9%{?dist}
f58344c
Summary:        Perl module for manipulation of IPv4 and IPv6 addresses
f58344c
Group:          Development/Libraries
55ce6d8
# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
f425e74
# MIT-like for the IP.pm itself, and "like Perl itself" for all the other
f425e74
# scripts included.
bdd5ab9
License:        MIT and (GPL+ or Artistic)
f58344c
URL:            http://search.cpan.org/dist/Net-IP/
f425e74
Source:         http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
db5b448
Patch0:         perl-Net-IP-1.25-bz197425.patch
f58344c
BuildArch:      noarch
55ce6d8
BuildRequires:  perl(ExtUtils::MakeMaker)
87f1f4d
# Run-time:
87f1f4d
BuildRequires:  perl(Exporter)
87f1f4d
BuildRequires:  perl(Math::BigInt)
87f1f4d
# Tests:
87f1f4d
BuildRequires:  perl(lib)
db5b448
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
87f1f4d
# Not yet packaged: IP::Authority
jvdias a720b89
f58344c
%description
f58344c
This is the Net::IP module for Perl, designed to allow easy
f58344c
manipulation of IPv4 and IPv6 addresses.  Two applications using the
f58344c
Net::IP module are included: ipcount, an IP address mini-calculator,
f58344c
it can calculate the number of IP addresses in a prefix or all the
f58344c
prefixes contained in a given range; and iptab, which prints out a
f58344c
handy IP "cheat sheet".
f58344c
f58344c
%prep
f58344c
%setup -q -n Net-IP-%{version}
jvdias a720b89
%patch0 -p1
f58344c
f58344c
%build
db5b448
perl Makefile.PL INSTALLDIRS=vendor
f58344c
make %{?_smp_mflags}
f58344c
f58344c
%install
db5b448
make pure_install DESTDIR=$RPM_BUILD_ROOT
f58344c
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
f58344c
chmod -R u+w $RPM_BUILD_ROOT/*
f58344c
f58344c
%check
87f1f4d
make test
f58344c
f58344c
%files
f58344c
%doc COPYING Changes README
f58344c
%{_bindir}/ipcount
f58344c
%{_bindir}/iptab
f58344c
%{perl_vendorlib}/Net/
f58344c
%{_mandir}/man3/Net::IP.3*
f58344c
f58344c
f58344c
%changelog
d4a71ec
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-9
d4a71ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d4a71ec
1f90632
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-8
1f90632
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1f90632
cad5837
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-7
cad5837
- Perl 5.22 rebuild
cad5837
5d405d4
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-6
5d405d4
- Perl 5.20 rebuild
5d405d4
44eae19
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-5
44eae19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
44eae19
337692c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-4
337692c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
337692c
310d68c
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.26-3
310d68c
- Perl 5.18 rebuild
310d68c
1a00aaa
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
1a00aaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1a00aaa
db5b448
* Thu Nov 29 2012 Petr Pisar <ppisar@redhat.com> - 1.26-1
db5b448
- 1.26 bump
db5b448
058d17b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-20
058d17b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
058d17b
fe5148a
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.25-19
fe5148a
- Perl 5.16 rebuild
fe5148a
a5cac22
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-18
a5cac22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a5cac22
1e23a3c
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.25-17
1e23a3c
- Perl mass rebuild
1e23a3c
0860fad
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-16
0860fad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0860fad
2b6c251
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.25-15
cff3b22
- Rebuild to fix problems with vendorarch/lib (#661697)
2b6c251
74d2270
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.25-14
74d2270
- Mass rebuild with perl-5.12.0
74d2270
f425e74
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1.25-13
f425e74
- fix the source URL
f425e74
bdd5ab9
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1.25-12
bdd5ab9
- fix license tag
bdd5ab9
530bad0
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.25-11
530bad0
- rebuild against perl 5.10.1
530bad0
9aa21d6
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-10
9aa21d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9aa21d6
b1c7c73
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-9
b1c7c73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b1c7c73
ea2da31
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-8
ea2da31
- Rebuild for perl 5.10 (again)
ea2da31
ff1aae5
* Fri Feb  1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-7
ff1aae5
- disable tests due to upstream bug 50114
ff1aae5
236a470
* Fri Feb  1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-6
236a470
- Work around http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
236a470
37d3970
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-5
37d3970
- rebuild for new perl
37d3970
55ce6d8
* Sun Aug 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.25-4
55ce6d8
- BuildRequire perl(ExtUtils::MakeMaker)
55ce6d8
- License: MIT
55ce6d8
bbd7160
* Sun Feb 04 2007 Robin Norwood <rnorwood@redhat.com> - 1.25-3
bbd7160
- Resolves: bz#226271
bbd7160
- Incorporate some fixes to the spec file from Ville:
bbd7160
jvdias a720b89
* Wed Jul 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-2
jvdias a720b89
- fix bug 197925 - make intip handle zero-valued IP addresses
jvdias a720b89
jvdias 36cd192
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-1
jvdias 36cd192
- upgrade to 1.25
jvdias 36cd192
jvdias 33dda64
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.24-2.2
jvdias 33dda64
- rebuild for new perl-5.8.8
jvdias 33dda64
83e9035
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
441898e
- rebuilt for new gcc
441898e
441898e
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
83e9035
- rebuilt for new gcj
83e9035
f58344c
* Mon Oct 31 2005 Warren Togami <wtogami@redhat.com> - 1.24-2
f58344c
- import into FC5 because perl-Net-DNS needs it
f58344c
f58344c
* Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.24-1
f58344c
- 1.24.
f58344c
f58344c
* Mon Jun  6 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3
f58344c
- 1.23, patches applied upstream.
f58344c
- Improve description.
f58344c
f58344c
* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.22-2
f58344c
- 1.22, include test case for rt.cpan.org #7528 patch.
f58344c
- Patch to mute stdout noise from ip_reverse().
f58344c
cff3b22
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-2
f58344c
- rebuilt
f58344c
f58344c
* Thu Dec  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.21-1
f58344c
- Update to 1.21.
f58344c
f58344c
* Sat Nov  6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.7
f58344c
- Apply fixes from rt.cpan.org #3844 and #7528.
f58344c
- Some specfile cleanups.
f58344c
f58344c
* Sun May  9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.6
f58344c
- BuildRequire perl >= 1:5.6.1-34.99.6 for support for vendor installdirs.
f58344c
- Use pure_install to avoid perllocal.pod workarounds.
f58344c
f58344c
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.5
f58344c
- Require perl(:MODULE_COMPAT_*).
f58344c
f58344c
* Mon Feb  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.4
f58344c
- Reduce directory ownership bloat.
f58344c
f58344c
* Mon Dec  1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.3
f58344c
- Specfile cleanup.
f58344c
f58344c
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.2
f58344c
- Install into vendor dirs.
f58344c
f58344c
* Wed Jul 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.1
f58344c
- First build.