SET(CPACK_CMAKE_GENERATOR "${CMAKE_GENERATOR}")
SET(CPACK_GENERATOR "RPM")

SET(CPACK_PACKAGE_MAINTAINER "${PONYPROG_CPACK_PACKAGE_MAINTAINER}")
SET(CPACK_INSTALL_CMAKE_PROJECTS "${PONYPROG_CPACK_INSTALL_CMAKE_PROJECTS}")

SET(CPACK_PACKAGE_DESCRIPTION "${PONYPROG_CPACK_PACKAGE_DESCRIPTION}")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PONYPROG_CPACK_PACKAGE_DESCRIPTION_SUMMARY}")

SET(CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_BINARY_DIR}/packaging/rpm-script/postinst.sh")

SET(CPACK_RPM_PACKAGE_SHLIBDEPS "${PONYPROG_CPACK_PACKAGE_SHLIBDEPS}")

SET(CPACK_RPM_PACKAGE_REQUIRES "${PONYPROG_CPACK_PACKAGE_DEPENDS}")

#MESSAGE("CPACK_RPM_PACKAGE_REQUIRES ${CPACK_RPM_PACKAGE_REQUIRES} : ${PONYPROG_CPACK_PACKAGE_DEPENDS}")
SET(CPACK_PACKAGE_FILE_NAME "${PONYPROG_CPACK_PACKAGE_FILE_NAME}")
SET(CPACK_PACKAGE_NAME "${PONYPROG_CPACK_PACKAGE_NAME}")
SET(CPACK_PACKAGE_VERSION "${PONYPROG_CPACK_PACKAGE_VERSION}")
SET(CPACK_RESOURCE_FILE_LICENSE "${PONYPROG_CPACK_RESOURCE_FILE_LICENSE}")
