]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/blobdiff - GeoIP-db-IPASNum.spec
updated to 2016.05.16
[packages/GeoIP-db-IPASNum.git] / GeoIP-db-IPASNum.spec
index 50e762a9eac3553483b78517c5cf007342b2a0ad..fcb736ac6773bbb848c5676fb1fe80baee394495 100644 (file)
@@ -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.09.03
+Version:       2016.05.16
 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: b09b661018016da1ae0ae29430e815b4
-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: 1f1b46ff3ddd499584a010362f26fc25
+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 <http://www.maxmind.com/>.
 
 %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 <http://www.maxwind.com/>.
 
 %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
This page took 0.243798 seconds and 4 git commands to generate.