Add the pc function in templates

A function to access the config value from an other project.
rpm build: define _rpmfilename macro

To remove the leading %{ARCH} directory.