Generate all the files used for creating a rpm