I have added a makefile target for generating an RPM package and a source RPM package. To create packages, do this:
- Become root (unless you have RPM setup so that you can build packages without being root).
- make rpm
- Wait.
- Wait.
- Wait.
- Repeat steps 3 - 5 until 'make' has finished.
Now there should be a binary RPM package in /usr/src/RPM/RPMS/i686 (or whatever your RPM package directory is called), and a source RPM package in /usr/src/RPM/SRPMS (or whatever your SRPM package directory is called).
