How to compile RPM (Redhat Package Manager) on several UNIX flavours where it is not generally available.
These documents also detail how to build all the libraries RPM depends on.