%define module NetAddr-IP %define name perl-%{module} %define version 4.004 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Manage IPv4 and IPv6 addresses and subnets in Perl Group: Development/Perl License: Artistic Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/Net/%{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version} %description This module provides an object-oriented abstraction on top of IP addresses or IP subnets, that allows for easy manipulations. %prep %setup -q -n %{module}-%{version} rm -f t/00-Sign.t # debug files make it fails %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %{makeinstall_std} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{perl_vendorarch}/NetAddr %{perl_vendorarch}/auto/NetAddr %{_mandir}/*/* %changelog * Mon Aug 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 4.004-1mdv2007.0 - new release * Wed May 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 3.33-1mdk - New release 3.33 * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 3.028-2mdk - Fix SPEC according to Perl Policy - Source URL * Fri Nov 18 2005 Guillaume Rousse <guillomovitch@mandriva.org> 3.028-1mdk - New release 3.028 - %%mkrel * Tue Sep 27 2005 Guillaume Rousse <guillomovitch@mandriva.org> 3.25-1mdk - New release 3.25 - spec cleanup * Fri Jun 24 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 3.24-1mdk - 3.24 - trim description * Wed Nov 10 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.21-1mdk - 3.21 * Thu Jun 03 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.20-1mdk - Initial mdk release