RPM HOWTO 
RPM at Idle
Donnie Barnes
Red Hat, Inc. 	    djb@redhat.com	  
ln14.htmlCopyright  © 1999 by Red Hat, Inc.
Revision History Revision V3.0 3 November 1999 Table of Contents1. index.html#INTROIntroduction 2. overview.htmlOverview 3. gen-info.htmlGeneral Information 3.1. gen-info.html#ACQUIREAcquiring RPM 3.2. gen-info.html#REQUIRERPM Requirements 4. use.htmlUsing RPM 5. rpm-do.htmlNow what can I really do with RPM? 6. build.htmlBuilding RPMs 6.1. build.html#SPEC-FILEThe Spec File 6.2. build.html#HEADERThe Header 6.3. build.html#PREPPrep 6.4. build.html#BUILD-SPECBuild 6.5. build.html#INSTALLInstall 6.6. build.html#CLEANINGCleaning your system 6.7. build.html#SCRIPTSOptional pre and post Install/Uninstall Scripts 6.8. build.html#FILESFiles 6.9. build.html#CHANGELOGChangelog 7. build-it.htmlBuilding It 7.1. build-it.html#SOURCE-TREEThe Source Directory Tree 7.2. build-it.html#TEST-BUILDTest Building 7.3. build-it.html#GENERATE-FILEGenerating the File List 7.4. build-it.html#BUILD-PKGBuilding the Package with RPM 7.5. build-it.html#TESTING-ITTesting It 7.6. build-it.html#WHAT-TO-DOWhat to do with your new RPMs 7.7. build-it.html#WHAT-NOWWhat Now? 8. multi-arch.htmlMulti-architectural RPM Building 8.1. multi-arch.html#MULTI-ARCH-SPECSample spec File 8.2. multi-arch.html#OPTFLAGSOptflags 8.3. multi-arch.html#MACROSMacros 8.4. multi-arch.html#EXCUDE-ARCHExcluding Architectures from Packages 8.5. multi-arch.html#FINISHFinishing Up 1. Introduction 
      RPM is the RPM Package
      
Manager.  It is an open packaging system available
      for anyone to use.  It allows users to take source code for new software
      and package it into source and binary form such that binaries can be
      easily installed and tracked and source can be rebuilt easily.  It also
      maintains a database of all packages and their files that can be used
      for verifying packages and querying for information about files and/or
      packages.
    
      Red Hat, Inc. encourages other distribution vendors to take the time
      to look at RPM and use it for their own distributions.  RPM is quite
      flexible and easy to use, though it provides the base for a very
      extensive system.  It is also completely open and available, though we
      would appreciate bug reports and fixes.  Permission is granted to use
      and distribute RPM royalty free under the GPL.
    
      More complete documentation is available on RPM in the book by Ed Bailey,
      
Maximum RPM.  That book is available for download or
      purchase at 
http://www.redhat.comwww.redhat.com .
    
  overview.htmlNext   Overview 