Spec_s Struct Reference
[RPMBUILD.]

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

#include <build/rpmspec.h>

Collaboration diagram for Spec_s:

Collaboration graph
[legend]

Data Fields

const char * specFile
const char * buildSubdir
const char * rootURL
speclines sl
spectags st
struct OpenFileInfofileStack
char lbuf [10 *BUFSIZ]
char * lbufPtr
char nextpeekc
char * nextline
char * line
int lineNum
struct ReadLevelEntryreadStack
SpecBASpecs
const char ** BANames
int BACount
int recursing
int force
int anyarch
char * passPhrase
int timeCheck
const char * cookie
struct Sourcesources
int numSources
int noSource
const char * sourceRpmName
unsigned char * sourcePkgId
Header sourceHeader
rpmfi sourceCpioList
int sourceHdrInit
MacroContext macros
int(* _parseRCPOT )(Spec spec, Package pkg, const char *field, rpmTag tagN, int index, rpmsenseFlags tagflags)
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 101 of file rpmspec.h.


Field Documentation

int(* Spec_s::_parseRCPOT)(Spec spec, Package pkg, const char *field, rpmTag tagN, int index, rpmsenseFlags tagflags)

Definition at line 137 of file rpmspec.h.

Referenced by newSpec(), parsePreamble(), and parseSpec().

Definition at line 133 of file rpmspec.h.

Referenced by build(), freeSpec(), handlePreambleTag(), initSourceHeader(), newSpec(), and parseSpec().

const char** Spec_s::BANames

Definition at line 130 of file rpmspec.h.

Referenced by build(), freeSpec(), newSpec(), and parseSpec().

build scriptlet.

Definition at line 169 of file rpmspec.h.

Referenced by freeSpec(), initSourceHeaderScriptlets(), newSpec(), and parseBuildInstallClean().

const char* Spec_s::buildSubdir

Definition at line 105 of file rpmspec.h.

Referenced by doSetupMacro(), freeSpec(), newSpec(), and processPackageFiles().

check scriptlet.

Definition at line 173 of file rpmspec.h.

Referenced by freeSpec(), initSourceHeaderScriptlets(), newSpec(), and parseBuildInstallClean().

clean scriptlet.

Definition at line 175 of file rpmspec.h.

Referenced by freeSpec(), initSourceHeaderScriptlets(), newSpec(), and parseBuildInstallClean().

const char* Spec_s::cookie

Definition at line 143 of file rpmspec.h.

Referenced by freeSpec(), newSpec(), packageBinaries(), packageSources(), and parseSpec().

Definition at line 115 of file rpmspec.h.

Referenced by closeSpec(), forceIncludeFile(), freeSpec(), newSpec(), parseSpec(), and readLine().

Definition at line 136 of file rpmspec.h.

Referenced by doPatch(), doUntar(), newSpec(), parsePrep(), and parseSpec().

install scriptlet.

Definition at line 171 of file rpmspec.h.

Referenced by freeSpec(), initSourceHeaderScriptlets(), newSpec(), and parseBuildInstallClean().

char Spec_s::lbuf[10 *BUFSIZ]

Definition at line 116 of file rpmspec.h.

Referenced by copyNextLine(), and newSpec().

Definition at line 118 of file rpmspec.h.

Referenced by copyNextLine().

char* Spec_s::line

Definition at line 121 of file rpmspec.h.

Referenced by copyNextLine(), and newSpec().

Definition at line 119 of file rpmspec.h.

Referenced by copyNextLine(), and newSpec().

Definition at line 148 of file rpmspec.h.

Referenced by genSourceRpmName(), handlePreambleTag(), and newSpec().

Definition at line 147 of file rpmspec.h.

Referenced by addSource(), newSpec(), and processSourceFiles().

Definition at line 140 of file rpmspec.h.

Referenced by freeSpec(), newSpec(), packageBinaries(), packageSources(), and parseSpec().

prep scriptlet.

Definition at line 167 of file rpmspec.h.

Referenced by doPatchMacro(), doSetupMacro(), freeSpec(), initSourceHeaderScriptlets(), newSpec(), and parsePrep().

Definition at line 127 of file rpmspec.h.

Referenced by copyNextLine(), freeSpec(), newSpec(), and readLine().

parse is recursive?

Definition at line 134 of file rpmspec.h.

Referenced by build(), freeSpec(), newSpec(), parsePreamble(), and parseSpec().

const char* Spec_s::rootURL

Definition at line 110 of file rpmspec.h.

Referenced by freeSpec(), newSpec(), printNewSpecfile(), and readLine().

Definition at line 157 of file rpmspec.h.

Referenced by freeSpec(), newSpec(), packageSources(), and processSourceFiles().

Definition at line 158 of file rpmspec.h.

Referenced by initSourceHeader().

unsigned char* Spec_s::sourcePkgId

Definition at line 153 of file rpmspec.h.

Referenced by freeSpec(), newSpec(), packageBinaries(), and packageSources().

const char* Spec_s::sourceRpmName

Definition at line 151 of file rpmspec.h.

Referenced by freeSpec(), genSourceRpmName(), newSpec(), packageBinaries(), and packageSources().

struct Source* Spec_s::sources [read]

const char* Spec_s::specFile

Name of the spec file.

Definition at line 103 of file rpmspec.h.

Referenced by build(), checkSpec(), freeSpec(), initSourceHeader(), newSpec(), and parseSpec().

Definition at line 112 of file rpmspec.h.

Referenced by freeSpec(), newSpec(), printNewSpecfile(), and stashSt().

Definition at line 141 of file rpmspec.h.

Referenced by newSpec(), parseSpec(), and processPackageFiles().


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

Generated on Fri Jun 19 18:50:38 2009 for rpm by  doxygen 1.5.7.1