How can I create rpm packages using InstallBuilder?

asked 13 Sep '11, 09:18

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%


InstallBuilder allows you to directly generate RPM packages to install your application. You just need to pass the "rpm" command line option to the Builder application on the command line:

./path/to/bin/builder build project.xml rpm

You can also build RPM packages from the Graphical Interface, going to "Packaging" -> "Build Platform", and selecting "RPM" as the target platform

You can only build though RPM packages on a machine that has RPM installed, as InstallBuilder uses internally the RPM tools in order to generate the package.

Additionally, prior to creating the .rpm package, you may want to add the "vendor", "summary", "release" and "description" properties to the XML project file, under the <project> element:

<project>
  ....
  <vendor>VendorName</vendor>
  <summary>Description of your Application</summary>
  <release>0</release>
  <description>A one-line description of your Application</description>
  ...
</project>
link

answered 13 Sep '11, 09:20

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×21
×12

Asked: 13 Sep '11, 09:18

Seen: 2,127 times

Last updated: 13 Sep '11, 09:20