f58344c
Name:           perl-Net-IP
f58344c
Version:        1.24
jvdias 33dda64
Release: 	2%{?dist}.2
f58344c
Summary:        Perl module for manipulation of IPv4 and IPv6 addresses
f58344c
f58344c
Group:          Development/Libraries
f58344c
License:        GPL or Artistic
f58344c
URL:            http://search.cpan.org/dist/Net-IP/
f58344c
Source:         http://www.cpan.org/modules/by-module/Net/Net-IP-%{version}.tar.gz
f58344c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f58344c
f58344c
BuildArch:      noarch
f58344c
BuildRequires:  perl
f58344c
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f58344c
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}
f58344c
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 {} ';'
f58344c
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
f58344c
chmod -R u+w $RPM_BUILD_ROOT/*
f58344c
f58344c
f58344c
%check
f58344c
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
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.