Table of Contents

Creating a binary-only rpm

This is a hands-on tutorial explaining how to create a RPM in Mandriva using the RPMPM (RPM-Package Manager).

Requirements

We need the following things (and their dependencies) installed on order to create a package as described:

Preparing steps

Creating the RPM

In this example it is WMS-1.0. If the directory name is not in the right format you will be asked to change it accordingly.

Note that the spec file is like a script file and can be handled as such. Also keep in mind that the structure you provided earlier will be installed to root and that scripts always will have root as working directory.