ControlTier > core
 

create

Command Reference

Description

Create a package archive. Runs rpmbuild.

Generates a spec file using the template in this module (you may change the template in subtypes) and build it with rpmbuild. By default generates a movable RPM.

static: This command can be run outside of an object context.

Usage

ctl -m rpm -c create [-category <>] [-copyright <>] [-distribution <>] [-group <>] [-license <>] -manifest <> -name <> [-packager <>] -prefix <> -release <> [-script <>] -targetdir <> [-url <>] [-user <>] [-vendor <>] -version <>

Options

Option Description Type Default
category Package category (group) string ${entity.attribute.rpmCategory}
copyright package copyright message string ${entity.attribute.rpmCopyright}
distribution Product distribution string ${entity.attribute.rpmDistribution}
group default group name string ${entity.attribute.rpmDefaultGroup}
license Software license string ${entity.attribute.rpmLicense}
manifest file of paths to include in the rpm string
name package name string
packager name of packager string ${entity.attribute.rpmPackager}
prefix relocatable directory prefix string
release package release string
script script to execute string ${entity.attribute.package-create-script}
targetdir location of the rpm build directories string
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}
version package version string