Question

Q: How can I register my application with the RPM database?

Can I give RPM support to my installers?

Answer:

To enable RPM support add <registerWithPackageDatabase>1</registerWithPackageDatabase> to your project file. This will register your installation with the RPM database and allow you to query, uninstall, etc. your application using the rpm command line tool. You will need to install as root in an RPM based distribution for this to work, otherwise the setting will be ignored. To successfully register an RPM, the following tags must be also present in the XML project file:

<vendor></vendor>
        <summary></summary>
        <release></release>
        <description></description>