(function(a,e,f,g,b,c,d){a.GoogleAnalyticsObject=b;a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)};a[b].l=1*new Date;c=e.createElement(f);d=e.getElementsByTagName(f)[0];c.async=1;c.src=g;d.parentNode.insertBefore(c,d)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-732153-7","auto",{allowLinker:!0,siteSpeedSampleRate:10});ga("set","transport","beacon");ga("set","anonymizeIp",!0);ga("require","linker"); ga("linker:autoLink","askapache.com askapache.net htaccess.io htaccesselite.com askapache.info htaccess.guru".split(" "),!0);ga("send","pageview"); CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

RPM HOWTO

RPM at Idle

Donnie Barnes

Red Hat, Inc.

    djb@redhat.com
  

Revision History
Revision V3.03 November 1999

Table of Contents
1. Introduction
2. Overview
3. General Information
3.1. Acquiring RPM
3.2. RPM Requirements
4. Using RPM
5. Now what can I really do with RPM?
6. Building RPMs
6.1. The Spec File
6.2. The Header
6.3. Prep
6.4. Build
6.5. Install
6.6. Cleaning your system
6.7. Optional pre and post Install/Uninstall Scripts
6.8. Files
6.9. Changelog
7. Building It
7.1. The Source Directory Tree
7.2. Test Building
7.3. Generating the File List
7.4. Building the Package with RPM
7.5. Testing It
7.6. What to do with your new RPMs
7.7. What Now?
8. Multi-architectural RPM Building
8.1. Sample spec File
8.2. Optflags
8.3. Macros
8.4. Excluding Architectures from Packages
8.5. Finishing Up