Spec_s 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 * buildRootURL
const char * buildSubdir
const char * rootURL
speclines sl
spectags st
OpenFileInfofileStack
char lbuf [10 *BUFSIZ]
char * lbufPtr
char nextpeekc
char * nextline
char * line
int lineNum
ReadLevelEntryreadStack
Header buildRestrictions
SpecBASpecs
const char ** BANames
int BACount
int recursing
int force
int anyarch
int gotBuildRootURL
char * passPhrase
int timeCheck
const char * cookie
Sourcesources
int numSources
int noSource
const char * sourceRpmName
unsigned char * sourcePkgId
Header sourceHeader
rpmfi sourceCpioList
MacroContext 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 92 of file rpmspec.h.


Field Documentation

int Spec_s::anyarch

Definition at line 132 of file rpmspec.h.

Referenced by parsePreamble(), and parseSpec().

int Spec_s::BACount

Definition at line 128 of file rpmspec.h.

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

const char** Spec_s::BANames

Definition at line 127 of file rpmspec.h.

Referenced by freeSpec(), handlePreambleTag(), initSourceHeader(), parsePreamble(), and parseSpec().

Spec* Spec_s::BASpecs

Definition at line 125 of file rpmspec.h.

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

StringBuf Spec_s::build

build scriptlet.

Definition at line 162 of file rpmspec.h.

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

Header Spec_s::buildRestrictions

Definition at line 123 of file rpmspec.h.

Referenced by checkForValidArchitectures(), freeSpec(), handlePreambleTag(), initSourceHeader(), and parseRCPOT().

const char* Spec_s::buildRootURL

Definition at line 96 of file rpmspec.h.

Referenced by freeSpec(), handlePreambleTag(), parsePreamble(), parseSpec(), processPackageFiles(), and rpmfcGenerateDepends().

const char* Spec_s::buildSubdir

Definition at line 98 of file rpmspec.h.

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

StringBuf Spec_s::check

check scriptlet.

Definition at line 166 of file rpmspec.h.

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

StringBuf Spec_s::clean

clean scriptlet.

Definition at line 168 of file rpmspec.h.

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

const char* Spec_s::cookie

Definition at line 140 of file rpmspec.h.

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

struct OpenFileInfo* Spec_s::fileStack

Definition at line 108 of file rpmspec.h.

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

int Spec_s::force

Definition at line 131 of file rpmspec.h.

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

int Spec_s::gotBuildRootURL

Definition at line 134 of file rpmspec.h.

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

StringBuf Spec_s::install

install scriptlet.

Definition at line 164 of file rpmspec.h.

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

char Spec_s::lbuf[10 *BUFSIZ]

Definition at line 109 of file rpmspec.h.

Referenced by copyNextLine().

char* Spec_s::lbufPtr

Definition at line 111 of file rpmspec.h.

Referenced by copyNextLine().

char* Spec_s::line

Definition at line 116 of file rpmspec.h.

Referenced by addSource(), copyNextLine(), doPatchMacro(), findPreambleTag(), handlePreambleTag(), parseBuildInstallClean(), parseChangelog(), parseDescription(), parseFiles(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), and readLine().

int Spec_s::lineNum

Definition at line 117 of file rpmspec.h.

Referenced by addSource(), copyNextLine(), doPatchMacro(), doSetupMacro(), handlePreambleTag(), parseBuildInstallClean(), parseDescription(), parseFiles(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), readLine(), and stashSt().

MacroContext Spec_s::macros

Definition at line 157 of file rpmspec.h.

Referenced by addFileToTagAux(), addSource(), copyNextLine(), doScript(), doSetupMacro(), handlePreambleTag(), parseSpec(), and processPackageFiles().

char* Spec_s::nextline

Definition at line 114 of file rpmspec.h.

Referenced by copyNextLine().

char Spec_s::nextpeekc

Definition at line 112 of file rpmspec.h.

Referenced by copyNextLine().

int Spec_s::noSource

Definition at line 145 of file rpmspec.h.

Referenced by genSourceRpmName(), and handlePreambleTag().

int Spec_s::numSources

Definition at line 144 of file rpmspec.h.

Referenced by addSource().

Package Spec_s::packages

Package list.

Definition at line 171 of file rpmspec.h.

Referenced by doRmSource(), doSetupMacro(), freeSpec(), genSourceRpmName(), initSourceHeader(), lookupPackage(), newPackage(), packageBinaries(), parseChangelog(), parsePreamble(), parseSpec(), printNewSpecfile(), processBinaryFiles(), readRPM(), rewriteRPM(), and rpmspecQuery().

char* Spec_s::passPhrase

Definition at line 137 of file rpmspec.h.

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

StringBuf Spec_s::prep

prep scriptlet.

Definition at line 160 of file rpmspec.h.

Referenced by doPatchMacro(), doScript(), doSetupMacro(), freeSpec(), and parsePrep().

struct ReadLevelEntry* Spec_s::readStack

Definition at line 120 of file rpmspec.h.

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

int Spec_s::recursing

parse is recursive?

Definition at line 129 of file rpmspec.h.

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

const char* Spec_s::rootURL

Definition at line 100 of file rpmspec.h.

Referenced by doScript(), doSetupMacro(), freeSpec(), handlePreambleTag(), parseSpec(), and processPackageFiles().

speclines Spec_s::sl

Definition at line 103 of file rpmspec.h.

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

rpmfi Spec_s::sourceCpioList

Definition at line 154 of file rpmspec.h.

Referenced by freeSpec(), and packageSources().

Header Spec_s::sourceHeader

Definition at line 152 of file rpmspec.h.

Referenced by buildForTarget(), freeSpec(), initSourceHeader(), packageSources(), and processSourceFiles().

unsigned char* Spec_s::sourcePkgId

Definition at line 150 of file rpmspec.h.

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

const char* Spec_s::sourceRpmName

Definition at line 148 of file rpmspec.h.

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

struct Source* Spec_s::sources

Definition at line 143 of file rpmspec.h.

Referenced by addSource(), doPatch(), doRmSource(), doUntar(), findSource(), and freeSpec().

const char* Spec_s::specFile

Name of the spec file.

Definition at line 94 of file rpmspec.h.

Referenced by doRmSource(), freeSpec(), and parseSpec().

spectags Spec_s::st

Definition at line 105 of file rpmspec.h.

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

int Spec_s::timeCheck

Definition at line 138 of file rpmspec.h.

Referenced by parseSpec(), and processPackageFiles().


The documentation for this struct was generated from the following file:
Generated on Wed Jan 28 12:45:30 2009 for rpm by  doxygen 1.4.7