version 1.1, 2015/08/18 16:42:35
|
version 1.4, 2021/05/22 15:59:58
|
Line 1
|
Line 1
|
# set(CPACK_PACKAGE_VERSION ${IMACH_VERSION}) |
# set(CPACK_PACKAGE_VERSION ${IMACH_VERSION}) |
# set(CPACK_PACKAGE_NAME "IMaCh") |
# set(CPACK_PACKAGE_NAME "IMaCh") |
# set(CPACK_PACKAGE_RELEASE 2) |
# set(CPACK_PACKAGE_RELEASE 0) |
# set(CPACK_PACKAGE_CONTACT "Nicolas Brouard") |
# set(CPACK_PACKAGE_CONTACT "Nicolas Brouard") |
# set(CPACK_PACKAGE_VENDOR "INED") |
# set(CPACK_PACKAGE_VENDOR "INED") |
# SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh Interpolated Markov Chain program") |
# SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh Interpolated Markov Chain program") |
Line 17
|
Line 17
|
# set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) |
# set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) |
# set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") |
# set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") |
|
|
set(CPACK_GENERATOR "RPM") |
#set(CPACK_GENERATOR "RPM") |
SET(CPACK_RPM_PACKAGE_LICENSE "GPL") |
# SET(CPACK_RPM_PACKAGE_LICENSE "GPL") |
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Sciences") |
# SET(CPACK_RPM_PACKAGE_GROUP "Applications/Sciences") |
set(CPACK_RPM_PACKAGE_REQUIRES "gnuplot >= 4.2, cmake >= 2.8") |
# set(CPACK_RPM_PACKAGE_REQUIRES "gnuplot >= 5, cmake >= 2.8") |
set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/specchangelog") |
#set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/specchangelog") |
|
#cpack -G RPM --config ./CPackSourceConfig.cmake |
|
# SET(CPACK_BINARY_RPM "ON") |
|
# SET(CPACK_RPM_PACKAGE_SOURCES "ON") |
|
# SET(CPACK_BINARY_STGZ "OFF") |
|
# SET(CPACK_BINARY_TBZ2 "OFF") |
|
# SET(CPACK_BINARY_TGZ "OFF") |
|
# SET(CPACK_BINARY_TXZ "ON") |
|
# SET(CPACK_BINARY_TZ "OFF") |
|
|
INCLUDE(InstallRequiredSystemLibraries) |
# SET(CPACK_GENERATOR "TXZ") |
|
# SET(CPACK_SOURCE_GENERATOR "TXZ") |
|
|
INCLUDE(CPack) |
#INCLUDE(InstallRequiredSystemLibraries) |
|
|
|
#INCLUDE(CPack) |
|
# INCLUDE(UseRPMTools) |
|
# IF(RPMTools_FOUND) |
|
# RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME} ${PACKAGE_NAME}.spec.in) |
|
# ENDIF(RPMTools_FOUND) |
|
# RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME} ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}.spec.in) |
|
# RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME}) |