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

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