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
size_t lbuf_len
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
rpmRC(* _parseRCPOT )(Spec spec, Package pkg, const char *field, rpmTag tagN, uint32_t index, rpmsenseFlags tagflags)
StringBuf prep
StringBuf build
StringBuf install
StringBuf check
StringBuf clean
size_t nfoo
tagStore_t foo
Package packages

Detailed Description

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

Definition at line 105 of file rpmspec.h.


Field Documentation

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

Definition at line 142 of file rpmspec.h.

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

Definition at line 138 of file rpmspec.h.

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

const char** Spec_s::BANames

Definition at line 135 of file rpmspec.h.

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

build scriptlet.

Definition at line 174 of file rpmspec.h.

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

const char* Spec_s::buildSubdir

Definition at line 109 of file rpmspec.h.

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

check scriptlet.

Definition at line 178 of file rpmspec.h.

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

clean scriptlet.

Definition at line 180 of file rpmspec.h.

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

const char* Spec_s::cookie

Definition at line 148 of file rpmspec.h.

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

Definition at line 184 of file rpmspec.h.

Referenced by freeSpec(), initSourceHeader(), isPart(), newSpec(), and parseBuildInstallClean().

Definition at line 141 of file rpmspec.h.

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

install scriptlet.

Definition at line 176 of file rpmspec.h.

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

char* Spec_s::lbuf

Definition at line 120 of file rpmspec.h.

Referenced by copyNextLineFromOFI(), freeSpec(), and newSpec().

Definition at line 121 of file rpmspec.h.

Referenced by copyNextLineFromOFI(), and newSpec().

Definition at line 123 of file rpmspec.h.

Referenced by copyNextLineFromOFI().

char* Spec_s::line

Definition at line 126 of file rpmspec.h.

Referenced by copyNextLineFinish(), copyNextLineFromOFI(), newSpec(), and restoreFirstChar().

Definition at line 124 of file rpmspec.h.

Referenced by copyNextLineFinish(), newSpec(), and restoreFirstChar().

size_t Spec_s::nfoo

Definition at line 182 of file rpmspec.h.

Referenced by freeSpec(), initSourceHeader(), isPart(), newSpec(), and parseBuildInstallClean().

Definition at line 153 of file rpmspec.h.

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

Definition at line 152 of file rpmspec.h.

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

Definition at line 145 of file rpmspec.h.

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

prep scriptlet.

Definition at line 172 of file rpmspec.h.

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

Definition at line 132 of file rpmspec.h.

Referenced by copyNextLineFromOFI(), freeSpec(), newSpec(), readLine(), and readLineFromOFI().

parse is recursive?

Definition at line 139 of file rpmspec.h.

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

const char* Spec_s::rootURL

Definition at line 114 of file rpmspec.h.

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

Definition at line 162 of file rpmspec.h.

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

Definition at line 163 of file rpmspec.h.

Referenced by initSourceHeader().

unsigned char* Spec_s::sourcePkgId

Definition at line 158 of file rpmspec.h.

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

const char* Spec_s::sourceRpmName

Definition at line 156 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 107 of file rpmspec.h.

Referenced by buildSpec(), doRmSource(), freeSpec(), initSourceHeader(), newSpec(), and parseSpec().

Definition at line 116 of file rpmspec.h.

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

Definition at line 146 of file rpmspec.h.

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


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

Generated on Thu Nov 19 03:13:50 2009 for rpm by  doxygen 1.5.9