]> git.pld-linux.org Git - packages/perl-Geo-IP.git/blame - perl-Geo-IP.spec
- new bcond style; some cosmetics here and there; changelog cleanups
[packages/perl-Geo-IP.git] / perl-Geo-IP.spec
CommitLineData
64447d6b
AG
1#
2# Conditional build:
48b1c251 3%bcond_with tests # perform "make test"
4 # (requires working DNS - but may fail anyway, because of some NXDOMAIN)
64447d6b 5#
64447d6b
AG
6%include /usr/lib/rpm/macros.perl
7%define pdir Geo
8%define pnam IP
995bc9e6
JB
9Summary: Geo::IP - look up country by IP Address
10Summary(pl): Geo::IP - odszukanie kraju po adresie IP
64447d6b 11Name: perl-%{pdir}-%{pnam}
6eff2cd3 12Version: 1.21
64447d6b 13Release: 0.1
c961a711 14License: GPL
64447d6b
AG
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
6eff2cd3 17# Source0-md5: aecdf56c0340b59b66532950e40a9f63
995bc9e6 18BuildRequires: GeoIP-devel
64447d6b
AG
19BuildRequires: perl-devel >= 5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
64447d6b
AG
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
995bc9e6
JB
24This module uses a file based database. This database simply contains
25IP blocks as keys, and countries as values. This database should be
26more complete and accurate than reverse DNS lookups.
27
28This module can be used to automatically select the geographically
29closest mirror, to analyze your web server logs to determine the
30countries of your visitors, for credit card fraud detection, and for
31software export controls.
64447d6b
AG
32
33%description -l pl
995bc9e6
JB
34