f58344
Name:           perl-Net-IP
jvdias 36cd19
Version:        1.25
0860fa
Release:        16%{?dist}
f58344
Summary:        Perl module for manipulation of IPv4 and IPv6 addresses
f58344
f58344
Group:          Development/Libraries
55ce6d
# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
f425e7
# MIT-like for the IP.pm itself, and "like Perl itself" for all the other
f425e7
# scripts included.
bdd5ab
License:        MIT and (GPL+ or Artistic)
f58344
URL:            http://search.cpan.org/dist/Net-IP/
f425e7
Source:         http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
f58344
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f58344
f58344
BuildArch:      noarch
55ce6d
BuildRequires:  perl(ExtUtils::MakeMaker)
bbd716
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f58344
bbd716
Patch0:         perl-Net-IP-1.25-bz197425.patch
jvdias a720b8
f58344
%description
f58344
This is the Net::IP module for Perl, designed to allow easy
f58344
manipulation of IPv4 and IPv6 addresses.  Two applications using the
f58344
Net::IP module are included: ipcount, an IP address mini-calculator,
f58344
it can calculate the number of IP addresses in a prefix or all the
f58344
prefixes contained in a given range; and iptab, which prints out a
f58344
handy IP "cheat sheet".
f58344
f58344
f58344
%prep
f58344
%setup -q -n Net-IP-%{version}
jvdias a720b8
%patch0 -p1
f58344
f58344
%build
f58344
%{__perl} Makefile.PL INSTALLDIRS=vendor
f58344
make %{?_smp_mflags}
f58344
f58344
f58344
%install
f58344
rm -rf $RPM_BUILD_ROOT
f58344
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
f58344
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
f425e7
find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
f58344
chmod -R u+w $RPM_BUILD_ROOT/*
f58344
f58344
f58344
%check
ff1aae
# These tests fail on ppc builders because of:
ff1aae
# http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
ff1aae
# Re-enable this when the upstream bug is resolved.
ff1aae
# make test
f58344
f58344
f58344
%clean
f58344
rm -rf $RPM_BUILD_ROOT
f58344
f58344
f58344
%files
f58344
%defattr(-,root,root,-)
f58344
%doc COPYING Changes README
f58344
%{_bindir}/ipcount
f58344
%{_bindir}/iptab
f58344
%{perl_vendorlib}/Net/
f58344
%{_mandir}/man3/Net::IP.3*
f58344
f58344
f58344
%changelog
0860fa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-16
0860fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0860fa
Marcela Mašláňová 2b6c25
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.25-15
Marcela Mašláňová 2b6c25
- 661697 rebuild for fixing problems with vendorach/lib
Marcela Mašláňová 2b6c25
74d227
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.25-14
74d227
- Mass rebuild with perl-5.12.0
74d227
f425e7
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1.25-13
f425e7
- fix the source URL
f425e7
bdd5ab
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1.25-12
bdd5ab
- fix license tag
bdd5ab
530bad
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.25-11
530bad
- rebuild against perl 5.10.1
530bad
9aa21d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-10
9aa21d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9aa21d
b1c7c7
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-9
b1c7c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b1c7c7
ea2da3
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-8
ea2da3
- Rebuild for perl 5.10 (again)
ea2da3
ff1aae
* Fri Feb  1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-7
ff1aae
- disable tests due to upstream bug 50114
ff1aae
236a47
* Fri Feb  1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-6
236a47
- Work around http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
236a47
37d397
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-5
37d397
- rebuild for new perl
37d397
55ce6d
* Sun Aug 12 2007 Ville Skyttä <ville.skytta at="" iki.fi=""> - 1.25-4
55ce6d
- BuildRequire perl(ExtUtils::MakeMaker)
55ce6d
- License: MIT
55ce6d
bbd716
* Sun Feb 04 2007 Robin Norwood <rnorwood@redhat.com> - 1.25-3
bbd716
- Resolves: bz#226271
bbd716
- Incorporate some fixes to the spec file from Ville:
bbd716
jvdias a720b8
* Wed Jul 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-2
jvdias a720b8
- fix bug 197925 - make intip handle zero-valued IP addresses
jvdias a720b8
jvdias 36cd19
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-1
jvdias 36cd19
- upgrade to 1.25
jvdias 36cd19
jvdias 33dda6
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.24-2.2
jvdias 33dda6
- rebuild for new perl-5.8.8
jvdias 33dda6
83e903
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
441898
- rebuilt for new gcc
441898
441898
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
83e903
- rebuilt for new gcj
83e903
f58344
* Mon Oct 31 2005 Warren Togami <wtogami@redhat.com> - 1.24-2
f58344
- import into FC5 because perl-Net-DNS needs it
f58344
f58344
* Wed Oct 19 2005 Ville Skyttä <ville.skytta at="" iki.fi=""> - 1.24-1
f58344
- 1.24.
f58344
f58344
* Mon Jun  6 2005 Ville Skyttä <ville.skytta at="" iki.fi=""> - 1.23-3
f58344
- 1.23, patches applied upstream.
f58344
- Improve description.
f58344
f58344
* Sun May 29 2005 Ville Skyttä <ville.skytta at="" iki.fi=""> - 1.22-2
f58344
- 1.22, include test case for rt.cpan.org #7528 patch.
f58344
- Patch to mute stdout noise from ip_reverse().
f58344
f58344
* Fri Apr  7 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 1.21-2
f58344
- rebuilt
f58344
f58344
* Thu Dec  2 2004 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.21-1
f58344
- Update to 1.21.
f58344
f58344
* Sat Nov  6 2004 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.7
f58344
- Apply fixes from rt.cpan.org #3844 and #7528.
f58344
- Some specfile cleanups.
f58344
f58344
* Sun May  9 2004 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.6
f58344
- BuildRequire perl >= 1:5.6.1-34.99.6 for support for vendor installdirs.
f58344
- Use pure_install to avoid perllocal.pod workarounds.
f58344
f58344
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.5
f58344
- Require perl(:MODULE_COMPAT_*).
f58344
f58344
* Mon Feb  2 2004 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.4
f58344
- Reduce directory ownership bloat.
f58344
f58344
* Mon Dec  1 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.3
f58344
- Specfile cleanup.
f58344
f58344
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.2
f58344
- Install into vendor dirs.
f58344
f58344
* Wed Jul 16 2003 Ville Skyttä <ville.skytta at="" iki.fi=""> - 0:1.20-0.fdr.1
f58344
- First build.