Update of spec files, cleanup of code and removal of not needed patches and licenses.