]> git.pld-linux.org Git - packages/GeoIP-db-Country.git/blame - GeoIP-db-Country.spec
- up to 2011.02.02
[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:
9041ff3f 5Version: 2011.02.02
2b240ee7
PG
6Release: 1
7License: OPEN DATA LICENSE (see LICENSE.txt)
8Group: Applications/Databases
e252b63d 9Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
9041ff3f 10# Source0-md5: f14f4b37ed5db77409cd1051468c79fd
2b240ee7 11Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
e252b63d 12# Source1-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
2b240ee7 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
8321cd19
JB
19GeoLite Country is similar to the GeoIP Country database, but is not
20as accurate. Should you require greater accuracy, GeoIP Country is a
21drop-in replacement for GeoLite Country.
22
23License disclaimer: this product includes GeoLite data created by
24MaxMind, available from <http://www.maxmind.com/>.
25
26%description -l pl.UTF-8
8321cd19
JB
27GeoLite Country jest podobna do bazy danych GeoIP Country, ale nie
28jest tak dokładna. Jeśli wymagana jest większa dokładność, GeoIP
29Country jest zamiennikiem GeoLite Country.
2b240ee7 30
8321cd19
JB
31Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone
32przez MaxWind, dostępne z <http://www.maxwind.com/>.
2b240ee7
PG
33
34%prep
7a5cca84
ER
35%setup -qcT
36cp -a %{SOURCE0} .
37cp -a %{SOURCE1} .
2b240ee7
PG
38
39gunzip GeoIP.dat.gz
40
7a5cca84
ER
41ver=$(stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
42if [ "$ver" != %{version} ]; then
43 exit 1
44fi
45
2b240ee7
PG
46%install
47rm -rf $RPM_BUILD_ROOT
48install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
7a5cca84 49cp -a GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
2b240ee7
PG
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc *.txt
57%{_datadir}/GeoIP/*.dat
This page took 0.079415 seconds and 4 git commands to generate.