add both deb and rpm packaging, add make clean and fix the packaging build order.