rpms/gentoo/devel gentoo-0.11.56-lang.patch, NONE, 1.1 gentoo.spec, 1.7, 1.8

Matthias Saou (thias) fedora-extras-commits at redhat.com
Wed Oct 11 09:56:22 UTC 2006


Author: thias

Update of /cvs/extras/rpms/gentoo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30071/devel

Modified Files:
	gentoo.spec 
Added Files:
	gentoo-0.11.56-lang.patch 
Log Message:
Fix translations (#210205).


gentoo-0.11.56-lang.patch:

--- NEW FILE gentoo-0.11.56-lang.patch ---
diff -Naupr gentoo-0.11.56.orig/po/LINGUAS gentoo-0.11.56/po/LINGUAS
--- gentoo-0.11.56.orig/po/LINGUAS	2004-12-27 09:08:49.000000000 +0100
+++ gentoo-0.11.56/po/LINGUAS	2006-10-11 11:49:53.000000000 +0200
@@ -1,2 +1,2 @@
 # Set of available languages for gentoo.
-de fr it ja_JP.UTF-8 pl ru_RU.cp1251 ru_RU.CP1251 ru_RU.KOI8-R ru_RU.koi8r ru_RU.UTF-8 ru_RU.utf8 sv
+de fr it ja pl ru sv


Index: gentoo.spec
===================================================================
RCS file: /cvs/extras/rpms/gentoo/devel/gentoo.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gentoo.spec	28 Aug 2006 09:43:39 -0000	1.7
+++ gentoo.spec	11 Oct 2006 09:56:22 -0000	1.8
@@ -1,11 +1,12 @@
 Summary: Graphical file management program in GTK+ for Linux
 Name: gentoo
 Version: 0.11.56
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Group: Applications/File
 URL: http://www.obsession.se/gentoo/
 Source: http://dl.sf.net/gentoo/gentoo-%{version}.tar.gz
+Patch0: gentoo-0.11.56-lang.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: gtk+-devel, gamin-devel, desktop-file-utils
 
@@ -22,6 +23,13 @@
 
 %prep
 %setup
+%patch0 -p1 -b .lang
+# Keep only UTF-8 translations. This requires the patch above and is easier
+# like this since it would bloat the patch for nothing.
+for lang in ja ru; do
+    %{__mv} po/${lang}_*.UTF-8.gmo po/${lang}.gmo
+    %{__mv} po/${lang}_*.UTF-8.po po/${lang}.po
+done
 
 
 %build
@@ -72,6 +80,9 @@
 
 
 %changelog
+* Wed Oct 11 2006 Matthias Saou <http://freshrpms.net/> 0.11.56-2
+- Fix translations (#210205).
+
 * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.11.56-1
 - Update to 0.11.56.
 - FC6 rebuild.




More information about the fedora-extras-commits mailing list