Add Makefile and support files

With this commit it is possible to build a tar-ball release of G2
and an RPM package.  In both cases, the version is derived from
the most recent tag on the checked-out branch.