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

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