Switch to Cmake, build RPM

To build a RPM do cmake -D RPM=ON and then, after the make, make package.
By default it will build a tarball.