]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/blame_incremental - GeoIP-db-IPASNum.spec
up to 2015.06.14
[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: 2015.06.14
6Release: 1
7License: CC 3.0 BY-SA
8Group: Applications/Databases
9Source0: http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
10# Source0-md5: dc026c32b87ed17503faa96977e6dac9
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} .
33
34gunzip GeoIPASNum.dat.gz
35
36ver=$(TZ=GMT stat -c '%y' GeoIPASNum.dat | awk '{print $1}' | tr - .)
37if [ "$ver" != %{version} ]; then
38 exit 1
39fi
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
44cp -p GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%{_datadir}/GeoIP/*.dat
This page took 0.028319 seconds and 4 git commands to generate.