#### Building RPM packages

You may build RPM file using the make file.
You must first make sure that the Makefile is OK for your system. Call for example ./Configure -p /usr.
After this step you may edit the rpm spec.ORG file[s]. and add at the top of the %changelog the version and why you have build the RPM package.
The next step consist in rebuild of the spec files with make spec.
The last step will create the RPM packages. At this stage you have two choice:

- Creating separate RPM packages
- Creating a RPM packages containing all components

The RPM file for the first version will be created by calling make rpm-all. The following files will be created:

- mtink-all-<version>.<plattform>.rpm
- mtink-all-<version>.src.rpm

Calling of make rpm will create the files:

- mtink-<version>.<plattform>.rpm
  This file contain the status monitor mtink and ttink
- mtink-gimp-plugin-<version>.<plattform>.rpm
  The gimp pluging if applicable
- mtink-mtinkd-<version>.<plattform>.rpm
  The daemon mtinkd
- mtink-<version>.src.rpm

The rpm file are normally placed under /usr/src/*/RPMS/<plattform> and /usr/src/*/SRPMS.
If you have a private location, they will be placed there.
In order to have running package, do the job as root.