7187386 deliver translatable content in separate package/publisher
authorpavel heimlich<Pavel.Heimlich@Oracle.COM>
Thu, 30 Aug 2012 04:44:22 -0700
changeset 961 4312629cb5b2
parent 960 63899757c390
child 962 806caf7d29bc
7187386 deliver translatable content in separate package/publisher
components/timezone/system-data-timezone-message-files.p5m
components/timezone/system-data-timezone.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/timezone/system-data-timezone-message-files.p5m	Thu Aug 30 04:44:22 2012 -0700
@@ -0,0 +1,40 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+
+set name=pkg.fmri \
+    value=pkg://$(PUBLISHER_LOCALIZABLE)/system/data/[email protected]$(PKG_SOLARIS_VERSION),$(BUILD_VERSION)
+set name=pkg.human-version value=$(HUMAN_VERSION)
+set name=pkg.summary value="Translatable content for Timezone Definition"
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+# since this package is internal, we do not need some metadata
+set name=pkg.linted.pkglint.manifest010.2 value=true
+set name=pkg.linted.opensolaris.manifest001.1 value=true
+set name=pkg.linted.userland.manifest001.0 value=true
+
+dir path=usr
+dir path=usr/lib
+dir path=usr/lib/locale
+dir path=usr/lib/locale/__LOCALE__
+dir path=usr/lib/locale/__LOCALE__/LC_MESSAGES
+file zoneinfo.po path=usr/lib/locale/__LOCALE__/LC_MESSAGES/SUNW_OST_ZONEINFO.po group=sys
+license cr_Sun license=cr_Sun
--- a/components/timezone/system-data-timezone.p5m	Thu Aug 30 01:36:13 2012 -0700
+++ b/components/timezone/system-data-timezone.p5m	Thu Aug 30 04:44:22 2012 -0700
@@ -24,7 +24,7 @@
 <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
 
 set name=pkg.fmri \
-    value=pkg:/system/data/[email protected],$(BUILD_VERSION)
+    value=pkg:/system/data/[email protected]$(PKG_SOLARIS_VERSION),$(BUILD_VERSION)
 set name=pkg.human-version value=$(HUMAN_VERSION)
 set name=pkg.summary value="Timezone Definition"
 set name=pkg.description value="Timezone definition files"
@@ -35,10 +35,6 @@
 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
 
 dir path=usr
-dir path=usr/lib
-dir path=usr/lib/locale
-dir path=usr/lib/locale/C
-dir path=usr/lib/locale/C/LC_MESSAGES
 dir path=usr/share
 dir path=usr/share/lib
 dir path=usr/share/lib/zoneinfo
@@ -67,7 +63,6 @@
 dir path=usr/share/lib/zoneinfo/tab
 dir path=usr/share/man
 dir path=usr/share/man/man4
-file zoneinfo.po path=usr/lib/locale/C/LC_MESSAGES/SUNW_OST_ZONEINFO.po group=sys
 file path=usr/share/lib/zoneinfo/Africa/Abidjan
 file path=usr/share/lib/zoneinfo/Africa/Accra
 file path=usr/share/lib/zoneinfo/Africa/Addis_Ababa