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