rpmbuilder/rpms/vmutils/nfpm.yaml
Ben Vincent 76c331e530 feat: split vmagent out of vmutils
- move vmagent to be its own package
2025-07-13 16:48:22 +10:00

74 lines
1.5 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:
- vmalert
- vmalert-tool
- vmauth
- vmbackup
- vmctl
- vmrestore
# Files to include in the package
contents:
- src: /app/vmalert-prod
dst: /usr/bin/vmalert
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmalert-tool-prod
dst: /usr/bin/vmalert-tool
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmauth-prod
dst: /usr/bin/vmauth
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmbackup-prod
dst: /usr/bin/vmbackup
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmctl-prod
dst: /usr/bin/vmctl
file_info:
mode: 0755
owner: root
group: root
- src: /app/vmrestore-prod
dst: /usr/bin/vmrestore
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