Add RPM spec file, small bugfix