|
cvsextras |
bd8381f |
Name: perl-Net-IP
|
|
|
f994442 |
Version: 1.25
|
|
|
f994442 |
# Must be <=2 (don't break EPEL4 -> RHEL5 update)
|
|
|
f994442 |
Release: 1%{?dist}
|
|
cvsextras |
bd8381f |
Summary: Perl module for manipulation of IPv4 and IPv6 addresses
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
Group: Development/Libraries
|
|
|
f994442 |
# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
|
|
|
f994442 |
License: MIT
|
|
cvsextras |
bd8381f |
URL: http://search.cpan.org/dist/Net-IP/
|
|
|
f994442 |
Source: ftp://cpan.org/pub/CPAN/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
|
|
cvsextras |
bd8381f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
BuildArch: noarch
|
|
|
f994442 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
f994442 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
f994442 |
|
|
|
f994442 |
Patch0: perl-Net-IP-1.25-bz197425.patch
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%description
|
|
|
b5fb3b8 |
This is the Net::IP module for Perl, designed to allow easy
|
|
|
b5fb3b8 |
manipulation of IPv4 and IPv6 addresses. Two applications using the
|
|
|
b5fb3b8 |
Net::IP module are included: ipcount, an IP address mini-calculator,
|
|
|
b5fb3b8 |
it can calculate the number of IP addresses in a prefix or all the
|
|
|
b5fb3b8 |
prefixes contained in a given range; and iptab, which prints out a
|
|
|
b5fb3b8 |
handy IP "cheat sheet".
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%prep
|
|
cvsextras |
bd8381f |
%setup -q -n Net-IP-%{version}
|
|
|
f994442 |
%patch0 -p1
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%build
|
|
|
8bbf285 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
8bbf285 |
make %{?_smp_mflags}
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%install
|
|
cvsextras |
bd8381f |
rm -rf $RPM_BUILD_ROOT
|
|
cvsextras |
bd8381f |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
8bbf285 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
f994442 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
cvsextras |
bd8381f |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
|
|
|
f994442 |
%check
|
|
|
f994442 |
# These tests fail on ppc builders because of:
|
|
|
f994442 |
# http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
|
|
|
f994442 |
# Re-enable this when the upstream bug is resolved.
|
|
|
f994442 |
# make test
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%clean
|
|
cvsextras |
bd8381f |
rm -rf $RPM_BUILD_ROOT
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%files
|
|
cvsextras |
bd8381f |
%defattr(-,root,root,-)
|
|
cvsextras |
bd8381f |
%doc COPYING Changes README
|
|
cvsextras |
bd8381f |
%{_bindir}/ipcount
|
|
cvsextras |
bd8381f |
%{_bindir}/iptab
|
|
|
0a3a65d |
%{perl_vendorlib}/Net/
|
|
cvsextras |
bd8381f |
%{_mandir}/man3/Net::IP.3*
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
%changelog
|
|
|
f994442 |
* Tue Jun 03 2008 Remi Collet <Fedora@FamilleCollet.com> -1.25-1.el4
|
|
|
f994442 |
- latest version from rawhide spec to EPEL4
|
|
|
f994442 |
- keep evr < 1.25-2.fc6 (in RHEL 5.1)
|
|
|
f994442 |
|
|
|
f994442 |
* Fri Feb 1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-7
|
|
|
f994442 |
- disable tests due to upstream bug 50114
|
|
|
f994442 |
|
|
|
f994442 |
* Fri Feb 1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-6
|
|
|
f994442 |
- Work around http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
|
|
|
f994442 |
|
|
|
f994442 |
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.25-5
|
|
|
f994442 |
- rebuild for new perl
|
|
|
f994442 |
|
|
|
f994442 |
* Sun Aug 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.25-4
|
|
|
f994442 |
- BuildRequire perl(ExtUtils::MakeMaker)
|
|
|
f994442 |
- License: MIT
|
|
|
f994442 |
|
|
|
f994442 |
* Sun Feb 04 2007 Robin Norwood <rnorwood@redhat.com> - 1.25-3
|
|
|
f994442 |
- Resolves: bz#226271
|
|
|
f994442 |
- Incorporate some fixes to the spec file from Ville:
|
|
|
f994442 |
|
|
|
f994442 |
* Wed Jul 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-2
|
|
|
f994442 |
- fix bug 197925 - make intip handle zero-valued IP addresses
|
|
|
f994442 |
|
|
|
f994442 |
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-1
|
|
|
f994442 |
- upgrade to 1.25
|
|
|
f994442 |
|
|
|
f994442 |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.24-2.2
|
|
|
f994442 |
- rebuild for new perl-5.8.8
|
|
|
f994442 |
|
|
|
f994442 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
f994442 |
- rebuilt for new gcc
|
|
|
f994442 |
|
|
|
f994442 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
f994442 |
- rebuilt for new gcj
|
|
|
f994442 |
|
|
|
f994442 |
* Mon Oct 31 2005 Warren Togami <wtogami@redhat.com> - 1.24-2
|
|
|
f994442 |
- import into FC5 because perl-Net-DNS needs it
|
|
|
f994442 |
|
|
|
f994442 |
* Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.24-1
|
|
|
f994442 |
- 1.24.
|
|
|
f994442 |
|
|
|
f994442 |
* Mon Jun 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3
|
|
|
b5fb3b8 |
- 1.23, patches applied upstream.
|
|
|
b5fb3b8 |
- Improve description.
|
|
|
b5fb3b8 |
|
|
|
f994442 |
* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.22-2
|
|
|
0a3a65d |
- 1.22, include test case for rt.cpan.org #7528 patch.
|
|
|
0a3a65d |
- Patch to mute stdout noise from ip_reverse().
|
|
|
0a3a65d |
|
|
|
f994442 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-2
|
|
|
f994442 |
- rebuilt
|
|
|
f994442 |
|
|
|
8bbf285 |
* Thu Dec 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.21-1
|
|
|
8bbf285 |
- Update to 1.21.
|
|
|
8bbf285 |
|
|
|
8bbf285 |
* Sat Nov 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.7
|
|
|
8bbf285 |
- Apply fixes from rt.cpan.org #3844 and #7528.
|
|
|
8bbf285 |
- Some specfile cleanups.
|
|
|
8bbf285 |
|
|
cvsextras |
bd8381f |
* Sun May 9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.6
|
|
cvsextras |
bd8381f |
- BuildRequire perl >= 1:5.6.1-34.99.6 for support for vendor installdirs.
|
|
cvsextras |
bd8381f |
- Use pure_install to avoid perllocal.pod workarounds.
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.5
|
|
cvsextras |
bd8381f |
- Require perl(:MODULE_COMPAT_*).
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
* Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.4
|
|
cvsextras |
bd8381f |
- Reduce directory ownership bloat.
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
* Mon Dec 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.3
|
|
cvsextras |
bd8381f |
- Specfile cleanup.
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.2
|
|
cvsextras |
bd8381f |
- Install into vendor dirs.
|
|
cvsextras |
bd8381f |
|
|
cvsextras |
bd8381f |
* Wed Jul 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.1
|
|
cvsextras |
bd8381f |
- First build.
|