]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/blame_incremental - GeoIP-db-IPASNum.spec
updated to 2016.02.22
[packages/GeoIP-db-IPASNum.git] / GeoIP-db-IPASNum.spec
... / ...
CommitLineData
1Summary: GeoLite IPASNum - IP to AS number translation database for GeoIP
2Summary(pl.UTF-8): GeoLite IPASNum - baza danych tłumaczeń adresów IP na numery AS dla GeoIP
3Name: GeoIP-db-IPASNum
4# Updated every month:
5Version: 2016.02.22
6Release: 1
7License: CC 3.0 BY-SA
8Group: Applications/Databases
9Source0: http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz?/GeoIPASNum-%{version}.dat.gz
10# Source0-md5: 185700f764d9983a353036069306cf00
11URL: http://dev.maxmind.com/geoip/legacy/geolite/
12Requires: GeoIP-libs
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17This package contains IPv4 to AS number translation database for
18GeoIP.
19
20License disclaimer: this product includes GeoLite data created by
21MaxMind, available from <http://www.maxmind.com/>.
22
23%description -l pl.UTF-8
24Ten pakiet zawiera bazę danych tłumaczeń adresów IPv4 na numery AS dla
25GeoIP.
26
27Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone
28przez MaxWind, dostępne z <http://www.maxwind.com/>.
29
30%prep
31%setup -qcT
32cp -p %{SOURCE0} GeoIPASNum.dat.gz
33gunzip GeoIPASNum.dat.gz
34
35ver=$(TZ=GMT stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .)
36if [ "$ver" != %{version} ]; then
37 exit 1
38fi
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
43cp -p GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%{_datadir}/GeoIP/*.dat
This page took 0.04237 seconds and 4 git commands to generate.