Add RPM build support

Build a RPM with cmake -D RPM=ON ..