Software Distributor Administrator Guide (September 2010)

For each product object specified, swpackage requires only the product and tag
keywords, plus one or more fileset definitions. For each bundle specified, swpackage
requires the bundle, tag and contents keywords.
product
Required keyword that begins the product specification.
tag
The product’s identifier (short name).
architecture
The target system on which the product or bundle will run.
Provides a human-readable summary of the four uname attributes
(machine_type, os_name, os_release and os_version),
which define the exact target system(s) the product supports.
bundle
Required keyword that begins the bundle specification.
category_tag
A repeatable tag-based attribute identifying a set of categories of
which the software object is a member. This is used as a selection
mechanism and can be used independent of patches. The default
value is an empty list or patch if the is_patch attribute is set to
true. Like vendor_tag, this attribute can be used as a pointer to
a category object that contains additional information about the
category (for example, a one-line title definition and a description
of the category).
NOTE: The category tag patch is reserved. When the is_patch
product attribute is set to true, a built-in category_tag attribute
of value patch is automatically included with the product
definition.
contents The list of fully qualified (all version distinguishing attributes
included) software specs for the bundle.
copyright
A multi-line description of the product’s copyright; either the text
itself (in double quotes) or a pointer to the filename that contains
the text.
description
A multi-paragraph description of the product; either the text itself
(within double-quotes) or a pointer to the filename that contains
the text.
directory
The default, absolute pathname to the directory in which the
product’s files will be installed (the root directory of the product).
If not specified, swpackage assigns a value of /.
is_locatable
Defines whether a product or bundle can be installed to any product
directory, or whether it must be installed into a specific directory.
The attribute can be set to true or false. If not defined, swpackage
sets the default attribute to “false.”
238 Creating Software Packages