Build: move rpm- and mock-related make targets into rpm Makefile
... to organize the code more logically, and split up a large file.
For backward compatibility, the toplevel targets remain as aliases,
and the new Makefile.am can be fed directly to make without running automake.