rpmbuilder/rpms/vmutils/nfpm.yaml
Ben Vincent b49a115e10 feat: add victoria metrics
- vminsert, vmselect and vmstorage
- vmutils
2025-06-21 17:37:58 +10:00

81 lines
1.7 KiB
YAML

# nfpm.yaml
name: vmutils
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "VictoriaMetrics utilities: fast, cost-effective monitoring solution and time series database."
maintainer: VictoriaMetrics
homepage: https://github.com/VictoriaMetrics/VictoriaMetrics
license: Apache-2.0 license
disable_globbing: false
replaces:
- vmutils
provides:
- vmagent-prod
- vmalert-prod
- vmalert-tool-prod
- vmauth-prod
- vmbackup-prod
- vmctl-prod
- vmrestore-prod
# Files to include in the package
contents:
- src: /app/vmagent-prod
dst: /usr/bin/vmagent-prod
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmalert-prod
dst: /usr/bin/vmalert-prod
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmalert-tool-prod
dst: /usr/bin/vmalert-tool-prod
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmauth-prod
dst: /usr/bin/vmauth-prod
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmbackup-prod
dst: /usr/bin/vmbackup-prod
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmctl-prod
dst: /usr/bin/vmctl-prod
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmrestore-prod
dst: /usr/bin/vmrestore-prod
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh