1 Summary: GeoLite Country - Country database for GeoIP
2 Summary(pl.UTF-8): GeoLite Country - baza danych krajów dla GeoIP
7 License: OPEN DATA LICENSE (see LICENSE.txt)
8 Group: Applications/Databases
9 Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
10 # Source0-md5: 42a6b039337ed271ee0c8f40497ceba9
11 Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
12 # Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
13 URL: http://www.maxmind.com/app/geolitecountry
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
25 GeoLite Country is similar to the GeoIP Country database, but is not
26 as accurate. Should you require greater accuracy, GeoIP Country is a
27 drop-in replacement for GeoLite Country.
29 License disclaimer: this product includes GeoLite data created by
30 MaxMind, available from <http://www.maxmind.com/>.
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.
39 GeoLite Country jest podobna do bazy danych GeoIP Country, ale nie
40 jest tak dokładna. Jeśli wymagana jest większa dokładność, GeoIP
41 Country jest zamiennikiem GeoLite Country.
43 Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone
44 przez MaxWind, dostępne z <http://www.maxwind.com/>.
53 ver=$(stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
54 if [ "$ver" != %{version} ]; then
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
61 cp -a GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %{_datadir}/GeoIP/*.dat