1 Summary: GeoLite Country - Country database for GeoIP
6 License: OPEN DATA LICENSE (see LICENSE.txt)
7 Group: Applications/Databases
8 Source0: http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
9 # Source0-md5: ce03b15a08e26c88ec2fd8f5c08f8e4b
10 Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
11 # Source1-md5: 8c0bc6e8ebe6ec3bc1580021edb4bba1
12 URL: http://www.maxmind.com/app/geolitecountry
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 GeoIP is a C library that enables the user to find the country that
19 any IP address or hostname originates from. It uses a file based
20 database that is accurate as of March 2003. This database simply
21 contains IP blocks as keys, and countries as values. This database
22 should be more complete and accurate than using reverse DNS lookups.
24 GeoLite Country is similar to the GeoIP Country database, but is not as
25 accurate. Should you require greater accuracy, GeoIP Country is a drop-in
26 replacement for GeoLite Country.
29 This product includes GeoLite data created by MaxMind, available from
30 http://www.maxmind.com/.
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
43 install GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{_datadir}/GeoIP/*.dat