]>
Commit | Line | Data |
---|---|---|
85ac10bf | 1 | Summary: GeoLite City - City database for GeoIP |
9e67133d | 2 | Summary(pl.UTF-8): GeoLite City - baza danych miast dla GeoIP |
85ac10bf PG |
3 | Name: GeoIP-db-City |
4 | # Updated every month: | |
47b21338 | 5 | Version: 2007.11.01 |
85ac10bf PG |
6 | Release: 1 |
7 | License: OPEN DATA LICENSE (see LICENSE.txt) | |
8 | Group: Applications/Databases | |
9 | Source0: http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | |
47b21338 | 10 | # Source0-md5: 614ea7adcbbd88c6fed954efa411b8c8 |
85ac10bf PG |
11 | Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt |
12 | # Source1-md5: 8c0bc6e8ebe6ec3bc1580021edb4bba1 | |
13 | URL: http://www.maxmind.com/app/geolitecity | |
85ac10bf | 14 | Requires: GeoIP-libs |
9e67133d | 15 | BuildArch: noarch |
85ac10bf PG |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | GeoIP is a C library that enables the user to find the country that | |
20 | any IP address or hostname originates from. It uses a file based | |
21 | database that is accurate as of March 2003. This database simply | |
22 | contains IP blocks as keys, and countries as values. This database | |
23 | should be more complete and accurate than using reverse DNS lookups. | |
24 | ||
9e67133d JB |
25 | GeoLite City is similar to the GeoIP City database, but is not as |
26 | accurate. Should you require greater accuracy, GeoIP City is a drop-in | |
27 | replacement for GeoLite City. | |
28 | ||
29 | License disclaimer: this product includes GeoLite data created by | |
30 | MaxMind, available from <http://www.maxmind.com/>. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | GeoIP jest biblioteką napisaną w C umożliwiającą użytkownikowi | |
34 | odnalezienie państwa, z którego pochodzi dany adres IP lub domena. | |
35 | Używa do tego zapisanej w pliku bazy danych (z marca 2003). W bazie | |
36 | tej adresy IP są kluczami, a państwa wartościami. Powinna ona być | |
37 | dokładniejsza niż sprawdzanie odwrotnego DNS. | |
38 | ||
39 | GeoLite City jest podobna do bazy danych GeoIP City, ale nie jest tak | |
40 | dokładna. Jeśli wymagana jest większa dokładność, GeoIP City jest | |
41 | zamiennikiem GeoLite City. | |
85ac10bf | 42 | |
9e67133d JB |
43 | Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone |
44 | przez MaxWind, dostępne z <http://www.maxwind.com/>. | |
85ac10bf PG |
45 | |
46 | %prep | |
47 | %setup -q -c -T | |
48 | cp %{SOURCE0} . | |
49 | cp %{SOURCE1} . | |
50 | ||
51 | gunzip GeoLiteCity.dat.gz | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP | |
56 | ||
57 | install GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc *.txt | |
65 | %{_datadir}/GeoIP/*.dat |