Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 2052bc5f7fe82568a32997058940156f > files > 18

mtink-1.0.14-14mdv2009.0.i586.rpm

<!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-&lt;version&gt;.&lt;plattform&gt;.rpm<br>
</li>
<li>mtink-all-&lt;version&gt;.src.rpm</li>
</ul>
<br>
Calling of <b>make rpm</b> will create the files:
<br>
<ul>
<li>mtink-&lt;version&gt;.&lt;plattform&gt;.rpm<br>
    This file contain the status monitor mtink and ttink</li>
<li>mtink-gimp-plugin-&lt;version&gt;.&lt;plattform&gt;.rpm<br>
    The gimp pluging if applicable</li>
<li>mtink-mtinkd-&lt;version&gt;.&lt;plattform&gt;.rpm<br>
    The daemon mtinkd</li>
<li>mtink-&lt;version&gt;.src.rpm</li>
</ul>
<br>
The rpm file are normally placed under /usr/src/*/RPMS/&lt;plattform&gt;
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>