I'm adding the translation for TJDS metacity and fixing a typo.

Index: po-sun/Makefile
===================================================================
--- po-sun/Makefile     (revision 10355)
+++ po-sun/Makefile     (working copy)
@@ -72,7 +72,8 @@
 PACKAGES = \
        gnome-menus                     \
        gnome-panel                     \
-       gnome-utils
+       gnome-utils                     \
+       metacity

 all: TARBALLS

@@ -83,8 +84,11 @@
 gnome-panel.PAGES: $(gnome-panel_PAGES)

 gnome-utils_PAGES = gnome-utils/po-sun
-gnome-utils.PAGES: $(gnome-panel_PAGES)
+gnome-utils.PAGES: $(gnome-utils_PAGES)

+metacity_PAGES = metacity/po-sun
+metacity.PAGES: $(metacity_PAGES)
+
 TARBALL_DIR_SUFFIX = po-sun-$(PO_VERSION)

 .SUFFIXES: -$(TARBALL_DIR_SUFFIX).tar.bz2 .PAGES
Index: po-sun/README
===================================================================
--- po-sun/README       (revision 10355)
+++ po-sun/README       (working copy)
@@ -46,15 +46,15 @@
 # sed -e 's/#\. SUN_BRANDING/# SUN_BRANDING/' ${module}.pot \
   > ${module}-sun.pot
 # msggrep -C -e "SUN_BRANDING" ${module}-sun.pot -o ${module}-sun.pot
-# mkdir $SVN/trunk/po-sun/$module
-# cp ${module}-sun.pot $SVN/trunk/po-sun/$module/.
+# mkdir -p $SVN/trunk/po-sun/$module/po-sun
+# cp ${module}-sun.pot $SVN/trunk/po-sun/$module/po-sun/.
 # cd $SVN/trunk/po-sun
 # vi Makefile
 # diff Makefile.orig Makefile
 72a73
 >      foo                             \
 79a81,83
-> foo_PAGES = foo
+> foo_PAGES = foo/po-sun
 > foo.PAGES: $(foo_PAGES)
 >
 # make
Index: metacity.spec
===================================================================
--- metacity.spec       (revision 10355)
+++ metacity.spec       (working copy)
@@ -7,6 +7,7 @@
 #
 # Owner: erwannc
 #
+%include l10n.inc
 Name:         metacity
 License:      GPL
 Group:        System/GUI/GNOME
@@ -20,6 +21,7 @@
 Source2:      metacity.1.gz
 Source3:      metacity-theme-viewer.1.gz
 Source4:      metacity-message.1.gz
+Source5:      %{name}-po-sun-%{po_sun_version}.tar.bz2
 #owner:erwannc date:2000-00-00 type:branding
 Patch1:       metacity-01-default-theme.diff
 #owner:gheet date:2003-07-17   type:branding
@@ -65,6 +67,10 @@

 %prep
 %setup -q
+%if %build_l10n
+bzcat %SOURCE5 | tar xf -
+cd po-sun; make; cd ..
+%endif
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -152,6 +158,9 @@
 %{_mandir}/man1/*

 %changelog
+* Thu Jan 25 2007 - takao.fujiwara at sun.com
+- Added l10n tarball for metacity-xx-trusted-extensions.diff.
+
 * Wed Jan 17 2007 - damien.carbery at sun.com
 - Bump to 2.17.5.



Reply via email to