2022-02-08 18:12:04 +00:00
|
|
|
# package sources should be placed in ${PWD}/root
|
|
|
|
# nfpm should run from the same directory with a config
|
|
|
|
name: "clickhouse-client"
|
2023-10-03 14:38:41 +00:00
|
|
|
description: |
|
|
|
|
Client binary for ClickHouse
|
|
|
|
ClickHouse is a column-oriented database management system.
|
|
|
|
that allows generating analytical data reports in real time.
|
|
|
|
This package provides clickhouse-client, clickhouse-local and clickhouse-benchmark.
|
|
|
|
|
|
|
|
# Common packages config
|
2022-06-29 10:33:20 +00:00
|
|
|
arch: "${DEB_ARCH}" # amd64, arm64
|
2022-02-08 18:12:04 +00:00
|
|
|
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-02-08 18:12:04 +00:00
|
|
|
|
2023-10-03 14:38:41 +00:00
|
|
|
# Package specific content
|
2022-02-08 18:12:04 +00:00
|
|
|
replaces:
|
|
|
|
- clickhouse-compressor
|
|
|
|
conflicts:
|
|
|
|
- clickhouse-compressor
|
|
|
|
|
|
|
|
overrides:
|
|
|
|
deb:
|
|
|
|
depends:
|
|
|
|
- clickhouse-common-static (= ${CLICKHOUSE_VERSION_STRING})
|
|
|
|
rpm:
|
|
|
|
depends:
|
|
|
|
- clickhouse-common-static = ${CLICKHOUSE_VERSION_STRING}
|
|
|
|
|
|
|
|
contents:
|
|
|
|
- src: root/etc/clickhouse-client/config.xml
|
|
|
|
dst: /etc/clickhouse-client/config.xml
|
2022-11-03 15:58:12 +00:00
|
|
|
type: config|noreplace
|
2022-02-08 18:12:04 +00:00
|
|
|
- src: root/usr/bin/clickhouse-benchmark
|
|
|
|
dst: /usr/bin/clickhouse-benchmark
|
|
|
|
- src: root/usr/bin/clickhouse-compressor
|
|
|
|
dst: /usr/bin/clickhouse-compressor
|
|
|
|
- src: root/usr/bin/clickhouse-format
|
|
|
|
dst: /usr/bin/clickhouse-format
|
|
|
|
- src: root/usr/bin/clickhouse-client
|
|
|
|
dst: /usr/bin/clickhouse-client
|
|
|
|
- src: root/usr/bin/clickhouse-local
|
|
|
|
dst: /usr/bin/clickhouse-local
|
2024-02-12 05:08:57 +00:00
|
|
|
- src: root/usr/bin/ch
|
|
|
|
dst: /usr/bin/ch
|
|
|
|
- src: root/usr/bin/chc
|
|
|
|
dst: /usr/bin/chc
|
|
|
|
- src: root/usr/bin/chl
|
|
|
|
dst: /usr/bin/chl
|
2022-02-08 18:12:04 +00:00
|
|
|
- src: root/usr/bin/clickhouse-obfuscator
|
|
|
|
dst: /usr/bin/clickhouse-obfuscator
|
|
|
|
# docs
|
|
|
|
- src: ../AUTHORS
|
|
|
|
dst: /usr/share/doc/clickhouse-client/AUTHORS
|
|
|
|
- src: ../CHANGELOG.md
|
|
|
|
dst: /usr/share/doc/clickhouse-client/CHANGELOG.md
|
|
|
|
- src: ../LICENSE
|
|
|
|
dst: /usr/share/doc/clickhouse-client/LICENSE
|
|
|
|
- src: ../README.md
|
|
|
|
dst: /usr/share/doc/clickhouse-client/README.md
|