name: "centreon-engine-bench"
arch: "${ARCH}"
platform: "linux"
version_schema: "none"
version: "${VERSION}"
release: "${RELEASE}${DIST}"
section: "default"
priority: "optional"
maintainer: "Centreon <contact@centreon.com>"
description: |
  Some Centreon Engine benchmarking tools.
  Commit: @COMMIT_HASH@
vendor: "Centreon"
homepage: "https://www.centreon.com"
license: "Apache-2.0"

contents:
  - src: "../build/engine/modules/bench/centengine_bench_passive"
    dst: "/usr/sbin/centengine_bench_passive"

  - src: "../build/engine/modules/bench/bench_passive_module.so"
    dst: "/usr/lib64/centreon-engine/bench_passive_module.so"

overrides:
  rpm:
    depends:
      - centreon-clib = ${VERSION}-${RELEASE}${DIST}
      - centreon-engine-daemon = ${VERSION}-${RELEASE}${DIST}
  deb:
    depends:
      - centreon-clib (= ${VERSION}-${RELEASE}${DIST})
      - centreon-engine-daemon (= ${VERSION}-${RELEASE}${DIST})

rpm:
  summary: Centreon Engine benchmarking tools.
  compression: zstd
  signature:
    key_file: ${RPM_SIGNING_KEY_FILE}
    key_id: ${RPM_SIGNING_KEY_ID}
