]> git.pld-linux.org Git - packages/xtables-geoip.git/blob - xtables-geoip.spec
- todo
[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:        1
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 %description
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
19 module.
20
21 %prep
22 %setup -q -n var
23
24 %install
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
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 /var/lib/geoip
This page took 0.057112 seconds and 4 git commands to generate.