# package sources should be placed in ${PWD}/root
# nfpm should run from the same directory with a config
name: "clickhouse-keeper-dbg"
arch: "${DEB_ARCH}" # amd64, arm64
platform: "linux"
version: "${CLICKHOUSE_VERSION_STRING}"
vendor: "ClickHouse Inc."
homepage: "https://clickhouse.com"
license: "Apache"
section: "database"
priority: "optional"
maintainer: "ClickHouse Dev Team <packages+linux@clickhouse.com>"
description: |
  debugging symbols for clickhouse-keeper
    This package contains the debugging symbols for clickhouse-keeper.

deb:
  fields:
    Source: clickhouse

contents:
- src: root/usr/lib/debug/usr/bin/clickhouse-keeper.debug
  dst: /usr/lib/debug/usr/bin/clickhouse-keeper.debug
# docs
- src: ../AUTHORS
  dst: /usr/share/doc/clickhouse-keeper-dbg/AUTHORS
- src: ../CHANGELOG.md
  dst: /usr/share/doc/clickhouse-keeper-dbg/CHANGELOG.md
- src: ../LICENSE
  dst: /usr/share/doc/clickhouse-keeper-dbg/LICENSE
- src: ../README.md
  dst: /usr/share/doc/clickhouse-keeper-dbg/README.md