HP Software Package Builder (SPB) manual Software Package Builder Overview, Features Benefits

Page 8

Introduction to Software Package Builder

Software Package Builder Overview

Software Package Builder Overview

Software Package Builder (SPB) provides a visual method to create and edit software packages using the HP-UX Software Distributor (SD-UX) package format. Once software is packaged, it can easily be transferred to a distribution medium, mass produced, and installed by administrators. The SPB graphical user interface (GUI) provides a window into the software package structure, showing attributes that can be set for each package element. SPB loads packaging policies and validates software package attributes against these policies. The SPB command line interface (CLI) can also perform validation of software package attributes against policies and can be added to an automated process for editing and validation of a PSF.

SPB can assist with the following tasks:

Creating a product specification file (PSF) to organize files into products, filesets, and optionally, into bundles and subproducts

Setting attribute values to define software package characteristics such as revision, architecture, file permissions, and dependencies

Validating the PSF against packaging policies to ensure successful packaging into a software depot with the swpackage command

Editing and validating the PSF automatically as part of a nightly build process using SPB’s CLI

Features

Features

Benefits

 

 

Graphical User Interface (GUI)

Provides an easy-to-use interface,

for creating PSFs in SD-UX

making the complex task of

format

creating a PSF easier.

 

 

Command Line Interface (CLI)

Provides a mechanism for easy

for automating nightly changes

automation of PSF edits and

to packages

validation.

 

 

Policy validator for verifying a

Easy to create a valid PSF without

package’s use of legal SD-UX

in-depth knowledge of all the

syntax

packaging policies.

 

 

8

Chapter 1

Image 8
Contents Edition Manufacturing Part Number DecemberWarranty Government LicenseCopyright Notice Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Software Package Builder Overview FeaturesFeatures Benefits Software Package Builder and HP-UX Software DistributorSoftware Package Builder Overview Optimizing Java To access Java configuration informationSystem Requirements To download SPB from the Web Installation OverviewInstallation Starting Software Package Builder Specifying Packaging Policy Rules FilePage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software Packaging LifecycleSoftware packaging lifecycle is displayed in Figure TIP Software Package Structure Organizing FilesystemsSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Elements Functions and Relationships Structural Function Relationship ElementSoftware Package Structure Product Specification File AttributesRequired Attribute Values Software Element Required AttributeRecommended Attribute Values Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Attribute Table Screen RegionsPackage Structure PSF View Messages TabPolicy Help Tab Additional Information MenusTool Bar Page Getting Started with Software Getting Started Using the SPB GUI Creating a New PSFTo create a PSF To create a product and add filesetsManaging Fileset Content Step From the Structure menu, select Add Elements FilesTo create a destination filesystem Step Click Add DirectoryValidating a PSF To set file or directory permissionsTo set attributes Setting AttributesTo filter the attribute display You enter new data into the PSF, SPB re-validates the file Using the SPB Command Line Interface Editing from the CLIValidating from the CLI ExampleIncorporating SPB into Automated Processes Return ValuesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Using Advanced Features RegionsFile Mapping OptionsTo set the recursive option Setting FileMapping Options To set the file * or include option Mode field of the Directory Attributes and File Attributes File Mode AccessAdd PermissionsAttributes table To apply a mode to all filesStep Select Apply to All Permissions Selections To change the default representation of the Mode fieldStep Select the Advanced Options button Managing Fileset Content Subproduct Creating and Using a SubproductTo create a subproduct Creating and Using a Bundle To create a bundleAttribute Table Creating and Using a Vendor or CategoryTo add a vendor or category Creating and Using Vendor Defined Attributes To create a vendor defined attributeTo edit a vendor defined attribute AttributesDependency Attributes Overview of Software Specification AttributesSoftware Specification Attributes Specifications ResolvingSoftware SPBSPB will not Software Specification StatusWorking with Dependency Attributes To add a dependency attribute using the and relationship To add a dependency attribute using the or relationship Select Structure Add Elements CorequisitesClick Add Set Click AddStep Select Structure Add Elements Corequisites To add remote content as a dependency attributeClick Add Content 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