]> git.pld-linux.org Git - packages/GeoIP-db-Country.git/blame - GeoIP-db-Country.spec
up to 2014.02.05
[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:
9b95d5c4 5Version: 2014.02.05
5a3658b5 6Release: 1
0031add8 7License: CC 3.0 BY-SA
2b240ee7 8Group: Applications/Databases
e252b63d 9Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
9b95d5c4 10# Source0-md5: a551a8f2044c3e6e364c1aa82fe183b3
0031add8 11URL: http://dev.maxmind.com/geoip/legacy/geolite/
9aac1969 12Requires: GeoIP-libs >= 1.4.5-2
8321cd19 13BuildArch: noarch
2b240ee7
PG
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
8321cd19
JB
17GeoLite Country is similar to the GeoIP Country database, but is not
18as accurate. Should you require greater accuracy, GeoIP Country is a
19drop-in replacement for GeoLite Country.
20
21License disclaimer: this product includes GeoLite data created by
22MaxMind, available from <http://www.maxmind.com/>.
23
24%description -l pl.UTF-8
8321cd19
JB
25GeoLite Country jest podobna do bazy danych GeoIP Country, ale nie
26jest tak dokładna. Jeśli wymagana jest większa dokładność, GeoIP
27Country jest zamiennikiem GeoLite Country.
2b240ee7 28
8321cd19
JB
29Informacja licencyjna: ten produkt zawiera dane GeoLite stworzone
30przez MaxWind, dostępne z <http://www.maxwind.com/>.
2b240ee7
PG
31
32%prep
7a5cca84 33%setup -qcT
081d65d3 34cp -p %{SOURCE0} .
2b240ee7
PG
35
36gunzip GeoIP.dat.gz
37
e5288fe1 38ver=$(TZ=GMT stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
7a5cca84
ER
39if [ "$ver" != %{version} ]; then
40 exit 1
41fi
42
2b240ee7
PG
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
081d65d3 46cp -p GeoIP.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
2b240ee7
PG
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
2b240ee7 53%{_datadir}/GeoIP/*.dat
This page took 0.030544 seconds and 4 git commands to generate.