X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=GeoIP-db-IPASNum.spec;h=072e5ada585e274af492c905ef13d44970960ea5;hb=6d79c1a83dca370c45006353545fc4b2ea68cc92;hp=32169ec5d15bad45bec7f3462296a54a6d5fbfa0;hpb=43eb813b354529aafd3990334fd7b1ea11c3c4de;p=packages%2FGeoIP-db-IPASNum.git diff --git a/GeoIP-db-IPASNum.spec b/GeoIP-db-IPASNum.spec index 32169ec..072e5ad 100644 --- a/GeoIP-db-IPASNum.spec +++ b/GeoIP-db-IPASNum.spec @@ -2,15 +2,13 @@ Summary: GeoLite IPASNum - IP to AS number translation database for GeoIP Summary(pl.UTF-8): GeoLite IPASNum - baza danych tłumaczeń adresów IP na numery AS dla GeoIP Name: GeoIP-db-IPASNum # Updated every month: -Version: 2013.11.05 +Version: 2016.05.30 Release: 1 -License: OPEN DATA LICENSE (see LICENSE.txt) +License: CC 3.0 BY-SA Group: Applications/Databases -Source0: http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz -# Source0-md5: 60bb4f9a4faea1213ad31618b53af32c -Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt -# Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a -URL: http://www.maxmind.com/app/asnum +Source0: http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz?/GeoIPASNum-%{version}.dat.gz +# Source0-md5: 7eeb83f7c748658006dc20de36b9ed42 +URL: http://dev.maxmind.com/geoip/legacy/geolite/ Requires: GeoIP-libs BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -23,17 +21,15 @@ License disclaimer: this product includes GeoLite data created by MaxMind, available from . %description -l pl.UTF-8 -Ten pakiet zawiera bazę danych tłumaczeń adresów IPv4 na numery AS -dla GeoIP. +Ten pakiet zawiera bazę danych tłumaczeń adresów IPv4 na numery AS dla +GeoIP. Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone -przez MaxWind, dostępne z . +przez MaxMind, dostępne z . %prep %setup -qcT -cp -p %{SOURCE0} . -cp -p %{SOURCE1} . - +cp -p %{SOURCE0} GeoIPASNum.dat.gz gunzip GeoIPASNum.dat.gz ver=$(TZ=GMT stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .) @@ -51,5 +47,4 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.txt %{_datadir}/GeoIP/*.dat