HP Software Package Builder (SPB) manual Software Package Builder and HP-UX Software, Distributor

Page 9

 

Introduction to Software Package Builder

 

Software Package Builder Overview

 

 

Features

Benefits

 

 

Open source software can be

Easy to repackage software from

packaged in SD-UX format

various formats into SD-UX,

 

allowing you to manage software

 

with the SD-UX software

 

management toolset.

 

 

User-specified rules files

Allows you to specify the rules file

 

you want to validate your PSF

 

against.

 

 

 

Software Package Builder and HP-UX Software

 

Distributor

 

It is important to understand the relationship between SPB and SD-UX.

SD-UX

SD-UX provides a powerful set of tools for centralized HP-UX software

 

management. SD-UX commands are included with the HP-UX operating

 

system and allow you to package software into the SD-UX format, as well

 

as create, distribute, and manage software from software depots.

 

SD-UX provides utilities to support numerous software package

 

management tasks. Of these, the swpackage command creates a

 

software package by combining the files the user wants to deliver (which

 

may include control scripts) and a product specification file (PSF). The

 

software package is then placed in a software depot where it can be

 

distributed to customers and installed using the swinstall command.

 

The SD-UX packaging operations are based on the attribute values set in

 

the PSF. The PSF is a master file that is created for a given software

 

package to define the structure and describe all the characteristics and

 

file mappings. The PSF contains attribute information for all the

 

software elements contained in the package and must adhere to a strict,

 

hierarchical structure and set of packaging policy rules.

SPB

SPB fits into this process by assisting with the creation and validation of

 

a PSF that the swpackage command uses to create the software package.

 

The structure of a software package and its software elements are

 

largely abstract and the packaging policy rules that the software

 

package must adhere to can also be very complex. SPB helps simplify the

 

process of creating a software package by providing a visual method for

Chapter 1

9

Image 9
Contents Manufacturing Part Number December EditionGovernment License WarrantyCopyright Notice Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Features Features BenefitsSoftware Package Builder Overview Distributor Software Package Builder and HP-UX SoftwareSoftware Package Builder Overview To access Java configuration information System RequirementsOptimizing Java Installation Overview InstallationTo download SPB from the Web Specifying Packaging Policy Rules File Starting Software Package BuilderPage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software packaging lifecycle is displayed in FigureSoftware Packaging Lifecycle TIP Organizing Filesystems Software Package StructureSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Function Relationship Element Structural Elements Functions and RelationshipsSoftware Package Structure Attributes Product Specification FileSoftware Element Required Attribute Required Attribute ValuesRecommended Attribute Values Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Screen Regions Package StructureAttribute Table Messages Tab Policy Help TabPSF View Menus Tool BarAdditional Information Page Getting Started with Software Creating a New PSF Getting Started Using the SPB GUITo create a PSF To create a product and add filesetsStep From the Structure menu, select Add Elements Files Managing Fileset ContentTo create a destination filesystem Step Click Add DirectoryTo set file or directory permissions Validating a PSFSetting Attributes To filter the attribute displayTo set attributes You enter new data into the PSF, SPB re-validates the file Editing from the CLI Using the SPB Command Line InterfaceValidating from the CLI ExampleReturn Values Incorporating SPB into Automated ProcessesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Regions Using Advanced FeaturesFile Mapping OptionsSetting File Mapping OptionsTo set the recursive option To set the file * or include option File Mode Access Mode field of the Directory Attributes and File AttributesAdd PermissionsTo apply a mode to all files Step Select Apply to AllAttributes table To change the default representation of the Mode field Step Select the Advanced Options buttonPermissions Selections Managing Fileset Content Creating and Using a Subproduct To create a subproductSubproduct To create a bundle Creating and Using a BundleCreating and Using a Vendor or Category To add a vendor or categoryAttribute Table To create a vendor defined attribute Creating and Using Vendor Defined AttributesTo edit a vendor defined attribute AttributesOverview of Software Specification Attributes Software Specification AttributesDependency Attributes Resolving SpecificationsSoftware SPBSoftware Specification Status Working with Dependency AttributesSPB will not To add a dependency attribute using the and relationship Select Structure Add Elements Corequisites To add a dependency attribute using the or relationshipClick Add Set Click AddTo add remote content as a dependency attribute Click Add ContentStep Select Structure Add Elements Corequisites Using Control Scripts Using Control Scripts Additional Information Page Glossary GlossaryMultiple architecture Optional attribute Tag Unconfigure script Unconfigure script Glossary Index Software elements, 20 bundle, 21 category Index