mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
504e3b0f1b
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
69 lines
2.0 KiB
YAML
69 lines
2.0 KiB
YAML
# package sources should be placed in ${PWD}/root
|
|
# nfpm should run from the same directory with a config
|
|
name: "clickhouse-client"
|
|
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
|
|
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>"
|
|
deb:
|
|
fields:
|
|
Source: clickhouse
|
|
|
|
# Package specific content
|
|
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
|
|
type: config|noreplace
|
|
- 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
|
|
- 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
|
|
- 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
|