]> git.pld-linux.org Git - packages/perl-Geo-IP.git/blame - perl-Geo-IP.spec
- fixed perl-devel BR
[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
aa3ce648 13Release: 1
4999d693 14# same as perl
15License: GPL v1+ or Artistic
64447d6b
AG
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
6eff2cd3 18# Source0-md5: aecdf56c0340b59b66532950e40a9f63
995bc9e6 19BuildRequires: GeoIP-devel
94f28686 20BuildRequires: perl-devel >= 1:5.8.0
64447d6b 21BuildRequires: rpm-perlprov >= 4.1-13
64447d6b
AG
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
995bc9e6
JB
25This module uses a file based database. This database simply contains
26IP blocks as keys, and countries as values. This database should be
27more complete and accurate than reverse DNS lookups.
28
29This module can be used to automatically select the geographically
30closest mirror, to analyze your web server logs to determine the
31countries of your visitors, for credit card fraud detection, and for
32software export controls.
64447d6b
AG
33
34%description -l pl
995bc9e6
JB
35