[cmake,release] Use autogenerated package configuration files instead of templates.
(cherry picked from commit 1546b9a93cb5359bdac77c029564d0f8eb7acf45)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>