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