1 | <html>
|
---|
2 |
|
---|
3 | <head>
|
---|
4 | <title>Rpm Task</title>
|
---|
5 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
6 | </head>
|
---|
7 |
|
---|
8 | <body>
|
---|
9 |
|
---|
10 | <h2><a name="rpm">Rpm</a></h2>
|
---|
11 | <h3>Description</h3>
|
---|
12 | <p>
|
---|
13 | A basic task for invoking the rpm executable to build a Linux installation
|
---|
14 | file. The task currently only works on Linux or other Unix platforms
|
---|
15 | with rpm support.
|
---|
16 | </p>
|
---|
17 |
|
---|
18 | <h3>Parameters</h3>
|
---|
19 | <table border="1" cellpadding="2" cellspacing="0">
|
---|
20 | <tr>
|
---|
21 | <td valign="top"><b>Attribute</b></td>
|
---|
22 | <td valign="top"><b>Description</b></td>
|
---|
23 | <td align="center" valign="top"><b>Required</b></td>
|
---|
24 | </tr>
|
---|
25 | <tr>
|
---|
26 | <td valign="top">specFile</td>
|
---|
27 | <td valign="top">The name of the spec file to be used.</td>
|
---|
28 | <td valign="top" align="center">Yes</td>
|
---|
29 | </tr>
|
---|
30 | <tr>
|
---|
31 | <td valign="top">topDir</td>
|
---|
32 | <td valign="top">
|
---|
33 | this is the directory which will have the expected
|
---|
34 | subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified,
|
---|
35 | the baseDir value is used
|
---|
36 | </td>
|
---|
37 | <td valign="top" align="center">No</td>
|
---|
38 | </tr>
|
---|
39 | <tr>
|
---|
40 | <td valign="top">cleanBuildDir</td>
|
---|
41 | <td valign="top">This will remove the generated files in the BUILD
|
---|
42 | directory.</td>
|
---|
43 | <td align="center" valign="top">No</td>
|
---|
44 | </tr>
|
---|
45 | <tr>
|
---|
46 | <td valign="top">removeSpec</td>
|
---|
47 | <td valign="top">this will remove the spec file from SPECS</td>
|
---|
48 | <td align="center" valign="top">No</td>
|
---|
49 | </tr>
|
---|
50 | <tr>
|
---|
51 | <td valign="top">removeSource</td>
|
---|
52 | <td valign="top"> Flag (optional, default=false)
|
---|
53 | to remove the sources after the build.
|
---|
54 | See the the <tt>--rmsource</tt> option of rpmbuild.</td>
|
---|
55 | <td align="center" valign="top">No</td>
|
---|
56 | </tr>
|
---|
57 | <tr>
|
---|
58 | <td valign="top">rpmBuildCommand</td>
|
---|
59 | <td valign="top">The executable to use for building the RPM.
|
---|
60 | Defaults to <code>rpmbuild</code> if it can be found or
|
---|
61 | <code>rpm</code> otherwise. Set this if you don't have either on
|
---|
62 | your PATH or want to use a different executable. <em>Since Ant
|
---|
63 | 1.6</em>.</td>
|
---|
64 | <td valign="top" align="center">No</td>
|
---|
65 | </tr>
|
---|
66 | <tr>
|
---|
67 | <td valign="top">command</td>
|
---|
68 | <td valign="top">very similar idea to the cvs task. the default is "-bb"</td>
|
---|
69 | <td align="center" valign="top">No</td>
|
---|
70 | </tr>
|
---|
71 | <tr>
|
---|
72 | <td valign="top">output/error</td>
|
---|
73 | <td valign="top">where standard output and error go</td>
|
---|
74 | <td align="center" valign="top">No</td>
|
---|
75 | </tr>
|
---|
76 | </table>
|
---|
77 | <hr>
|
---|
78 |
|
---|
79 | <p align="center">Copyright © 2001-2004 The Apache Software Foundation. All rights
|
---|
80 | Reserved.</p>
|
---|
81 |
|
---|
82 | </body>
|
---|
83 | </html>
|
---|
84 |
|
---|