]>
Commit | Line | Data |
---|---|---|
a9e058f3 | 1 | Summary: GeoIP database files for xt_geoip |
2 | Name: xtables-geoip | |
3 | Version: 20090401 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Networking/Admin | |
7 | URL: http://maxmind.com/ | |
8 | Source0: http://jengelh.medozas.de/files/geoip/geoip_iv0_database-%{version}.tar.bz2 | |
9 | # Source0-md5: 0cd65043c6165ed49a611c2cd4bc2fb4 | |
10 | BuildArch: noarch | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | The package contains the GeoIP definition files (which IP addresses | |
15 | belong to which country) that are needed for Xtables-addons's xt_geoip | |
16 | module. | |
17 | ||
18 | %prep | |
19 | %setup -q -n var | |
20 | ||
21 | %install | |
22 | rm -rf $RPM_BUILD_ROOT | |
23 | install -d $RPM_BUILD_ROOT/var/lib/geoip/{B,L}E | |
24 | install geoip/BE/* $RPM_BUILD_ROOT/var/lib/geoip/BE | |
25 | install geoip/LE/* $RPM_BUILD_ROOT/var/lib/geoip/LE | |
26 | ||
27 | %clean | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | ||
30 | %files | |
31 | %defattr(644,root,root,755) | |
32 | /var/lib/geoip |