2 # - build from source using http://jengelh.medozas.de/files/geoip/geoip_src.tar.bz2
3 # - make it arch dependant and package only LE or BE dirs?
4 Summary: GeoIP database files for xt_geoip
9 Group: Networking/Admin
10 URL: http://www.maxmind.com/
11 Source0: http://jengelh.medozas.de/files/geoip/geoip_iv0_database-%{version}.tar.bz2
12 # Source0-md5: 896cb23ada582ac945dcd4af305884fe
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The package contains the GeoIP definition files (which IP addresses
18 belong to which country) that are needed for Xtables-addons's xt_geoip
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT/var/lib/geoip/{B,L}E
27 cp -a geoip/BE/* $RPM_BUILD_ROOT/var/lib/geoip/BE
28 cp -a geoip/LE/* $RPM_BUILD_ROOT/var/lib/geoip/LE
31 rm -rf $RPM_BUILD_ROOT
34 %defattr(644,root,root,755)