mirror of
https://github.com/apache/ant.git
synced 2025-05-18 22:14:47 +00:00
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
74 lines
2.0 KiB
HTML
74 lines
2.0 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<title>Rpm Task</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2><a name="rpm">Rpm</a></h2>
|
|
<h3>Description</h3>
|
|
<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.
|
|
</p>
|
|
|
|
<h3>Parameters</h3>
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td valign="top"><b>Attribute</b></td>
|
|
<td valign="top"><b>Description</b></td>
|
|
<td align="center" valign="top"><b>Required</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">specFile</td>
|
|
<td valign="top">The name of the spec File to be used.</td>
|
|
<td valign="top" align="center">Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">topDir</td>
|
|
<td valign="top">
|
|
this is the directory which will have the expected
|
|
subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified,
|
|
the baseDir value is used
|
|
</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">cleanBuildDir</td>
|
|
<td valign="top">This will remove the generated files in the BUILD
|
|
directory.</td>
|
|
<td align="center" valign="top">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">removeSpec</td>
|
|
<td valign="top">this will remove the spec file from SPECS</td>
|
|
<td align="center" valign="top">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">removeSource</td>
|
|
<td valign="top"> Flag (optional, default=false)
|
|
to remove the sources after the build.
|
|
See the the <tt>--rmsource</tt> option of rpmbuild.</td>
|
|
<td align="center" valign="top">No</td>
|
|
</tr> <tr>
|
|
<td valign="top">command</td>
|
|
<td valign="top">very similar idea to the cvs task. the default is "-bb"</td>
|
|
<td align="center" valign="top">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">output/error</td>
|
|
<td valign="top">where standard output and error go</td>
|
|
<td align="center" valign="top">No</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
|
|
<p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights
|
|
Reserved.</p>
|
|
|
|
</body>
|
|
</html>
|
|
|