Creating an RPM package is incredibly easy, but somehow seems to be quite tricky to describe to people. I’ve written a short eBook (also available in Paperback) which comes with a free downloadable VirtualBox virtual machine image for working through the examples.
I would love your feedback on this book, as it’s not a subject where there is necessarily a single “right” or “wrong” approach. What I’ve tried to cover here, is a minimal-effort guide to creating an RPM. There are other, more thorough, more source-tarball-based, ways of creating RPMs. And there are also a few methods similar to that which the book describes, which are arguably easier to manage.
The approach presented in this book, however, is the most minimalist way to go about making an RPM.