Main Page Modules Data Structures File List Data Fields Globals Related Pages

# SpecStruct Struct Reference
[RPMBUILD.]

`#include <rpmspec.h>`

## Data Fields

const char * | specFile
const char * | sourceRpmName
const char * | buildRootURL
const char * | buildSubdir
const char * | rootURL
speclines | sl
spectags | st
OpenFileInfo * | fileStack
char | lbuf [4 *BUFSIZ]
char | nextpeekc
char * | nextline
char * | line
int | lineNum
ReadLevelEntry * | readStack
Header | buildRestrictions
SpecStruct ** | BASpecs
const char ** | BANames
int | BACount
int | recursing
int | force
int | anyarch
int | gotBuildRootURL
char * | passPhrase
int | timeCheck
const char * | cookie
Source * | sources
int | numSources
int | noSource
Header | sourceHeader
rpmfi | sourceCpioList
MacroContext | macros
StringBuf | prep
StringBuf | build
StringBuf | install
StringBuf | clean
PackageStruct * | packages

## Detailed Description

The structure used to store values parsed from a spec file.

Definition at line 92 of file rpmspec.h.

## Field Documentation

int SpecStruct::anyarch

| Definition at line 118 of file rpmspec.h. Referenced by newSpec, parsePreamble, and parseSpec.

int SpecStruct::BACount

| Definition at line 114 of file rpmspec.h. Referenced by buildSpec, freeSpec, initSourceHeader, newSpec, and parseSpec.

const char** SpecStruct::BANames

| Definition at line 113 of file rpmspec.h. Referenced by freeSpec, initSourceHeader, newSpec, parsePreamble, and parseSpec.

struct SpecStruct** SpecStruct::BASpecs

| Definition at line 112 of file rpmspec.h. Referenced by buildSpec, freeSpec, newSpec, and parseSpec.

StringBuf SpecStruct::build

| build scriptlet. Definition at line 137 of file rpmspec.h. Referenced by doScript, freeSpec, newSpec, and parseBuildInstallClean.

Header SpecStruct::buildRestrictions

| Definition at line 111 of file rpmspec.h. Referenced by freeSpec, initSourceHeader, newSpec, and parseRCPOT.

const char* SpecStruct::buildRootURL

| Definition at line 95 of file rpmspec.h. Referenced by freeSpec, newSpec, parsePreamble, and parseSpec.

const char* SpecStruct::buildSubdir

| Definition at line 96 of file rpmspec.h. Referenced by doScript, freeSpec, and newSpec.

StringBuf SpecStruct::clean

| clean scriptlet. Definition at line 139 of file rpmspec.h. Referenced by doScript, freeSpec, newSpec, and parseBuildInstallClean.

const char* SpecStruct::cookie

| Definition at line 124 of file rpmspec.h. Referenced by freeSpec, newSpec, packageBinaries, packageSources, parseSpec, and rewriteRPM.

struct OpenFileInfo* SpecStruct::fileStack

| Definition at line 102 of file rpmspec.h. Referenced by closeSpec, freeSpec, newSpec, parseSpec, and readLine.

int SpecStruct::force

| Definition at line 117 of file rpmspec.h. Referenced by newSpec, parsePrep, and parseSpec.

int SpecStruct::gotBuildRootURL

| Definition at line 120 of file rpmspec.h. Referenced by newSpec, parsePreamble, and parseSpec.

StringBuf SpecStruct::install

| install scriptlet. Definition at line 138 of file rpmspec.h. Referenced by doScript, freeSpec, newSpec, and parseBuildInstallClean.

char SpecStruct::lbuf[4*BUFSIZ]

| Definition at line 103 of file rpmspec.h. Referenced by newSpec.

char* SpecStruct::line

| Definition at line 106 of file rpmspec.h. Referenced by addSource, newSpec, parseBuildInstallClean, parseChangelog, parseDescription, parseFiles, parsePreamble, parsePrep, parseRCPOT, parseScript, and readLine.

int SpecStruct::lineNum

| Definition at line 107 of file rpmspec.h. Referenced by addSource, newSpec, parseBuildInstallClean, parseDescription, parseFiles, parseNoSource, parsePreamble, parsePrep, parseRCPOT, parseScript, readLine, and stashSt.

MacroContext SpecStruct::macros

| Definition at line 134 of file rpmspec.h. Referenced by addSource, doScript, newSpec, and parseSpec.

char* SpecStruct::nextline

| Definition at line 105 of file rpmspec.h. Referenced by newSpec.

char SpecStruct::nextpeekc

| Definition at line 104 of file rpmspec.h. Referenced by newSpec.

int SpecStruct::noSource

| Definition at line 128 of file rpmspec.h. Referenced by newSpec.

int SpecStruct::numSources

| Definition at line 127 of file rpmspec.h. Referenced by addSource, newSpec, and processSourceFiles.

struct PackageStruct* SpecStruct::packages

| Package list. Definition at line 141 of file rpmspec.h. Referenced by freeSpec, initSourceHeader, lookupPackage, newPackage, newSpec, packageBinaries, parseChangelog, parsePreamble, parseSpec, processSourceFiles, readRPM, rewriteRPM, and rpmQueryVerify.

char* SpecStruct::passPhrase

| Definition at line 122 of file rpmspec.h. Referenced by freeSpec, newSpec, packageBinaries, packageSources, parseSpec, and rewriteRPM.

StringBuf SpecStruct::prep

| prep scriptlet. Definition at line 136 of file rpmspec.h. Referenced by doScript, freeSpec, newSpec, and parsePrep.

struct ReadLevelEntry* SpecStruct::readStack

| Definition at line 109 of file rpmspec.h. Referenced by freeSpec, newSpec, and readLine.

int SpecStruct::recursing

| parse is recursive? Definition at line 115 of file rpmspec.h. Referenced by buildSpec, freeSpec, newSpec, parsePreamble, and parseSpec.

const char* SpecStruct::rootURL

| Definition at line 97 of file rpmspec.h. Referenced by doScript, freeSpec, newSpec, and parseSpec.

speclines SpecStruct::sl

| Definition at line 99 of file rpmspec.h. Referenced by freeSpec, newSpec, and readLine.

rpmfi SpecStruct::sourceCpioList

| Definition at line 132 of file rpmspec.h. Referenced by freeSpec, newSpec, packageSources, and processSourceFiles.

Header SpecStruct::sourceHeader

| Definition at line 131 of file rpmspec.h. Referenced by buildForTarget, freeSpec, initSourceHeader, newSpec, packageSources, and processSourceFiles.

const char* SpecStruct::sourceRpmName

| Definition at line 94 of file rpmspec.h. Referenced by freeSpec, newSpec, packageBinaries, and packageSources.

struct Source* SpecStruct::sources

| Definition at line 126 of file rpmspec.h. Referenced by addSource, freeSpec, newSpec, and processSourceFiles.

const char* SpecStruct::specFile

| Name of the spec file. Definition at line 93 of file rpmspec.h. Referenced by buildSpec, freeSpec, newSpec, parseSpec, and processSourceFiles.

spectags SpecStruct::st

| Definition at line 100 of file rpmspec.h. Referenced by freeSpec, newSpec, and stashSt.

int SpecStruct::timeCheck

| Definition at line 123 of file rpmspec.h. Referenced by newSpec, and parseSpec.

The documentation for this struct was generated from the following file:

- build/rpmspec.h