Software Package Builder 6.0 User's Guide, September 2009
Starting Software Package Builder
To launch SPB from the command line, enter:
#/opt/spb/bin/spb
The SPB GUI will launch, and by default the application will use the packaging policy rules file
for the HP-UX version you are running on your system.
About the Policy Rules Files
The packaging policy rules file is an Extensible Markup Language (XML) formatted file that
describes the legal PSF syntax and any field value constraints for your PSF.
You can use SPB to package software for a range of HP-UX releases, older or newer than the
system running SPB. To package software for a newer version of HP-UX, specify the appropriate
policy file as a command line argument. To package software for an older release, use the default,
since policy files are backward compatible with previous releases. For example, you can use the
HP-UX 11i v3 policy file to package software for a system running HP-UX 11i v2, but to package
software for an HP-UX 11i v3 system from a system running HP-UX 11i v2, specify the HP-UX
11i v3 policy file via the command line.
The policies supplied with SPB are located in /opt/spb/data and are named as follows:
• For HP-UX 11i v3 (B.11.31) - the default policy file is 113XPolicies_SD.xml
• For HP-UX 11i v2 (B.11.23) - the default policy file is 112XPolicies_SD.xml
• For HP-UX 11i v1 (B.11.11) - the default policy file is 11XPolicies_SD.xml
Specifying the Packaging Policy Rules File
Specify a packaging policy rules file other than the default by using the -r option from the
command line.
To launch SPB and specify the policy rules file, enter:spb -r /opt/spb/data/<Myrules.xml>
NOTE: If only a file name is given as the argument, SPB will look in the default policy rules
file directory for the specified file. You can also specify an absolute path to the file.
For additional information on this and other SPB command line options, refer to the spb (1M)
manpage.
Starting Software Package Builder 15