]> git.pld-linux.org Git - packages/xtables-geoip.git/commitdiff
- pl
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 Aug 2012 15:49:03 +0000 (17:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 Aug 2012 15:49:03 +0000 (17:49 +0200)
- more BE archs

xtables-geoip.spec

index 3f4cd5577466b5ab560ddd07b8068565c41f0a25..f1c4f45299eeb0ed9b9be13c550f6a0f605c92f2 100644 (file)
@@ -1,10 +1,10 @@
 Summary:       GeoIP database files for xt_geoip
+Summary(pl.UTF-8):     Pliki baz danych GeoIP dla xt_geoip
 Name:          xtables-geoip
 Version:       20120808
 Release:       1
 License:       GPL, Open Data License
 Group:         Networking/Admin
-URL:           http://www.maxmind.com/
 Source0:       http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
 # Source0-md5: 65f96d32d1aa83c4ceadfc98b778cddf
 Source1:       http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz
@@ -13,6 +13,7 @@ Source2:      http://geolite.maxmind.com/download/geoip/database/LICENSE.txt
 # Source2-md5: a1381bd1aa0a0c91dc31b3f1e847cf4a
 Source3:       http://xtables-addons.git.sourceforge.net/git/gitweb.cgi?p=xtables-addons/xtables-addons;a=blob_plain;f=geoip/xt_geoip_build
 # Source3-md5: 76c6959bad03c1ff064aefcb4811cd92
+URL:           http://www.maxmind.com/
 BuildRequires: perl-Text-CSV_XS >= 0.69
 BuildRequires: perl-base
 BuildRequires: rpm >= 4.4.9-56
@@ -24,7 +25,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # no debuginfo to package
 %define                _enable_debug_packages  0
 
-%ifarch ppc sparc ppc64 sparc64 sparcv9
+%ifarch ppc ppc64 s390 s390x sparc sparc64 sparcv9
 %define                byteorder       BE
 %else
 %define                byteorder       LE
@@ -35,6 +36,11 @@ The package contains the GeoIP definition files (which IP addresses
 belong to which country) that are needed for Xtables-addons's xt_geoip
 module.
 
+%description -l pl.UTF-8
+Ten pakiet zawiera pliki definicji GeoIP (określające, które adresy IP
+należą do jakiego kraju), wymagane przez moduł xt_geoip z pakietu
+xtables-addons.
+
 %prep
 %setup -qc
 gunzip -c %{SOURCE1} > GeoIPv6.csv
@@ -76,6 +82,9 @@ install -d $RPM_BUILD_ROOT/var/lib
 ln -s %{_datadir}/xt_geoip $RPM_BUILD_ROOT/var/lib/geoip
 %endif
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %if "%{pld_release}" == "ac"
 %pretrans
 # this needs to be a symlink
@@ -86,9 +95,6 @@ if [ -d /var/lib/geoip -a ! -L /var/lib/geoip ]; then
 fi
 %endif
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc LICENSE.txt ranges.txt
This page took 0.069076 seconds and 4 git commands to generate.