Browse Source

- improved RPM build (dependency)

master
Andreas Romeyke 2 months ago
parent
commit
ee1d6d76a5
  1. 4
      THANKS
  2. 9
      src/CMakeLists.txt

4
THANKS

@ -0,0 +1,4 @@
THANKS
======
* to Jörg Sachse for testing and feedback on package creation for RedHat

9
src/CMakeLists.txt

@ -168,7 +168,9 @@ set (CPACK_PACKAGE_CONTACT "Andreas Romeyke checkit_tiff@andreas-romeyke.de")
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.")
# Debian related
### Debian related
# https://cmake.org/cmake/help/latest/cpack_gen/deb.html
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc (>= 6.0)")
set(CPACK_DEBIAN_PACKAGE_SECTION "misc")
set(CPACK_DEBIAN_COMPRESSION_TYPE "xz")
@ -180,4 +182,9 @@ set (CPACK_DEBIAN_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION_SUMMARY}
${CPACK_PACKAGE_DESCRIPTION}")
set (CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
### RedHat related
# documentation: https://cmake.org/cmake/help/latest/cpack_gen/rpm.html
set (CPACK_RPM_PACKAGE_REQUIRES "pcre >= 8.32")
include(CPack)
Loading…
Cancel
Save