Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37547137
en ru br
ALT Linux repos
S:1.51-alt1.2
5.0: 1.25-alt1.1
4.1: 1.25-alt1.1
4.0: 1.25-alt1.1
3.0: 1.25-alt1.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define module Geo-IP

Name: perl-%module
Version: 1.50
Release: alt1.1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Look up country by IP Address
License: Perl
Group: Development/Perl

Url: %CPAN %module
Source: http://www.cpan.org/authors/id/M/MA/MAXMIND/Geo-IP-%{version}.tar.gz

# 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

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

Full changelog you can see here

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