Thank you, in this case I seem to be lucky then. But what about software that has no .spec file yet? Is there a simple checkinstall-like way to get a .rpm out of an arbitrary build-command?
I don’t know of any way/software to auto-generate a .spec file. But I’m not a packager. You might find people more knowledgeable about such things in Feodra’s “devel” Matrix channel.