packages: xtables-geoip/xtables-geoip.spec (NEW) - new, works for me
zbyniu
zbyniu at pld-linux.org
Sun Jun 14 12:25:40 CEST 2009
Author: zbyniu Date: Sun Jun 14 10:25:40 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- new, works for me
---- Files affected:
packages/xtables-geoip:
xtables-geoip.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/xtables-geoip/xtables-geoip.spec
diff -u /dev/null packages/xtables-geoip/xtables-geoip.spec:1.1
--- /dev/null Sun Jun 14 12:25:40 2009
+++ packages/xtables-geoip/xtables-geoip.spec Sun Jun 14 12:25:35 2009
@@ -0,0 +1,43 @@
+# $Revision$, $Date$
+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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/06/14 10:25:35 zbyniu
+- new, works for me
+
================================================================
More information about the pld-cvs-commit
mailing list