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"
|
2023-10-03 14:38:41 +00:00
|
|
|
description: |
|
|
|
|
Static clickhouse-keeper binary
|
|
|
|
A stand-alone clickhouse-keeper package
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Common packages config
|
2022-03-15 13:08:30 +00:00
|
|
|
arch: "${DEB_ARCH}" # amd64, arm64
|
|
|
|
platform: "linux"
|
|
|
|
version: "${CLICKHOUSE_VERSION_STRING}"
|
|
|
|
vendor: "ClickHouse Inc."
|
|
|
|
homepage: "https://clickhouse.com"
|
|
|
|
license: "Apache"
|
|
|
|
section: "database"
|
|
|
|
priority: "optional"
|
2023-10-03 14:38:41 +00:00
|
|
|
maintainer: "ClickHouse Dev Team <packages+linux@clickhouse.com>"
|
|
|
|
deb:
|
|
|
|
fields:
|
|
|
|
Source: clickhouse
|
2022-03-15 13:08:30 +00:00
|
|
|
|
2023-10-03 14:38:41 +00:00
|
|
|
# Package specific content
|
2022-03-15 13:08:30 +00:00
|
|
|
conflicts:
|
|
|
|
- clickhouse-server
|
2022-03-28 09:18:11 +00:00
|
|
|
suggests:
|
|
|
|
- clickhouse-keeper-dbg
|
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
|
2023-01-24 13:46:59 +00:00
|
|
|
- src: clickhouse-keeper.service
|
|
|
|
dst: /lib/systemd/system/clickhouse-keeper.service
|
2023-10-04 09:24:36 +00:00
|
|
|
- src: root/usr/bin/clickhouse-keeper
|
|
|
|
dst: /usr/bin/clickhouse-keeper
|
2023-09-13 12:21:38 +00:00
|
|
|
- src: clickhouse-keeper
|
2023-08-07 15:21:18 +00:00
|
|
|
dst: /usr/bin/clickhouse-keeper-client
|
|
|
|
type: symlink
|
2023-09-13 12:21:38 +00:00
|
|
|
- src: clickhouse-keeper
|
2023-08-14 07:13:26 +00:00
|
|
|
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
|