[cmake,release] Use autogenerated package configuration files instead of templates.