diff --git a/packaging/centreon-engine-otel-listener-debuginfo.yaml b/packaging/centreon-engine-otel-listener-debuginfo.yaml new file mode 100644 index 00000000000..0d3c4b7a654 --- /dev/null +++ b/packaging/centreon-engine-otel-listener-debuginfo.yaml @@ -0,0 +1,42 @@ +name: "centreon-engine-otel-listener-debuginfo" +arch: "${ARCH}" +platform: "linux" +version_schema: "none" +version: "${VERSION}" +release: "${RELEASE}${DIST}" +section: "default" +priority: "optional" +maintainer: "Centreon " +description: | + Debuginfo package for centreon-engine. + Commit: @COMMIT_HASH@ +vendor: "Centreon" +homepage: "https://www.centreon.com" +license: "Apache-2.0" + +contents: + - src: "../lib/libotl_server.so.debug" + dst: "/usr/lib/debug/usr/lib64/centreon-engine/libotl_server.so.debug" + file_info: + mode: 0644 + +overrides: + rpm: + depends: + - centreon-engine-otel-listener = ${VERSION}-${RELEASE}${DIST} + deb: + depends: + - centreon-engine-otel-listener (= ${VERSION}-${RELEASE}${DIST}) + conflicts: + - centreon-engine-otel-listener-dbgsym + replaces: + - centreon-engine-otel-listener-dbgsym + provides: + - centreon-engine-otel-listener-dbgsym + +rpm: + summary: Debuginfo package for centreon-engine-otel-listener. + compression: zstd + signature: + key_file: ${RPM_SIGNING_KEY_FILE} + key_id: ${RPM_SIGNING_KEY_ID} diff --git a/packaging/centreon-engine-otel-listener.yaml b/packaging/centreon-engine-otel-listener.yaml new file mode 100644 index 00000000000..60a8defcb07 --- /dev/null +++ b/packaging/centreon-engine-otel-listener.yaml @@ -0,0 +1,34 @@ +name: "centreon-engine-otel-listener" +arch: "${ARCH}" +platform: "linux" +version_schema: "none" +version: "${VERSION}" +release: "${RELEASE}${DIST}" +section: "default" +priority: "optional" +maintainer: "Centreon " +description: | + Centreon Engine OpenTelemetry listener. + Commit: @COMMIT_HASH@ +vendor: "Centreon" +homepage: "https://www.centreon.com" +license: "Apache-2.0" + +contents: + - src: "../lib/libotl_server.so" + dst: "/usr/lib64/centreon-engine/libotl_server.so" + +overrides: + rpm: + depends: + - centreon-engine-daemon = ${VERSION}-${RELEASE}${DIST} + deb: + depends: + - centreon-engine-daemon (= ${VERSION}-${RELEASE}${DIST}) + +rpm: + summary: Centreon Engine OpenTelemetry listener. + compression: zstd + signature: + key_file: ${RPM_SIGNING_KEY_FILE} + key_id: ${RPM_SIGNING_KEY_ID}