Adapted the code to create the rpm package.
Makefile options:
make deb
make rpm
make win
make osx

For OpenSuse you need to install the Pattern: devel_rpm_build, devel_qt4
Also the package libqt4-devel for qmake