# rpmSpec_s Struct Reference
[Build API.]

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

`#include <rpmspec.h>`

Collaboration diagram for rpmSpec_s:

[legend]

## Data Fields
char * | specFile
char * | buildRoot
char * | buildSubdir
char * | rootDir
speclines | sl
spectags | st
struct OpenFileInfo * | fileStack
char | lbuf [10 *BUFSIZ]
char * | lbufPtr
char | nextpeekc
char * | nextline
char * | line
int | lineNum
struct ReadLevelEntry * | readStack
Header | buildRestrictions
rpmSpec * | BASpecs
const char ** | BANames
int | BACount
int | recursing
int | force
int | anyarch
char * | passPhrase
int | timeCheck
char * | cookie
struct Source * | sources
int | numSources
int | noSource
char * | sourceRpmName
unsigned char * | sourcePkgId
Header | sourceHeader
rpmfi | sourceCpioList
rpmMacroContext | macros
StringBuf | prep
StringBuf | build
StringBuf | install
StringBuf | check
StringBuf | clean
Package | packages

## Detailed Description

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

Definition at line 94 of file rpmspec.h.

## Field Documentation

int rpmSpec_s::anyarch

Definition at line 120 of file rpmspec.h.

int rpmSpec_s::BACount

Definition at line 116 of file rpmspec.h.

const char** rpmSpec_s::BANames

Definition at line 115 of file rpmspec.h.

rpmSpec* rpmSpec_s::BASpecs

Definition at line 114 of file rpmspec.h.

StringBuf rpmSpec_s::build

build scriptlet.

Definition at line 138 of file rpmspec.h.

Header rpmSpec_s::buildRestrictions

Definition at line 113 of file rpmspec.h.

char* rpmSpec_s::buildRoot

Definition at line 96 of file rpmspec.h.

char* rpmSpec_s::buildSubdir

Definition at line 97 of file rpmspec.h.

StringBuf rpmSpec_s::check

check scriptlet.

Definition at line 140 of file rpmspec.h.

StringBuf rpmSpec_s::clean

clean scriptlet.

Definition at line 141 of file rpmspec.h.

char* rpmSpec_s::cookie

Definition at line 124 of file rpmspec.h.

struct OpenFileInfo* rpmSpec_s::fileStack`[read]`

Definition at line 103 of file rpmspec.h.

int rpmSpec_s::force

Definition at line 119 of file rpmspec.h.

StringBuf rpmSpec_s::install

install scriptlet.

Definition at line 139 of file rpmspec.h.

char rpmSpec_s::lbuf[10 *BUFSIZ]

Definition at line 104 of file rpmspec.h.

char* rpmSpec_s::lbufPtr

Definition at line 105 of file rpmspec.h.

char* rpmSpec_s::line

Definition at line 108 of file rpmspec.h.

int rpmSpec_s::lineNum

Definition at line 109 of file rpmspec.h.

rpmMacroContext rpmSpec_s::macros

Definition at line 135 of file rpmspec.h.

char* rpmSpec_s::nextline

Definition at line 107 of file rpmspec.h.

char rpmSpec_s::nextpeekc

Definition at line 106 of file rpmspec.h.

int rpmSpec_s::noSource

Definition at line 128 of file rpmspec.h.

int rpmSpec_s::numSources

Definition at line 127 of file rpmspec.h.

Package rpmSpec_s::packages

Package list.

Definition at line 143 of file rpmspec.h.

char* rpmSpec_s::passPhrase

Definition at line 122 of file rpmspec.h.

StringBuf rpmSpec_s::prep

prep scriptlet.

Definition at line 137 of file rpmspec.h.

struct ReadLevelEntry* rpmSpec_s::readStack`[read]`

Definition at line 111 of file rpmspec.h.

int rpmSpec_s::recursing

parse is recursive?

Definition at line 117 of file rpmspec.h.

char* rpmSpec_s::rootDir

Definition at line 98 of file rpmspec.h.

speclines rpmSpec_s::sl

Definition at line 100 of file rpmspec.h.

rpmfi rpmSpec_s::sourceCpioList

Definition at line 133 of file rpmspec.h.

Header rpmSpec_s::sourceHeader

Definition at line 132 of file rpmspec.h.

Referenced by buildForTarget().

unsigned char* rpmSpec_s::sourcePkgId

Definition at line 131 of file rpmspec.h.

char* rpmSpec_s::sourceRpmName

Definition at line 130 of file rpmspec.h.

struct Source* rpmSpec_s::sources`[read]`

Definition at line 126 of file rpmspec.h.

char* rpmSpec_s::specFile

Name of the spec file.

Definition at line 95 of file rpmspec.h.

spectags rpmSpec_s::st

Definition at line 101 of file rpmspec.h.

int rpmSpec_s::timeCheck

Definition at line 123 of file rpmspec.h.

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

- rpmspec.h