Add script for building an RPM package. See #245.

Thanks @etcimon for the initial version of the RPM spec file.