|
@@ -27,9 +27,8 @@ |
|
|
<h2><a name="rpm">Rpm</a></h2> |
|
|
<h2><a name="rpm">Rpm</a></h2> |
|
|
<h3>Description</h3> |
|
|
<h3>Description</h3> |
|
|
<p> |
|
|
<p> |
|
|
A basic task for invoking the rpm executable to build a Linux installation |
|
|
|
|
|
file. The task currently only works on Linux or other Unix platforms |
|
|
|
|
|
with rpm support. |
|
|
|
|
|
|
|
|
A basic task for invoking the rpm executable to build a RedHat Package Manager Linux installation |
|
|
|
|
|
file. The task currently only works on Linux or other Unix platforms with rpm support. |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
<h3>Parameters</h3> |
|
|
<h3>Parameters</h3> |
|
@@ -41,7 +40,8 @@ |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">specFile</td> |
|
|
<td valign="top">specFile</td> |
|
|
<td valign="top">The name of the spec file to be used.</td> |
|
|
|
|
|
|
|
|
<td valign="top">The name of the spec file to be used. This must be relative to the SPECS directory |
|
|
|
|
|
under the root of the RPM set in the topDir attribute.</td> |
|
|
<td valign="top" align="center">Yes</td> |
|
|
<td valign="top" align="center">Yes</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
@@ -49,26 +49,33 @@ |
|
|
<td valign="top"> |
|
|
<td valign="top"> |
|
|
This is the directory which will have the expected |
|
|
This is the directory which will have the expected |
|
|
subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified, |
|
|
subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified, |
|
|
the baseDir value is used |
|
|
|
|
|
|
|
|
the default RPM directory of the system (or user, if ~/.rpmmacros defines it) is used (often |
|
|
|
|
|
/usr/src/rpm.<br> |
|
|
|
|
|
Defining a topdir will set <tt>%_topdir</tt> to the specified directory -there is no need |
|
|
|
|
|
to edit your .rpmmacros file. |
|
|
</td> |
|
|
</td> |
|
|
<td valign="top" align="center">No</td> |
|
|
|
|
|
|
|
|
<td valign="top" align="center">No, but your build file is very brittle if it is not set.</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">cleanBuildDir</td> |
|
|
<td valign="top">cleanBuildDir</td> |
|
|
<td valign="top">This will remove the generated files in the BUILD |
|
|
<td valign="top">This will remove the generated files in the BUILD |
|
|
directory.</td> |
|
|
|
|
|
|
|
|
directory. |
|
|
|
|
|
See the the <tt>--clean</tt> option of rpmbuild. |
|
|
|
|
|
</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">removeSpec</td> |
|
|
<td valign="top">removeSpec</td> |
|
|
<td valign="top">This will remove the spec file from SPECS</td> |
|
|
|
|
|
|
|
|
<td valign="top">This will remove the spec file from SPECS. |
|
|
|
|
|
See the the <tt>--rmspec</tt> option of rpmbuild. |
|
|
|
|
|
</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">removeSource</td> |
|
|
<td valign="top">removeSource</td> |
|
|
<td valign="top">Flag (optional, default=false) |
|
|
<td valign="top">Flag (optional, default=false) |
|
|
to remove the sources after the build. |
|
|
to remove the sources after the build. |
|
|
See the the <tt>--rmsource</tt> option of rpmbuild.</td> |
|
|
|
|
|
|
|
|
See the the <tt>--rmsource</tt> option of rpmbuild.</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
@@ -82,7 +89,7 @@ directory.</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">command</td> |
|
|
<td valign="top">command</td> |
|
|
<td valign="top">Very similar idea to the cvs task. the default is "-bb"</td> |
|
|
|
|
|
|
|
|
<td valign="top">The command to pass to the rpmbuild program. The default is "-bb"</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
@@ -103,7 +110,14 @@ directory.</td> |
|
|
</tr> |
|
|
</tr> |
|
|
</table> |
|
|
</table> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Examples</h3> |
|
|
|
|
|
<pre> |
|
|
|
|
|
<rpm |
|
|
|
|
|
specFile="example.spec" |
|
|
|
|
|
topDir="build/rpm" |
|
|
|
|
|
cleanBuildDir="true" |
|
|
|
|
|
failOnError="true"/> |
|
|
|
|
|
</pre> |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |
|
|
|
|
|
|