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