Fix variables, version, licenses, BuildRequires, %clean and split ruby package into various subpackages