From: Scott Baker Date: Tue, 15 Apr 2014 06:51:04 +0000 (-0700) Subject: download and install GeoIP city database X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=edec3329f5d0372e2ae83d10bdae9f07f0fd6d77 download and install GeoIP city database --- diff --git a/opencloud.spec b/opencloud.spec index 256a190..3420bdf 100644 --- a/opencloud.spec +++ b/opencloud.spec @@ -53,6 +53,10 @@ easy_install google_api_python_client wget -P /usr/lib/python2.7/site-packages/suit/static/suit/js http://code.jquery.com/jquery-1.9.1.min.js +rm -f /usr/share/GeoIP/GeoLiteCity* +wget -P /usr/share/GeoIP http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz +gzip -d /usr/share/GeoIP/GeoLiteCity*.gz + %install rm -rf %{buildroot} mkdir -p %{buildroot}