rpmbuilder/rpms/unkin-ca-certificates/resources/nfpm.yaml
Ben Vincent 1f1b1cfe32
All checks were successful
Build / build-8 (pull_request) Successful in 2m16s
Build / build-9 (pull_request) Successful in 4m23s
chore: update urls to artifactapi
- change github urls to artifactapi
- change gitea urls to artifactapi
- change scripts in nfpm to use full path
- update unrar to 7.12
2026-01-17 20:21:04 +11:00

39 lines
849 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
depends:
- ca-certificates
replaces:
- unkin-ca-certificates
# Files to include in the package
contents:
- src: /app/UNKIN_ROOTCA_2024.crt
dst: /etc/pki/ca-trust/source/anchors/UNKIN_ROOTCA_2024.crt
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
scripts:
postinstall: /app/resources/scripts/postinstall.sh
# preinstall: ./scripts/preinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh