]> git.pld-linux.org Git - packages/xtables-geoip.git/blame - xtables-geoip.spec
- db moved to /usr/share/xt_geoip; rel 2
[packages/xtables-geoip.git] / xtables-geoip.spec
CommitLineData
2a48ce95
ER
1# TODO
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?
a9e058f3 4Summary: GeoIP database files for xt_geoip
5Name: xtables-geoip
9e967d5c 6Version: 20090901
1f56ba0c 7Release: 2
a9e058f3 8License: GPL
9Group: Networking/Admin
2a48ce95 10URL: http://www.maxmind.com/
a9e058f3 11Source0: http://jengelh.medozas.de/files/geoip/geoip_iv0_database-%{version}.tar.bz2
9e967d5c 12# Source0-md5: 896cb23ada582ac945dcd4af305884fe
a9e058f3 13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
1f56ba0c
ER
16%define dbdir /usr/share/xt_geoip
17
a9e058f3 18%description
19The package contains the GeoIP definition files (which IP addresses
20belong to which country) that are needed for Xtables-addons's xt_geoip
21module.
22
23%prep
24%setup -q -n var
25
26%install
27rm -rf $RPM_BUILD_ROOT
1f56ba0c
ER
28install -d $RPM_BUILD_ROOT%{dbdir}/{B,L}E
29cp -a geoip/BE/* $RPM_BUILD_ROOT%{dbdir}/BE
30cp -a geoip/LE/* $RPM_BUILD_ROOT%{dbdir}/LE
a9e058f3 31
32%clean
33rm -rf $RPM_BUILD_ROOT
34
35%files
36%defattr(644,root,root,755)
1f56ba0c 37%{dbdir}
This page took 0.050625 seconds and 4 git commands to generate.