In the zip file there is a readme with all the instruction to run RPMBuilder.jar

These are the 8 steps that the gui do automatically:

1) First you have to install rpmdevtools, so run these commands (attention: run as normal user)
$ sudo yum install rpmdevtools rpmlint
$ rpmdev-setuptree

2) In the ~/rpmbuild/SPECS folder create new file: package_name.spec

3) Open it with an editor (like gedit) and write this:
Name: package_name
Version: 1.0
Release: 1
Summary: Short description (first char has to be uppercase)

License: GPL
URL: https://your_website/

BuildRequires: package_required >= (or ==, or <=) 1.0.3 (for example)

Description with almost 79 characters (first char has to be uppercase)

# This is a comment (just as example)


* date Packager's Name <packager's_email> version-revision
- Summary of changes

# For more details see: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html

4) Reproduce in ~/rpmbuild/BUILDROOT the paths where the files will be placed
So in this case for example create:

5) Put in these folders the files that you want insert in the package:

usr/share/pixmaps/package_name.png is the icon of binary
usr/share/applications/package_name.desktop are the rules to insert the program in the menu entries

6) package_name.desktop must be like this:
[Desktop Entry]
GenericName=Short description
Comment=Comment of the application

Categories are these: http://standards.freedesktop.org/menu-spec/latest/apa.html

7) Run $ rpmbuild -bb ~/rpmbuild/SPECS/brightnesscontrol.spec

8) Your package was built into ~/rpmbuild/RPMS folder

if you install this package it's install:

Thanks to: http://www.losurs.org/docs/tips/redhat/binary-rpms
For more details to build rpm see:

Project Members: