Add spec file to build RPM

This commit also fixes the Makefile.in to have correct install
destination directory set.