-->
Page 123
At the center of the action is RPM. It performs a number of steps during the build process:
By using different options on the RPM command line, the build process can be stopped at any of these steps. This makes the initial building of a package that much easier because it is then possible to see whether each step completed successfully before continuing to the next step.
The end product of this entire process is a source package file and a binary package file.
The source package file is a specially formatted archive that contains the following files:
Because the source package contains everything needed to create the binary package, create the source package, and provide the original sources, it's a great way to distribute source code. As mentioned earlier, it's also a great way to archive all the information needed to rebuild a particular version of the package.
The binary package file is the one part of the entire RPM building process that is most visible to the user. It contains the files that comprise the application, along with any additional information needed to install and erase it. The binary package file is where the rubber hits the road.
Page 124
Now that we've seen, in broad-brush terms, the way RPM builds packages, let's take a look at an actual build. Chapter 11, "Building Packages: A Simple Example," does just that, showing how simple it can be to build a package.