Build RPM packages

The spec file and build script now build RPM packages. Not the perfect way to do it, but it seems to work. Should probably make it work properly (i.e. export from git and build in the spec) but whatever.