create spec file for python/lib projects