SPEC file update version release to 0.4.0

Updated spec file to 0.4.0.

Thanks