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