%define modname Net-IP %define modver 1.26 Summary: Perl extension for manipulating IPv4/IPv6 addresses Name: perl-%{modname} Version: %perl_convert_version %{modver} Release: 9 License: GPLv2+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{modname} Source0: http://www.cpan.org/modules/by-module/Net/Net-IP-%{modver}.tar.gz BuildArch: noarch BuildRequires: perl(Math::BigInt) BuildRequires: perl-devel %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 -qn %{modname}-%{modver} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc README Changes %{_bindir}/* %{perl_vendorlib}/Net %{_mandir}/man3/*