%define module Geo-IPfree %define version 0.2 %define release %mkrel 4 Summary: Look up country by IP Address Name: perl-%{module} Version: %{version} Release: %{release} Url: http://search.cpan.org/dist/%{module} License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Buildarch: noarch %description Look up country of IP Address. This module make this off-line and the DB of IPs is free & small. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Geo %{_mandir}/*/* %changelog * Mon Aug 20 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.2-4mdv2008.0 + Revision: 67506 - simplify buildrequires * Tue Sep 27 2005 Olivier Thauvin <nanardon@mandriva.org> 0.2-4mdk - remove MANIFEST * Tue Sep 27 2005 Olivier Thauvin <nanardon@mandriva.org> 0.2-3mdk - rebuild - make test * Tue Nov 09 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.2-2mdk - rebuild * Mon Sep 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2-1mdk - needed by w3perl