# SpecStruct Struct Reference
[RPMBUILD.]

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

`#include <rpmspec.h>`

## Data Fields
const char * | specFile
const char * | sourceRpmName
const char * | buildRootURL
const char * | buildSubdir
const char * | rootURL
speclines | sl
spectags | st
struct OpenFileInfo * | fileStack
char | lbuf [4 *BUFSIZ]
char | nextpeekc
char * | nextline
char * | line
int | lineNum
struct ReadLevelEntry * | readStack
Header | buildRestrictions
struct SpecStruct ** | BASpecs
const char ** | BANames
int | BACount
int | recursing
int | force
int | anyarch
int | gotBuildRootURL
char * | passPhrase
int | timeCheck
const char * | cookie
struct Source * | sources
int | numSources
int | noSource
Header | sourceHeader
void * | sourceCpioList
MacroContext | macros
StringBuf | prep
StringBuf | build
StringBuf | install
StringBuf | clean
struct 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.

int SpecStruct::BACount

Definition at line 114 of file rpmspec.h.

const char** SpecStruct::BANames

Definition at line 113 of file rpmspec.h.

struct SpecStruct** SpecStruct::BASpecs`[read]`

Definition at line 112 of file rpmspec.h.

StringBuf SpecStruct::build

build scriptlet.

Definition at line 138 of file rpmspec.h.

Header SpecStruct::buildRestrictions

Definition at line 111 of file rpmspec.h.

const char* SpecStruct::buildRootURL

Definition at line 95 of file rpmspec.h.

const char* SpecStruct::buildSubdir

Definition at line 96 of file rpmspec.h.

StringBuf SpecStruct::clean

clean scriptlet.

Definition at line 140 of file rpmspec.h.

const char* SpecStruct::cookie

Definition at line 124 of file rpmspec.h.

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

Definition at line 102 of file rpmspec.h.

int SpecStruct::force

Definition at line 117 of file rpmspec.h.

int SpecStruct::gotBuildRootURL

Definition at line 120 of file rpmspec.h.

StringBuf SpecStruct::install

install scriptlet.

Definition at line 139 of file rpmspec.h.

char SpecStruct::lbuf[4 *BUFSIZ]

Definition at line 103 of file rpmspec.h.

char* SpecStruct::line

Definition at line 106 of file rpmspec.h.

int SpecStruct::lineNum

Definition at line 107 of file rpmspec.h.

MacroContext SpecStruct::macros

Definition at line 135 of file rpmspec.h.

char* SpecStruct::nextline

Definition at line 105 of file rpmspec.h.

char SpecStruct::nextpeekc

Definition at line 104 of file rpmspec.h.

int SpecStruct::noSource

Definition at line 128 of file rpmspec.h.

int SpecStruct::numSources

Definition at line 127 of file rpmspec.h.

struct PackageStruct* SpecStruct::packages`[read]`

Package list.

Definition at line 142 of file rpmspec.h.

char* SpecStruct::passPhrase

Definition at line 122 of file rpmspec.h.

StringBuf SpecStruct::prep

prep scriptlet.

Definition at line 137 of file rpmspec.h.

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

Definition at line 109 of file rpmspec.h.

int SpecStruct::recursing

parse is recursive?

Definition at line 115 of file rpmspec.h.

const char* SpecStruct::rootURL

Definition at line 97 of file rpmspec.h.

speclines SpecStruct::sl

Definition at line 99 of file rpmspec.h.

void* SpecStruct::sourceCpioList

Definition at line 133 of file rpmspec.h.

Header SpecStruct::sourceHeader

Definition at line 131 of file rpmspec.h.

const char* SpecStruct::sourceRpmName

Definition at line 94 of file rpmspec.h.

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

Definition at line 126 of file rpmspec.h.

const char* SpecStruct::specFile

Name of the spec file.

Definition at line 93 of file rpmspec.h.

spectags SpecStruct::st

Definition at line 100 of file rpmspec.h.

int SpecStruct::timeCheck

Definition at line 123 of file rpmspec.h.

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

- build/rpmspec.h