]> git.pld-linux.org Git - packages/xtables-geoip.git/blob - xtables-geoip.spec
0012f9d2787ab80869115b68d8fa517f806f7365
[packages/xtables-geoip.git] / xtables-geoip.spec
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?
4 Summary:        GeoIP database files for xt_geoip
5 Name:           xtables-geoip
6 Version:        20090901
7 Release:        2
8 License:        GPL
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         dbdir   /usr/share/xt_geoip
17
18 %description
19 The package contains the GeoIP definition files (which IP addresses
20 belong to which country) that are needed for Xtables-addons's xt_geoip
21 module.
22
23 %prep
24 %setup -q -n var
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{dbdir}/{B,L}E
29 cp -a geoip/BE/* $RPM_BUILD_ROOT%{dbdir}/BE
30 cp -a geoip/LE/* $RPM_BUILD_ROOT%{dbdir}/LE
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %{dbdir}
This page took 0.033661 seconds and 3 git commands to generate.