templating spec file, and adding Makefile.common
Templating cleanup, add unneeded config file for consistency