1 Summary: GeoLite Country - Country database for GeoIP
2 Summary(pl.UTF-8): GeoLite Country - baza danych krajów dla GeoIP
8 Group: Applications/Databases
9 Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
10 # Source0-md5: a551a8f2044c3e6e364c1aa82fe183b3
11 URL: http://dev.maxmind.com/geoip/legacy/geolite/
12 Requires: GeoIP-libs >= 1.4.5-2
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 GeoLite Country is similar to the GeoIP Country database, but is not
18 as accurate. Should you require greater accuracy, GeoIP Country is a
19 drop-in replacement for GeoLite Country.
21 License disclaimer: this product includes GeoLite data created by
22 MaxMind, available from <http://www.maxmind.com/>.
24 %description -l pl.UTF-8
25 GeoLite Country jest podobna do bazy danych GeoIP Country, ale nie
26 jest tak dokładna. Jeśli wymagana jest większa dokładność, GeoIP
27 Country jest zamiennikiem GeoLite Country.
29 Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone
30 przez MaxWind, dostępne z <http://www.maxwind.com/>.
38 ver=$(TZ=GMT stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
39 if [ "$ver" != %{version} ]; then
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
46 cp -p GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %{_datadir}/GeoIP/*.dat