]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/blob - GeoIP-db-IPASNum.spec
- up to 2008.11.19
[packages/GeoIP-db-IPASNum.git] / GeoIP-db-IPASNum.spec
1 Summary:        GeoLite IPASNum - IP to AS number translation database for GeoIP
2 Summary(pl.UTF-8):      GeoLite IPASNum - baza danych tłumaczeń adresów IP na numery AS dla GeoIP
3 Name:           GeoIP-db-IPASNum
4 # Updated every month:
5 Version:        2008.11.19
6 Release:        1
7 License:        OPEN DATA LICENSE (see LICENSE.txt)
8 Group:          Applications/Databases
9 Source0:        http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
10 # Source0-md5:  d840b4568bfc1c6f3f50a1861664fa6a
11 Source1:        http://www.maxmind.com/download/geoip/database/LICENSE.txt
12 # Source1-md5:  a1381bd1aa0a0c91dc31b3f1e847cf4a
13 URL:            http://www.maxmind.com/app/asnum
14 Requires:       GeoIP-libs
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 GeoIP is a C library that enables the user to find the country that
20 any IP address or hostname originates from. It uses a file based
21 database that is accurate as of March 2003. This database simply
22 contains IP blocks as keys, and countries as values. This database
23 should be more complete and accurate than using reverse DNS lookups.
24
25 This package contains IPv4 to AS number translation database for
26 GeoIP.
27
28 License disclaimer: this product includes GeoLite data created by
29 MaxMind, available from <http://www.maxmind.com/>.
30
31 %description -l pl.UTF-8
32 GeoIP jest biblioteką napisaną w C umożliwiającą użytkownikowi
33 odnalezienie państwa, z którego pochodzi dany adres IP lub domena.
34 Używa do tego zapisanej w pliku bazy danych (z marca 2003). W bazie
35 tej adresy IP są kluczami, a państwa wartościami. Powinna ona być
36 dokładniejsza niż sprawdzanie odwrotnego DNS. 
37
38 Ten pakiet zawiera bazę danych tłumaczeń adresów IPv4 na numery AS
39 dla GeoIP.
40
41 Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone
42 przez MaxWind, dostępne z <http://www.maxwind.com/>.
43
44 %prep
45 %setup -q -c -T
46 cp %{SOURCE0} .
47 cp %{SOURCE1} .
48
49 gunzip GeoIPASNum.dat.gz
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
54
55 install GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.txt
63 %{_datadir}/GeoIP/*.dat
This page took 0.071034 seconds and 4 git commands to generate.