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