Name

mk_rpm_do — Begin RPM package definition

Synopsis

mk_rpm_do PACKAGE=name SPECFILE=specfile

Options

PACKAGE=name

Sets the name of the package.

SPECFILE=specfile

Designates a template RPM spec file to use.

Description

Begins the definition of an RPM package to be built. You must provide a template spec file which contains basic metadata about the package, such as its name, dependencies, and description. The template should omit any sections which control build behavior or file lists -- these will be filled in automatically.

After invoking this function, you can use functions such as mk_package_targets or mk_package_patterns to add files to the package, or mk_rpm_sub_do to define subpackages. End the definition of the package with mk_rpm_done.