added CPack and RPM packaging