2022-03-15 13:08:30 +00:00
|
|
|
# package sources should be placed in ${PWD}/root
|
|
|
|
# nfpm should run from the same directory with a config
|
|
|
|
name: "clickhouse-keeper"
|
|
|
|
arch: "${DEB_ARCH}" # amd64, arm64
|
|
|
|
platform: "linux"
|
|
|
|
version: "${CLICKHOUSE_VERSION_STRING}"
|
|
|
|
vendor: "ClickHouse Inc."
|
|
|
|
homepage: "https://clickhouse.com"
|
|
|
|
license: "Apache"
|
|
|
|
section: "database"
|
|
|
|
priority: "optional"
|
|
|
|
|
|
|
|
conflicts:
|
|
|
|
- clickhouse-server
|
2022-03-28 09:18:11 +00:00
|
|
|
suggests:
|
|
|
|
- clickhouse-keeper-dbg
|
2022-03-15 13:08:30 +00:00
|
|
|
|
|
|
|
maintainer: "ClickHouse Dev Team <packages+linux@clickhouse.com>"
|
|
|
|
description: |
|
|
|
|
Static clickhouse-keeper binary
|
|
|
|
A stand-alone clickhouse-keeper package
|
|
|
|
|
2022-09-19 18:42:02 +00:00
|
|
|
deb:
|
|
|
|
fields:
|
|
|
|
Source: clickhouse
|
2022-03-15 13:08:30 +00:00
|
|
|
|
|
|
|
contents:
|
2022-10-16 20:09:20 +00:00
|
|
|
- src: root/etc/clickhouse-keeper/keeper_config.xml
|
|
|
|
dst: /etc/clickhouse-keeper/keeper_config.xml
|
2022-11-03 15:58:12 +00:00
|
|
|
type: config|noreplace
|
2022-03-15 13:08:30 +00:00
|
|
|
- src: root/usr/bin/clickhouse-keeper
|
|
|
|
dst: /usr/bin/clickhouse-keeper
|
2023-01-24 13:46:59 +00:00
|
|
|
- src: clickhouse-keeper.service
|
|
|
|
dst: /lib/systemd/system/clickhouse-keeper.service
|
2023-08-07 15:21:18 +00:00
|
|
|
- src: clickhouse
|
|
|
|
dst: /usr/bin/clickhouse-keeper-client
|
|
|
|
type: symlink
|
2023-08-14 07:13:26 +00:00
|
|
|
- src: clickhouse
|
|
|
|
dst: /usr/bin/clickhouse-keeper-converter
|
|
|
|
type: symlink
|
2022-03-15 13:08:30 +00:00
|
|
|
# docs
|
|
|
|
- src: ../AUTHORS
|
|
|
|
dst: /usr/share/doc/clickhouse-keeper/AUTHORS
|
|
|
|
- src: ../CHANGELOG.md
|
|
|
|
dst: /usr/share/doc/clickhouse-keeper/CHANGELOG.md
|
|
|
|
- src: ../LICENSE
|
|
|
|
dst: /usr/share/doc/clickhouse-keeper/LICENSE
|
|
|
|
- src: ../README.md
|
|
|
|
dst: /usr/share/doc/clickhouse-keeper/README.md
|
2023-01-27 23:00:01 +00:00
|
|
|
|
|
|
|
scripts:
|
|
|
|
postinstall: ./clickhouse-keeper.postinstall
|