|
|
@ -141,3 +141,38 @@ if (PERL_FOUND) |
|
|
|
else(PERL_FOUND) |
|
|
|
MESSAGE(WARN "for testsuite an installed Perl is needed") |
|
|
|
endif() |
|
|
|
|
|
|
|
# CPACK definitions |
|
|
|
INCLUDE(InstallRequiredSystemLibraries) |
|
|
|
|
|
|
|
set (CPACK_PACKAGE_VENDOR "Andreas Romeyke") |
|
|
|
string(REGEX REPLACE "^v([0-9]+).*" "\\1" MAJOR_VERSION ${BUILD_TAG}) |
|
|
|
string(REGEX REPLACE "^v[0-9]+\\.([0-9]+)\\.[0-9]+[^0-9].*" "\\1" MINOR_VERSION ${BUILD_TAG}) |
|
|
|
string(REGEX REPLACE "^v[0-9]+\\.[0-9]+\\.([0-9]+)[^0-9].*" "\\1" PATCH_VERSION ${BUILD_TAG}) |
|
|
|
|
|
|
|
MESSAGE( "BUILDTAG (after) : '${BUILD_TAG}'") |
|
|
|
MESSAGE( "MAJOR VERSION: ${MAJOR_VERSION}") |
|
|
|
MESSAGE( "MINOR VERSION: ${MINOR_VERSION}") |
|
|
|
MESSAGE( "PATCH VERSION: ${PATCH_VERSION}") |
|
|
|
set (CPACK_PACKAGE_VERSION_MAJOR ${MAJOR_VERSION}) |
|
|
|
set (CPACK_PACKAGE_VERSION_MINOR ${MINOR_VERSION}) |
|
|
|
set (CPACK_PACKAGE_VERSION_PATCH ${PATCH_VERSION}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/../LICENSE") |
|
|
|
set (CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/../README.1st_checkit") |
|
|
|
set (CPACK_GENERATOR "TGZ;STGZ;TZ;DEB;RPM") |
|
|
|
#set (CPACK_GENERATOR "DEB") |
|
|
|
set (CPACK_PACKAGE_CONTACT "Andreas Romeyke checkit_tiff@andreas-romeyke.de") |
|
|
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) |
|
|
|
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc (>= 6.0)") |
|
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "checkit_tiff is a policy-oriented conformance checker for baseline TIFFs") |
|
|
|
set(CPACK_PACKAGE_DESCRIPTION "checkit_tiff is a conformance checker for baseline TIFFs (with various |
|
|
|
extensions). It works in different way than other tools. Instead to use a |
|
|
|
hardcoded rule set with predefined values, you are able to define tags and |
|
|
|
corresponding values more fine granulary. The rulesets are human readable and |
|
|
|
could be adapted to own needs.") |
|
|
|
set(CPACK_DEBIAN_PACKAGE_SECTION "misc") |
|
|
|
set(CPACK_DEBIAN_COMPRESSION_TYPE "xz") |
|
|
|
INCLUDE(CPack) |