<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Build RPM packages</title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <meta name="author" content="Jean-Jacques Sarton"> </head> <body bgcolor="White"> <h4>Building RPM packages</h4> You may build RPM file using the make file. <br> <br> You must first make sure that the Makefile is OK for your system. Call for example <b>./Configure -p /usr</b>. <br> <br> After this step you may edit the rpm spec.ORG file[s]. and add at the top of the <b>%changelog</b> the version and why you have build the RPM package. <br> <br> The next step consist in rebuild of the <i>spec</i> files with <b>make spec</b>. <br> <br> The last step will create the RPM packages. At this stage you have two choice: <ul> <li>Creating separate RPM packages</li> <li>Creating a RPM packages containing all components</li> </ul> The RPM file for the first version will be created by calling <b>make rpm-all</b>. The following files will be created: <ul> <li>mtink-all-<version>.<plattform>.rpm<br> </li> <li>mtink-all-<version>.src.rpm</li> </ul> <br> Calling of <b>make rpm</b> will create the files: <br> <ul> <li>mtink-<version>.<plattform>.rpm<br> This file contain the status monitor mtink and ttink</li> <li>mtink-gimp-plugin-<version>.<plattform>.rpm<br> The gimp pluging if applicable</li> <li>mtink-mtinkd-<version>.<plattform>.rpm<br> The daemon mtinkd</li> <li>mtink-<version>.src.rpm</li> </ul> <br> The rpm file are normally placed under /usr/src/*/RPMS/<plattform> and /usr/src/*/SRPMS.<br> If you have a private location, they will be placed there.<br> <br> In order to have running package, do the job as root. </body> </html>