You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

rpm.html 2.4 KiB

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