rpmbuilder/rpms/nfpm/nfpm.yaml
Ben Vincent 6c0bbe0180
All checks were successful
Build / build (pull_request) Successful in 2m11s
feat: add nfpm/2.41.1
- add the nfpm package by compiling the project from source
2024-12-01 22:34:17 +11:00

39 lines
767 B
YAML

# nfpm.yaml
name: nfpm
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "A zero dependencies, simple deb, rpm, apk, ipk, and arch linux packager written in Go."
maintainer: GoReleaser
homepage: https://nfpm.goreleaser.com/
license: MIT
disable_globbing: false
replaces:
- nfpm
provides:
- nfpm
# Files to include in the package
contents:
- src: /app/nfpm
dst: /usr/bin/nfpm
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