]> git.pld-linux.org Git - packages/xtables-geoip.git/commitdiff
- new, works for me
authorzbyniu <zbyniu@pld-linux.org>
Sun, 14 Jun 2009 10:25:35 +0000 (10:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xtables-geoip.spec -> 1.1

xtables-geoip.spec [new file with mode: 0644]

diff --git a/xtables-geoip.spec b/xtables-geoip.spec
new file mode 100644 (file)
index 0000000..3ecc12f
--- /dev/null
@@ -0,0 +1,32 @@
+Summary:       GeoIP database files for xt_geoip
+Name:          xtables-geoip
+Version:       20090401
+Release:       1
+License:       GPL
+Group:         Networking/Admin
+URL:           http://maxmind.com/
+Source0:       http://jengelh.medozas.de/files/geoip/geoip_iv0_database-%{version}.tar.bz2
+# Source0-md5: 0cd65043c6165ed49a611c2cd4bc2fb4
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The package contains the GeoIP definition files (which IP addresses
+belong to which country) that are needed for Xtables-addons's xt_geoip
+module.
+
+%prep
+%setup -q -n var
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/var/lib/geoip/{B,L}E
+install geoip/BE/* $RPM_BUILD_ROOT/var/lib/geoip/BE
+install geoip/LE/* $RPM_BUILD_ROOT/var/lib/geoip/LE
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+/var/lib/geoip
This page took 0.049961 seconds and 4 git commands to generate.