update to 20181126 [release 20181126-1mamba;Mon Nov 26 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 17:45:03 +01:00
parent 5374d38785
commit e7a12847b3
5 changed files with 18 additions and 6 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
[ $1 ] || exit 1
curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -o GeoIP-$1.dat.gz
curl http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz -o GeoIPv6-$1.dat.gz

View File

@ -1,14 +1,16 @@
Name: Geo-db-LiteCountry
Version: 20080803
Release: 2mamba
Version: 20181126
Release: 1mamba
Summary: GeoLite LiteCountry - Country database for GeoIP
Group: Applications/Databases
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.maxmind.com/app/geolitecountry
Source0: http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP-%{version}.dat.gz
Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
Source2: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIPv6-%{version}.dat.gz
Source3: Geo-db-LiteCountry-autoupdate
License: OPEN DATA LICENSE
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
@ -34,7 +36,9 @@ or use of this database must display the following acknowledgment:
%setup -q -c -T
cp %{SOURCE0} .
cp %{SOURCE1} .
gunzip GeoIP.dat.gz
cp %{SOURCE2} .
gunzip GeoIP-%{version}.dat.gz
gunzip GeoIPv6-%{version}.dat.gz
%build
@ -42,7 +46,8 @@ gunzip GeoIP.dat.gz
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_datadir}/GeoIP
install GeoIP.dat %{buildroot}%{_datadir}/GeoIP
install GeoIP-%{version}.dat %{buildroot}%{_datadir}/GeoIP/GeoIP.dat
install GeoIPv6-%{version}.dat %{buildroot}%{_datadir}/GeoIP/GeoIPv6.dat
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -54,6 +59,9 @@ install GeoIP.dat %{buildroot}%{_datadir}/GeoIP
%doc *.txt
%changelog
* Mon Nov 26 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20181126-1mamba
- update to 20181126
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 20080803-2mamba
- automatic rebuild by autodist

BIN
GeoIP-20181126.dat.gz Normal file

Binary file not shown.

Binary file not shown.

BIN
GeoIPv6-20181126.dat.gz Normal file

Binary file not shown.