RPM HOWTO
RPM at Idle
Donnie Barnes
Red Hat, Inc.
djb@redhat.com
ln14.html
Copyright
© 1999 by
Red Hat, Inc.
Revision History
Revision V3.0
3 November 1999
Table of Contents
1.
index.html#INTRO
Introduction
2.
overview.html
Overview
3.
gen-info.html
General Information
3.1.
gen-info.html#ACQUIRE
Acquiring RPM
3.2.
gen-info.html#REQUIRE
RPM Requirements
4.
use.html
Using RPM
5.
rpm-do.html
Now what can I really do with RPM?
6.
build.html
Building RPMs
6.1.
build.html#SPEC-FILE
The Spec File
6.2.
build.html#HEADER
The Header
6.3.
build.html#PREP
Prep
6.4.
build.html#BUILD-SPEC
Build
6.5.
build.html#INSTALL
Install
6.6.
build.html#CLEANING
Cleaning your system
6.7.
build.html#SCRIPTS
Optional pre and post Install/Uninstall Scripts
6.8.
build.html#FILES
Files
6.9.
build.html#CHANGELOG
Changelog
7.
build-it.html
Building It
7.1.
build-it.html#SOURCE-TREE
The Source Directory Tree
7.2.
build-it.html#TEST-BUILD
Test Building
7.3.
build-it.html#GENERATE-FILE
Generating the File List
7.4.
build-it.html#BUILD-PKG
Building the Package with RPM
7.5.
build-it.html#TESTING-IT
Testing It
7.6.
build-it.html#WHAT-TO-DO
What to do with your new RPMs
7.7.
build-it.html#WHAT-NOW
What Now?
8.
multi-arch.html
Multi-architectural RPM Building
8.1.
multi-arch.html#MULTI-ARCH-SPEC
Sample spec File
8.2.
multi-arch.html#OPTFLAGS
Optflags
8.3.
multi-arch.html#MACROS
Macros
8.4.
multi-arch.html#EXCUDE-ARCH
Excluding Architectures from Packages
8.5.
multi-arch.html#FINISH
Finishing Up
1. Introduction
RPM is the
R
PM
P
ackage
M
anager.  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.com
www.redhat.com
.
overview.html
Next
Overview
