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

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