build fixes to make it buildable with python setup tools
added spec file for building rpms
updated .gitingore to ignore the filesgenerated during the build process