]>
Commit | Line | Data |
---|---|---|
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 |
9 | Summary: Geo::IP - look up country by IP Address |
10 | Summary(pl): Geo::IP - odszukanie kraju po adresie IP | |
64447d6b | 11 | Name: perl-%{pdir}-%{pnam} |
6eff2cd3 | 12 | Version: 1.21 |
64447d6b | 13 | Release: 0.1 |
c961a711 | 14 | License: GPL |
64447d6b AG |
15 | Group: Development/Languages/Perl |
16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
6eff2cd3 | 17 | # Source0-md5: aecdf56c0340b59b66532950e40a9f63 |
995bc9e6 | 18 | BuildRequires: GeoIP-devel |
64447d6b AG |
19 | BuildRequires: perl-devel >= 5.8.0 |
20 | BuildRequires: rpm-perlprov >= 4.1-13 | |
64447d6b AG |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
995bc9e6 JB |
24 | This module uses a file based database. This database simply contains |
25 | IP blocks as keys, and countries as values. This database should be | |
26 | more complete and accurate than reverse DNS lookups. | |
27 | ||
28 | This module can be used to automatically select the geographically | |
29 | closest mirror, to analyze your web server logs to determine the | |
30 | countries of your visitors, for credit card fraud detection, and for | |
31 | software export controls. | |
64447d6b AG |
32 | |
33 | %description -l pl | |
995bc9e6 JB |
34 |