rpmbuilder/rpms/g10k/nfpm.yaml
Ben Vincent 12d2b75368
All checks were successful
Build / build-8 (pull_request) Successful in 26s
Build / build-9 (pull_request) Successful in 27s
feat: add g10k rpm
2025-05-31 13:30:36 +10:00

39 lines
769 B
YAML

# nfpm.yaml
name: g10k
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "An r10k fork written in Go, designed to work somwhat similar like puppetlabs/r10k."
maintainer: xorpaul
homepage: https://github.com/xorpaul/g10k
license: Apache2.0
disable_globbing: false
replaces:
- g10k
provides:
- g10k
# Files to include in the package
contents:
- src: /app/g10k
dst: /usr/bin/g10k
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