]>
Commit | Line | Data |
---|---|---|
85ac10bf | 1 | Summary: GeoLite City - City database for GeoIP |
9e67133d | 2 | Summary(pl.UTF-8): GeoLite City - baza danych miast dla GeoIP |
85ac10bf PG |
3 | Name: GeoIP-db-City |
4 | # Updated every month: | |
8bce71a7 | 5 | Version: 2010.09.02 |
fcdf3913 | 6 | Release: 1 |
85ac10bf PG |
7 | License: OPEN DATA LICENSE (see LICENSE.txt) |
8 | Group: Applications/Databases | |
959be8f4 | 9 | Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz |
8bce71a7 | 10 | # Source0-md5: 8cc8b3af84316b01cdc91a2b5c92058c |
85ac10bf | 11 | Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt |
959be8f4 | 12 | # Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a |
85ac10bf | 13 | URL: http://www.maxmind.com/app/geolitecity |
9e67133d | 14 | BuildArch: noarch |
85ac10bf PG |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
c13f1070 | 18 | Determine country, state/region, city, US postal code, US area code, |
19 | metro code, latitude, and longitude information for IP addresses | |
20 | worldwide. | |
9e67133d JB |
21 | |
22 | License disclaimer: this product includes GeoLite data created by | |
23 | MaxMind, available from <http://www.maxmind.com/>. | |
24 | ||
25 | %description -l pl.UTF-8 | |
c13f1070 | 26 | Znajdź państwo, stan/region, miasto, kod pocztowy, kod regionu, kod |
27 | miejski, szerokość i wysokość geograficzną dla adresów IP z całego | |
28 | świata. | |
85ac10bf | 29 | |
9e67133d JB |
30 | Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone |
31 | przez MaxWind, dostępne z <http://www.maxwind.com/>. | |
85ac10bf PG |
32 | |
33 | %prep | |
34 | %setup -q -c -T | |
cc6ff7d0 ER |
35 | cp -a %{SOURCE0} . |
36 | cp -a %{SOURCE1} . | |
85ac10bf PG |
37 | |
38 | gunzip GeoLiteCity.dat.gz | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP | |
cc6ff7d0 ER |
43 | cp -a GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP |
44 | ln -s GeoLiteCity.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP/GeoIPCity.dat | |
85ac10bf PG |
45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc *.txt | |
cc6ff7d0 | 52 | %dir %{_datadir}/GeoIP |
85ac10bf | 53 | %{_datadir}/GeoIP/*.dat |