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: 2012.09.05 Release: 1 License: OPEN DATA LICENSE (see LICENSE.txt) Group: Applications/Databases Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz # Source0-md5: c053f11cb8383fb8f4826591b0cbae3d Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt # Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a URL: http://www.maxmind.com/app/geolitecountry Requires: GeoIP-libs 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} . cp -p %{SOURCE1} . 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) %doc *.txt %{_datadir}/GeoIP/*.dat