source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/docs/manual/OptionalTasks/rpm.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

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