%define upstream_name Net-Traceroute %define upstream_version 1.10 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Net-Traceroute module for perl License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description This module implements traceroute(1) functionality for perl5. It allows you to trace the path IP packets take to a destination. It is currently implemented as a parser around the system traceroute command. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make OPTIMIZE="%{optflags}" CFLAGS="%{optflags}" %check # make test dies... # make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog README TODO %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Wed Jul 29 2009 Jérôme Quelin <jquelin@mandriva.org> 1.100.0-1mdv2010.0 + Revision: 404260 - rebuild using %%perl_convert_version * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.10-4mdv2009.0 + Revision: 258137 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.10-3mdv2009.0 + Revision: 246201 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.10-1mdv2008.1 + Revision: 97525 - update to new version 1.10 * Wed May 09 2007 Oden Eriksson <oeriksson@mandriva.com> 1.09-4mdv2008.0 + Revision: 25453 - rebuild * Tue May 08 2007 Olivier Thauvin <nanardon@mandriva.org> 1.09-3mdv2008.0 + Revision: 25194 - rebuild * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.09-2mdk - Fix SPEC according to Perl Policy - Source URL - URL - use mkrel * Wed Jul 20 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.09-1mdk - 1.09 * Thu Feb 10 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.08-1mdk - initial Mandrakelinux package