ControlTier > elements
 

createPackage

Command Reference

Description

Create package(s)

Implements the means of creating one or more package files of the format associated with the builder package type. The file base, name separator, buildstamp/version, and extension attributes are available for use in naming the package. The location of the list of files and directories to include in the package is made available via the package manifest attribute. The target directory attribute is used to determine where the package files are placed in preparation for importing into the package repository.

Usage

ctl -t RpmBuilder -o <objectname> -c createPackage [-autoreq <>] [-basedir <>] [-buildstamp <>] [-category <>] [-copyright <>] [-distribution <>] [-extension <>] [-filebase <>] [-group <>] [-license <>] [-manifest <>] [-packager <>] [-packagetype <>] [-provides <>] [-requires <>] [-targetdir <>] [-url <>] [-user <>] [-vendor <>]

Options

Option Description Type Default
autoreq Sets Auto Requirement string ${entity.attribute.rpmAutoreq}
basedir dir where build resour resides string ${entity.attribute.basedir}
buildstamp build identifier string ${entity.attribute.buildstamp}
category Package category (group) string ${entity.attribute.rpmCategory}
copyright package copyright message string ${entity.attribute.rpmCopyright}
distribution Product distr string ${entity.attribute.rpmDistribution}
extension package file name extension string ${entity.attribute.packageExtension}
filebase package file base name string ${entity.attribute.packageFilebase}
group default group name string ${entity.attribute.rpmDefaultGroup}
license Software license string ${entity.attribute.rpmLicense}
manifest package manifest file name string ${entity.attribute.packageManifest}
packager name of packager string ${entity.attribute.rpmPackager}
packagetype package type string ${entity.attribute.packageType}
provides adds Provides to RPM string ${entity.attribute.rpmProvides}
requires adds Requires to RPM string ${entity.attribute.rpmRequires}
targetdir directory build artifacts will be written string ${entity.attribute.targetdir}
url url to package home string ${entity.attribute.rpmUrl}
user default user name string ${entity.attribute.rpmDefaultUser}
vendor name of vendor string ${entity.attribute.rpmVendor}