base-specs/gthumb.spec
changeset 9914 f6afd9d48223
parent 9801 965908b4ce78
child 9919 eb7fb0e6a19c
--- a/base-specs/gthumb.spec	Wed May 16 12:24:10 2007 +0000
+++ b/base-specs/gthumb.spec	Wed May 16 13:36:19 2007 +0000
@@ -7,6 +7,7 @@
 #
 # owner:jerrytan
 #
+%include l10n.inc
 Name:		gthumb
 License:	GPL
 Group:		Applications/Multimedia
@@ -16,6 +17,7 @@
 Vendor:		Sun Microsystems, Inc.
 Summary:	An image viewer and browser for GNOME.
 Source:		http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.10/%{name}-%{version}.tar.bz2
+Source1:	%{name}-po-sun-%{po_sun_version}.tar.bz2
 #owner:jerrytan date:2006-03-22 type:branding
 Patch1:         gthumb-01-menu-entry.diff
 #owner:jerrytan date:2007-04-29 type:bug bugzilla:434034
@@ -58,6 +60,10 @@
 
 %prep
 %setup -q
+%if %build_l10n
+bzcat %SOURCE1 | tar xf -
+cd po-sun; make; cd ..
+%endif
 %patch1 -p1
 %patch2 -p1
 
@@ -138,6 +144,8 @@
 %doc %{_datadir}/gnome/help/gthumb
 
 %changelog
+* Wed May 16 2007 - [email protected]
+- Add l10n tarball.
 * Thu Apr 12 2007 - [email protected]
 - Bump to 2.10.2.
 * Wed Mar 28 2007 - [email protected]