add template spec file