# build Directory Reference

## Files

file | build.c [code]
| Top-level build dispatcher.

file | buildio.h [code]
| Routines to read and write packages.

file | expression.c [code]
| Simple logical expression parser.

file | files.c [code]
| The post-build, pre-packaging file tree walk to assemble the package manifest.

file | misc.c [code]
file | myftw.c [code]
| Modified ftw() -- uses Lstat() instead of stat().

file | myftw.h [code]
| Portable ftw(3) using lstat() instead of stat().

file | names.c [code]
| Simple user/group name/id cache (plus hostname and buildtime).

file | pack.c [code]
| Assemble components of an RPM package.

file | parseBuildInstallClean.c [code]
| Parse build/%install/%clean section from spec file.

file | parseChangelog.c [code]
| Parse changelog section from spec file.

file | parseDescription.c [code]
| Parse description section from spec file.

file | parseFiles.c [code]
| Parse files section from spec file.

file | parsePreamble.c [code]
| Parse tags in global section from spec file.

file | parsePrep.c [code]
| Parse prep section from spec file.

file | parseReqs.c [code]
| Parse dependency tag from spec file or from auto-dependency generator.

file | parseScript.c [code]
| Parse install-time script section from spec file.

file | parseSpec.c [code]
| Top level dispatcher for spec file parsing.

file | poptBT.c [code]
file | reqprov.c [code]
| Add dependency tags to package header(s).

file | rpmbuild.h [code]
| This is the *only* module users of librpmbuild should need to include.

file | rpmspec.h [code]
| The Spec and Package data structures used during build.

file | spec.c [code]
| Handle spec data structure.