Hi Reviewers,

Patch for CR 6488189 [vermillion-sun] some applications do not have .mo files

--- Solaris/SUNWzz-gnome-l10n.spec      (revision 9604)
+++ Solaris/SUNWzz-gnome-l10n.spec      (working copy)
@@ -25,7 +25,9 @@
 #Requires: SUNWgnome-xml
 BuildRequires: SUNWapoc-adapter-gconf-l10n
 BuildRequires: SUNWfsexam-l10n
+BuildRequires: SUNWgksu-l10n
 BuildRequires: SUNWgnome-a11y-base-libs-l10n
+BuildRequires: SUNWgnome-a11y-dasher-l10n
 BuildRequires: SUNWgnome-a11y-gok-l10n
 BuildRequires: SUNWgnome-a11y-reader-l10n
 BuildRequires: SUNWgnome-applets-l10n
@@ -33,6 +35,7 @@
 BuildRequires: SUNWgnome-base-libs-l10n
 BuildRequires: SUNWgnome-calculator-l10n
 BuildRequires: SUNWgnome-camera-l10n
+BuildRequires: SUNWgnome-cd-l10n
 BuildRequires: SUNWgnome-character-map-l10n
 BuildRequires: SUNWgnome-component-l10n
 BuildRequires: SUNWgnome-config-editor-l10n
@@ -48,21 +51,27 @@
 BuildRequires: SUNWgnome-im-client-l10n
 BuildRequires: SUNWgnome-img-editor-l10n
 BuildRequires: SUNWgnome-img-viewer-l10n
+BuildRequires: SUNWgnome-keyring-manager-l10n
 BuildRequires: SUNWgnome-libs-l10n
 BuildRequires: SUNWgnome-media-l10n
 BuildRequires: SUNWgnome-media-player-l10n
+BuildRequires: SUNWgnome-meeting-l10n
 BuildRequires: SUNWgnome-panel-l10n
 BuildRequires: SUNWgnome-pdf-viewer-l10n
+BuildRequires: SUNWgnome-pilot-l10n
 BuildRequires: SUNWgnome-print-l10n
 BuildRequires: SUNWgnome-remote-desktop-l10n
+BuildRequires: SUNWgnome-session-l10n
 BuildRequires: SUNWgnome-spell-l10n
 BuildRequires: SUNWgnome-sys-suspend-l10n
+BuildRequires: SUNWgnome-system-monitor-l10n
 BuildRequires: SUNWgnome-system-tools-l10n
 BuildRequires: SUNWgnome-terminal-l10n
 BuildRequires: SUNWgnome-text-editor-l10n
 BuildRequires: SUNWgnome-themes-l10n
 BuildRequires: SUNWgnome-ui-designer-l10n
 BuildRequires: SUNWgnome-user-docs-l10n
+BuildRequires: SUNWgnome-utils-l10n
 BuildRequires: SUNWgnome-vfs-l10n
 BuildRequires: SUNWgnome-wm-l10n
 BuildRequires: SUNWevolution-l10n
@@ -323,7 +332,9 @@
 GNOME_PKGS='
 SUNWapoc-adapter-gconf-l10n
 SUNWfsexam-l10n
+SUNWgksu-l10n
 SUNWgnome-a11y-base-libs-l10n
+SUNWgnome-a11y-dasher-l10n
 SUNWgnome-a11y-gok-l10n
 SUNWgnome-a11y-reader-l10n
 SUNWgnome-applets-l10n
@@ -331,6 +342,7 @@
 SUNWgnome-base-libs-l10n
 SUNWgnome-calculator-l10n
 SUNWgnome-camera-l10n
+SUNWgnome-cd-l10n
 SUNWgnome-character-map-l10n
 SUNWgnome-component-l10n
 SUNWgnome-config-editor-l10n
@@ -347,22 +359,28 @@
 SUNWgnome-im-client-l10n
 SUNWgnome-img-editor-l10n
 SUNWgnome-img-viewer-l10n
+SUNWgnome-keyring-manager-l10n
 SUNWgnome-libs-l10n
 SUNWgnome-media-l10n
 SUNWgnome-media-player-l10n
 SUNWgnome-media-apps-l10n
+SUNWgnome-meeting-l10n
 SUNWgnome-panel-l10n
 SUNWgnome-pdf-viewer-l10n
+SUNWgnome-pilot-l10n
 SUNWgnome-print-l10n
 SUNWgnome-remote-desktop-l10n
+SUNWgnome-session-l10n
 SUNWgnome-spell-l10n
 SUNWgnome-sys-suspend-l10n
