ControlTier > elements
 

RpmBuilder

An RPM package builder.

Overview

RpmBuilder: An RPM package builder.

This builder contains additional functionality in the Build workflow to generate the RPM's manifest and create the package. Builds the rpm type by default (which is a noarch spec file). Use normal Builder settings and the BuilderPackageIncludes, BuilderPackageExcludes, and BuilderPackageManifest settings below to customize.

This type can be added to a CruiseControl object for continuous integration.

Design

Super Type
Builder
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name RpmBuilder

Constraints

Allowed Child Dependencies

  • BuilderBuildFile1
  • BuilderBuildstamp1
  • BuilderBuildTarget1
  • BuilderExportDestination1
  • BuilderImportMax1
  • BuilderImportMin1
  • BuilderNotificationList1
  • BuilderPackageBuildtimePattern1
  • BuilderPackageExcludes 1
  • BuilderPackageExtension1
  • BuilderPackageFilebase1
  • BuilderPackageIncludes 1
  • BuilderPackageInstallRank1
  • BuilderPackageInstallroot1
  • BuilderPackageManifest 1
  • BuilderPackagePurgeRegex1
  • BuilderPackageRequireBuildstamp1
  • BuilderPackageSeparator1
  • BuilderPackageType1
  • BuilderPackageVendor1
  • BuilderPackageVersion1
  • BuilderScmBinding1
  • BuilderScmConnection1
  • BuilderScmLabel1
  • BuilderScmModule1
  • BuilderScmQuiet1
  • BuilderScmUser1
  • BuilderScmView1
  • BuilderVersionBuild1
  • BuilderVersionMajor1
  • BuilderVersionMinor1
  • BuilderVersionRelease1
  • BuilderVersionTag1
  • CruiseControlArtifact1
  • CruiseControlInterval1
  • CruiseControlMailHost1
  • CruiseControlReturnAddress1
  • RpmAutoreq1
  • RpmCategory1
  • RpmCopyright1
  • RpmDefaultGroup1
  • RpmDefaultUser1
  • RpmDistribution1
  • RpmLicense1
  • RpmPackager1
  • RpmProvides1
  • RpmRequires1
  • RpmUrl1
  • RpmUseSudo1
  • RpmVendor1

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

Attributes

Defaults for Imported Attributes

Name Default
cruiseControlInterval 300
packageExcludes
packageExtension noarch.rpm
packageIncludes .*
packageManifest manifest.txt
packageSeparator -
packageType rpm
rpmAutoreq 0
rpmCategory none
rpmCopyright none
rpmDefaultGroup root
rpmDefaultUser root
rpmDistribution none
rpmLicense none
rpmPackager none
rpmProvides
rpmRequires
rpmUrl none
rpmUseSudo true
rpmVendor none
versionRelease 1

Commands

View the available commands in the User Reference.

Related Types

The following types are defined for use with RpmBuilder.

BuilderPackageExcludes

Overview

BuilderPackageExcludes: comma separated list of Ant-style paths relative to the basedir to exclude from the package

Default: blank (nothing excluded)

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
packageExcludes settingValue

BuilderPackageIncludes

Overview

BuilderPackageIncludes: comma separated list of Ant-style paths relative to the basedir to include in the package

Default: .*

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
packageIncludes settingValue

BuilderPackageManifest

Overview

BuilderPackageManifest: Package manifest file path

Default: manifest.txt

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
packageManifest settingValue