f58344c
Name:           perl-Net-IP
jvdias 36cd192
Version:        1.25
a5cac22
Release:        18%{?dist}
f58344c
Summary:        Perl module for manipulation of IPv4 and IPv6 addresses
f58344c
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
f58344c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f58344c
f58344c
BuildArch:      noarch
55ce6d8
BuildRequires:  perl(ExtUtils::MakeMaker)
bbd7160
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f58344c
bbd7160
Patch0:         perl-Net-IP-1.25-bz197425.patch
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
f58344c
%prep
f58344c
%setup -q -n Net-IP-%{version}
jvdias a720b89
%patch0 -p1
f58344c
f58344c
%build
f58344c
%{__perl} Makefile.PL INSTALLDIRS=vendor
f58344c
make %{?_smp_mflags}
f58344c
f58344c
f58344c
%install
f58344c
rm -rf $RPM_BUILD_ROOT
f58344c
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
f58344c
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
f425e74
find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
f58344c
chmod -R u+w $RPM_BUILD_ROOT/*
f58344c
f58344c
f58344c
%check
ff1aae5
# These tests fail on ppc builders because of:
ff1aae5
# http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
ff1aae5
# Re-enable this when the upstream bug is resolved.
ff1aae5
# make test
f58344c
f58344c
f58344c
%clean
f58344c
rm -rf $RPM_BUILD_ROOT
f58344c
f58344c
f58344c
%files
f58344c
%defattr(-,root,root,-)
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
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
2b6c251
- 661697 rebuild for fixing problems with vendorach/lib
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
f58344c
* Fri Apr  7 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.