+SUNWgnome-system-monitor-l10n
 SUNWgnome-system-tools-l10n
 SUNWgnome-terminal-l10n
 SUNWgnome-text-editor-l10n
 SUNWgnome-themes-l10n
 SUNWgnome-ui-designer-l10n
 SUNWgnome-user-docs-l10n
+SUNWgnome-utils-l10n
 SUNWgnome-vfs-l10n
 SUNWgnome-wm-l10n
 SUNWiso-codes-l10n
@@ -1255,6 +1273,10 @@
 %endif

 %changelog
+* Tue Oct 31 2006 - takao.fujiwara at sun.com
+- Added SUNWgksu-l10n SUNWgnome-a11y-dasher-l10n SUNWgnome-cd-l10n
+  SUNWgnome-keyring-manager-l10n SUNWgnome-meeting-l10n
+  SUNWgnome-pilot-l10n SUNWgnome-session-l10n Fixes 6488189.
 * Thu Oct 26 2006 - damien.carbery at sun.com
 - Remove reference to SUNWgnome-removable-media-l10n as the base package has
   been obsoleted with the integration of hal into snv.
Index: Solaris/SUNWgnome-cd.spec
===================================================================
--- Solaris/SUNWgnome-cd.spec   (revision 9604)
+++ Solaris/SUNWgnome-cd.spec   (working copy)
@@ -165,6 +165,7 @@
 %files l10n
 %defattr (-, root, bin)
 %dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
 %dir %attr (0755, root, other) %{_datadir}/gnome
 %{_datadir}/gnome/help/*/??
 %{_datadir}/omf/*/*-??.omf
@@ -177,6 +178,8 @@
 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas

 %changelog
+* Tue Oct 31 2006 - takao.fujiwara at sun.com
+- Added /usr/share/locale in files l10n. Fixes 6488189.
 * Fri Sep 08 2006 - Matt.Keenan at sun.com
 - Add manpage tarball
 * Sat Aug 12 2006 - laca at sun.com
Index: Solaris/SUNWgnome-session.spec
===================================================================
--- Solaris/SUNWgnome-session.spec      (revision 9604)
+++ Solaris/SUNWgnome-session.spec      (working copy)
@@ -54,6 +54,14 @@
 Requires: SUNWpostrun-root
 Requires: SUNWgnome-config

+%if %build_l10n
+%package l10n
+Summary:                 %{summary} - l10n files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires:                %{name}
+%endif
+
 %prep
 rm -rf %name-%version
 mkdir %name-%version
@@ -89,6 +97,12 @@
 rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/flash.gif
 install -d $RPM_BUILD_ROOT%{_datadir}/autostart

+%if %build_l10n
+%else
+# REMOVE l10n FILES
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c 
"%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date 
+%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}

 %clean
@@ -156,7 +170,16 @@
 %attr (0755, root, sys) %dir %{_sysconfdir}
 %{_sysconfdir}/gconf/schemas/gnome-session.schemas

+%if %build_l10n
+%files l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+%endif
+
 %changelog
+* Tue Oct 31 2006 - takao.fujiwara at sun.com
+- Added l10n package. Fixes 6488189.
 * Mon Oct 30 2006 - Irene.Huang at sun.com
 - move patch gnome-session-01-gnome-volcheck-default-session.diff
   to ../patches/
Index: sound-juicer.spec
===================================================================
--- sound-juicer.spec   (revision 9604)
+++ sound-juicer.spec   (working copy)
@@ -63,6 +63,7 @@

 libtoolize --force
 glib-gettextize -f
+intltoolize -c -f --automake
 aclocal $ACLOCAL_FLAGS
 autoheader
 automake -a -c -f
@@ -97,6 +98,9 @@
 %{_datadir}/sound-juicer

 %changelog
+* Tue Oct 31 2006 - takao.fujiwara at sun.com
+- Added intltoolize to read LINGAS. Fixes 6488189.
+
 * Mon Oct 02 2006 - damien.carbery at sun.com
 - Bump to 2.16.1.

Index: gnome-session.spec
===================================================================
--- gnome-session.spec  (revision 9604)
+++ gnome-session.spec  (working copy)
@@ -86,6 +86,7 @@

 libtoolize --force
 glib-gettextize -c -f
+intltoolize -c -f --automake
 aclocal $ACLOCAL_FLAGS -I .
 autoheader
 automake -a -c -f
@@ -141,6 +142,9 @@
 %{_sysconfdir}/gconf/schemas/*

 %changelog
+* Tue Oct 31 2006 - takao.fujiwara at sun.com
+- Added intltoolize to read LINGAS file. Fixes 6488189.
+
 * Mon Oct 30 2006 - irene.huang at sun.com
 - add patch gnome-session-10-gnome-volcheck-default-session.diff
   which is orignally


Reply via email to