RPM package upstream support

This brings all that's needed to create RPM packages straight from the upstream trees.