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

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