rpmbuilder/rpms/xh/resources/nfpm.yaml
Ben Vincent 6c468c40d1
All checks were successful
Build / build-8 (pull_request) Successful in 13s
Build / build-9 (pull_request) Successful in 1m22s
chore: add xh rpm
- add xh to list of RPMs to build
2025-12-30 20:44:40 +11:00

39 lines
747 B
YAML

# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- xh
provides:
- xh
# Files to include in the package
contents:
- src: /app/xh
dst: /usr/bin/xh
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