Summary: GeoLite Country - Country database for GeoIP Summary(pl.UTF-8): GeoLite Country - baza danych krajów dla GeoIP Name: GeoIP-db-Country # Updated every month: Version: 2014.01.08 Release: 1 License: CC 3.0 BY-SA Group: Applications/Databases Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz # Source0-md5: ed08051b7418da82bd636fdb430aac8a URL: http://dev.maxmind.com/geoip/legacy/geolite/ Requires: GeoIP-libs >= 1.4.5-2 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description GeoLite Country is similar to the GeoIP Country database, but is not as accurate. Should you require greater accuracy, GeoIP Country is a drop-in replacement for GeoLite Country. License disclaimer: this product includes GeoLite data created by MaxMind, available from . %description -l pl.UTF-8 GeoLite Country jest podobna do bazy danych GeoIP Country, ale nie jest tak dokładna. Jeśli wymagana jest większa dokładność, GeoIP Country jest zamiennikiem GeoLite Country. Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone przez MaxWind, dostępne z . %prep %setup -qcT cp -p %{SOURCE0} . gunzip GeoIP.dat.gz ver=$(TZ=GMT stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .) if [ "$ver" != %{version} ]; then exit 1 fi %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP cp -p GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %{_datadir}/GeoIP/*.dat