Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)

revision 0.0
end
Each keyword defines an attribute of the category object. If a category specification is included
in the PSF, swpackage requires only the category and tag keywords.
category Keyword that begins the category specification.
tag The category short name identifier. Associates this object with a product or
bundle. This tag attribute must match the category_tag attribute in the
product or bundle.
title A one-line string that defines the full name for the category.
description A multi-line description of the category. The description value can consist of text
or a filename for a text file.
revision The revision information (release number, version). Determines which category
object definition to maintain in a depot when a definition being installed or
copied does not match a definition already in the depot with the same category
tag.
end An optional keyword that ends the specification. No value is required. If you
place this keyword incorrectly in the PSF, the specification will fail.
10.4.2.4.5 Product or Bundle Specification
The product specification is a required class in the PSF. It lets you identify the product you are
packaging.
NOTE: The layout_version keyword in the distribution class affects how category
and vendor objects are associated with products and bundles. See “Selecting the PSF Layout
Version ” (page 178) and “Product Specification File Semantics” (page 181) for more information.
The product specification looks like this:
product
tag SD
architecture HP-UX_B.11.00_32/64
category_tag systems_management
contents prod.fsl,r=1.0,a=,v=
copyright </mfg/sd/data/copyright
description </mfg/sd/data/description
directory /usr
is_locatable false
is_patch false
machine_type *
number J2326AA
os_name HP-UX
os_release ?.11.00.*
os_version B.11.**
postkernel /usr/lbin/kernel_build
+ readme </mfg/sd/data/README
revision 2.0
title Software Distributor
vendor_tag HP
# Optional vendor specification
# Optional subproduct specification
# REQUIRED FILESET SPECIFICATION
end
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.
10.4 Creating a Product Specification File (PSF) 183