1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
%define module Geo-IP Name: perl-%module Version: 1.41 Release: alt1 Packager: Victor Forsyuk <force@altlinux.org> Summary: Look up country by IP Address License: Perl Group: Development/Perl Url: %CPAN %module Source: http://www.cpan.org/modules/by-module/Geo/%module-%version.tar.gz # from Fedora Patch: Geo-IP-1.28-yahoo-namelookuptest.diff # Automatically added by buildreq on Sat Oct 08 2011 BuildRequires: libGeoIP-devel perl-devel %description This module uses a file-based database. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than reverse DNS lookups. %prep %setup -n %module-%version %patch find lib/ example/ -type f -print0 | xargs -r0 %__subst -p 's./usr/local/share/GeoIP./usr/share/GeoIP.' %build %perl_vendor_build %install %perl_vendor_install %files %doc README Changes example %perl_vendor_archlib/Geo %perl_vendor_autolib/Geo %changelog * Wed Apr 17 2013 Andrey Cherepanov <cas@altlinux.org> 1.41-alt1 - New version 1.41 with correct test for libGeoIP-1.5.0 * Fri Aug 31 2012 Vladimir Lettiev <crux@altlinux.ru> 1.40-alt2 - rebuilt for perl-5.16 * Sat Oct 08 2011 Alexey Tourbin <at@altlinux.ru> 1.40-alt1 - 1.38 -> 1.40 - built for perl-5.14 - disabled online test (patch from Fedora) * Sat Nov 06 2010 Vladimir Lettiev <crux@altlinux.ru> 1.38-alt1.1 - rebuilt with perl 5.12 * Wed Oct 07 2009 Victor Forsyuk <force@altlinux.org> 1.38-alt1 - 1.38 - Fix default path to GeoIP database. * Mon Apr 11 2005 LAKostis <lakostis at altlinux.ru> 1.25-alt1.1 - spec cleanup. * Sat Apr 09 2005 LAKostis <lakostis at altlinux.ru> 1.25-alt1 - first build for Sisyphus.