diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f73b1549..b33924ace 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,15 +18,15 @@ endif(APPLE) set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") -set(CPACK_PACKAGE_VERSION 2.5.0) +set(CPACK_PACKAGE_VERSION "${WIZNOTE_VERSION}") set(CPACK_GENERATOR "RPM;DEB") set(CPACK_PACKAGE_NAME "wiznote") -set(CPACK_PACKAGE_CONTACT "Jhon") +set(CPACK_PACKAGE_CONTACT "help@wiz.cn") set(CPACK_PACKAGE_RELEASE 1) -set(CPACK_RPM_PACKAGE_LICENSE "GPLv3") -set(CPACK_RPM_PACKAGE_GROUP "Application") set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "WizNote is a cross platform cloud based note-taking application.") +set(CPACK_RPM_PACKAGE_LICENSE "GPLv3") +set(CPACK_RPM_PACKAGE_GROUP "Application") set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") include(CPack)