]> git.pld-linux.org Git - packages/GeoIP-db-City.git/blame - GeoIP-db-City.spec
- md5
[packages/GeoIP-db-City.git] / GeoIP-db-City.spec
CommitLineData
85ac10bf
PG
1Summary: GeoLite City - City database for GeoIP
2Name: GeoIP-db-City
3# Updated every month:
4Version: 2007.08.01
5Release: 1
6License: OPEN DATA LICENSE (see LICENSE.txt)
7Group: Applications/Databases
8Source0: http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
fb0e39f0 9# Source0-md5: 04b160944385f4d5989bedef89124a9d
85ac10bf
PG
10Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
11# Source1-md5: 8c0bc6e8ebe6ec3bc1580021edb4bba1
12URL: http://www.maxmind.com/app/geolitecity
13BuildArch: noarch
14Requires: GeoIP-libs
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18GeoIP is a C library that enables the user to find the country that
19any IP address or hostname originates from. It uses a file based
20database that is accurate as of March 2003. This database simply
21contains IP blocks as keys, and countries as values. This database
22should be more complete and accurate than using reverse DNS lookups.
23
24GeoLite City is similar to the GeoIP City database, but is not as accurate.
25Should you require greater accuracy, GeoIP City is a drop-in replacement
26for GeoLite City.
27
28License disclaimer:
29This product includes GeoLite data created by MaxMind, available from
30http://www.maxmind.com/.
31
32%prep
33%setup -q -c -T
34cp %{SOURCE0} .
35cp %{SOURCE1} .
36
37gunzip GeoLiteCity.dat.gz
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
42
43install GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc *.txt
51%{_datadir}/GeoIP/*.dat
This page took 0.226013 seconds and 4 git commands to generate.