Original commit message from CVS: fix various build files to allow for disting and update spec file with latest changes.