Templatize spec file