%define pkg_name Net-IP %define pkg_version 1.25 %define rpm_pkg_version 1.25 %define rpm_pkg_release 3.n0i.7 Summary: Perl extension for manipulating IPv4/IPv6 addresses Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/M/MA/MANU/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description This module provides functions to deal with IPv4/IPv6 addresses. The module can be used as a class, allowing the user to instantiate IP objects, which can be single IP addresses, prefixes, or ranges of addresses. There is also a procedural way of accessing most of the functions. Most subroutines can take either IPv4 or IPv6 addresses transparently. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b} %doc Changes COPYING README %changelog * Tue May 22 2007 Marius Feraru - 1.25-3.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - mass rebuild * Thu Feb 22 2007 Marius FERARU - 1.25-2.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer v1.14.0 * Thu May 25 2006 Marius Feraru - 1.25-1.n0i.5 - version 1.25 * Thu Nov 03 2005 Marius Feraru 1.24-1.n0i.4 - version 1.24 * Sat Jul 23 2005 Marius Feraru 1.23-1.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.21-1.n0i.2 - automatic rebuild (perl 5.8.6) * Mon Dec 06 2004 Marius Feraru 0:1.21-1.n0i.1 - version 1.21 - spec file (re?)created using N0i::CPAN::RPMizer/2004083101