Hi,

Below is the patch to add translations(po files) for gst-plugin-good.

Best Regards,
Harry Fu

--- gst-plugins-good.spec       (revision 18284)
+++ gst-plugins-good.spec       (working copy)
@@ -18,7 +18,8 @@
 URL:            http://gstreamer.freedesktop.org/
 Source:         
http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.bz2
 

 %if %build_l10n
-Source1:                 l10n-configure.sh
+Source1:        l10n-configure.sh
+Source2:        %{name}-po-sun-%{po_sun_version}.tar.bz2
 %endif
 #owner:laca date:2006-01-19 type:bug bugster:6570425
 Patch1:         gst-plugins-good-01-gettext.diff
@@ -92,6 +93,9 @@
 
 %prep
 %setup -n gst-plugins-good-%{version} -q
+bash -x %SOURCE1 --enable-sun-linguas
+bzcat %SOURCE2 | tar xf -
+cd po-sun; make; cd ..
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1

Reply via email to