Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15282981
en ru br
ALT Linux repos
S:1.26-alt1
5.0: 1.17-alt1
4.1: 1.17-alt1
4.0: 1.17-alt1
3.0: 1.14-alt1.1

Group :: Development/Perl
RPM: perl-Geo-IP-PurePerl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# no network :(
%def_disable test
%define module Geo-IP-PurePerl

Name: perl-%module
Version: 1.25
Release: alt2

Packager: Victor Forsiuk <force at altlinux.org>

Summary: Geo::IP::PurePerl - Look up country by IP Address
License: GPLv2+
Group: Development/Perl

BuildArch: noarch

Url: %CPAN %module
Source: http://search.cpan.org/CPAN/authors/id/B/BO/BORISZ/%module-%version.tar.gz

# Automatically added by buildreq on Fri Jun 25 2010 (-bi)

BuildRequires: GeoIP-Lite-Country perl-Encode perl-Locale-Codes perl-devel

# automatically added during perl 5.8 -> 5.12 upgrade.

# perl-podlators is required for pod2man conversion.
BuildRequires: perl-podlators

%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

%build
find . -type f -print0 | xargs -r0 subst 's./usr/local/share/GeoIP./usr/share/GeoIP.'
%perl_vendor_build INSTALLMAN1DIR=%_man1dir

%install
%perl_vendor_install

%files
%doc README Changes geoip-lookup-*
%_bindir/geoip-lookup
%_man1dir/*
%perl_vendor_privlib/Geo

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin