Big thank you to you and Penguin! I now managed to build a working rpm, and I also included the post-install, post-uninstall commands suggested by Penguin...