<HTML ><HEAD ><TITLE >RPM HOWTO</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="NEXT" TITLE="Introduction" HREF="intro.html"></HEAD ><BODY CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="ARTICLE" ><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A NAME="AEN2">RPM HOWTO</H1 ><H2 CLASS="SUBTITLE" >RPM at Idle</H2 ><DIV CLASS="AUTHORGROUP" ><A NAME="AEN3"><H3 CLASS="AUTHOR" ><A NAME="AEN4" >Donnie Barnes</A ></H3 ><DIV CLASS="AFFILIATION" ><SPAN CLASS="ORGNAME" >Red Hat, Inc.<BR></SPAN ><DIV CLASS="ADDRESS" ><P CLASS="ADDRESS" > djb@redhat.com<br> </P ></DIV ></DIV ></DIV ><P CLASS="COPYRIGHT" ><A HREF="ln14.html" >Copyright</A > © 1999 by Red Hat, Inc.</P ><DIV CLASS="REVHISTORY" ><TABLE WIDTH="100%" BORDER="0" ><TR ><TH ALIGN="LEFT" VALIGN="TOP" COLSPAN="3" ><B >Revision History</B ></TH ></TR ><TR ><TD ALIGN="LEFT" >Revision V3.0</TD ><TD ALIGN="LEFT" >3 November 1999</TD ><TD ALIGN="LEFT" ></TD ></TR ><TR ><TD ALIGN="LEFT" COLSPAN="3" ></TD ></TR ></TABLE ></DIV ><HR></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >1. <A HREF="intro.html" >Introduction</A ></DT ><DT >2. <A HREF="overview.html" >Overview</A ></DT ><DT >3. <A HREF="gen-info.html" >General Information</A ></DT ><DD ><DL ><DT >3.1. <A HREF="gen-info.html#ACQUIRE" >Acquiring RPM</A ></DT ><DT >3.2. <A HREF="gen-info.html#REQUIRE" >RPM Requirements</A ></DT ></DL ></DD ><DT >4. <A HREF="use.html" >Using RPM</A ></DT ><DT >5. <A HREF="rpm-do.html" >Now what can I really do with RPM?</A ></DT ><DT >6. <A HREF="build.html" >Building RPMs</A ></DT ><DD ><DL ><DT >6.1. <A HREF="build.html#SPEC-FILE" >The Spec File</A ></DT ><DT >6.2. <A HREF="build.html#HEADER" >The Header</A ></DT ><DT >6.3. <A HREF="build.html#PREP" >Prep</A ></DT ><DT >6.4. <A HREF="build.html#BUILD-SPEC" >Build</A ></DT ><DT >6.5. <A HREF="build.html#INSTALL" >Install</A ></DT ><DT >6.6. <A HREF="build.html#CLEANING" >Cleaning your system</A ></DT ><DT >6.7. <A HREF="build.html#SCRIPTS" >Optional pre and post Install/Uninstall Scripts</A ></DT ><DT >6.8. <A HREF="build.html#FILES" >Files</A ></DT ><DT >6.9. <A HREF="build.html#CHANGELOG" >Changelog</A ></DT ></DL ></DD ><DT >7. <A HREF="build-it.html" >Building It</A ></DT ><DD ><DL ><DT >7.1. <A HREF="build-it.html#SOURCE-TREE" >The Source Directory Tree</A ></DT ><DT >7.2. <A HREF="build-it.html#TEST-BUILD" >Test Building</A ></DT ><DT >7.3. <A HREF="build-it.html#GENERATE-FILE" >Generating the File List</A ></DT ><DT >7.4. <A HREF="build-it.html#BUILD-PKG" >Building the Package with RPM</A ></DT ><DT >7.5. <A HREF="build-it.html#TESTING-IT" >Testing It</A ></DT ><DT >7.6. <A HREF="build-it.html#WHAT-TO-DO" >What to do with your new RPMs</A ></DT ><DT >7.7. <A HREF="build-it.html#WHAT-NOW" >What Now?</A ></DT ></DL ></DD ><DT >8. <A HREF="multi-arch.html" >Multi-architectural RPM Building</A ></DT ><DD ><DL ><DT >8.1. <A HREF="multi-arch.html#MULTI-ARCH-SPEC" >Sample spec File</A ></DT ><DT >8.2. <A HREF="multi-arch.html#OPTFLAGS" >Optflags</A ></DT ><DT >8.3. <A HREF="multi-arch.html#MACROS" >Macros</A ></DT ><DT >8.4. <A HREF="multi-arch.html#EXCUDE-ARCH" >Excluding Architectures from Packages</A ></DT ><DT >8.5. <A HREF="multi-arch.html#FINISH" >Finishing Up</A ></DT ></DL ></DD ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="intro.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Introduction</TD ></TR ></TABLE ></DIV ></BODY ></HTML >