From 1d4a1c5743d6fe4642a46cb559b2c665413e5e5c Mon Sep 17 00:00:00 2001 From: lisu Date: Tue, 3 Jan 2012 20:42:15 +0000 Subject: [PATCH] - id_ID -> id locale fix - rel 2 Changed files: claws-mail-extra-plugins.spec -> 1.84 --- claws-mail-extra-plugins.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/claws-mail-extra-plugins.spec b/claws-mail-extra-plugins.spec index 48eaf64..e5e179a 100644 --- a/claws-mail-extra-plugins.spec +++ b/claws-mail-extra-plugins.spec @@ -2,7 +2,7 @@ # TODO: make compatibility for clutter-gtk 1.0 (Th only) # %if "%{pld_release}" != "th" -%define _rel 1 +%define _rel 2 %else %define _rel 0.1 %endif @@ -378,6 +378,13 @@ webCal. %setup -q %patch0 -p1 +# id_ID -> id locale hacks +for i in `find -name id_ID.po -print`; do + i=`echo $i | sed 's,/po/id_ID.po,,'` + mv -f $i/po/{id_ID,id}.po + %{__sed} -i -e 's,id_ID,id,g' $i/configure.ac +done + %build for i in `find * -maxdepth 0 -type d -print`; do cd "$i" -- 2.43.0