rpmbuilder/rpms/terraform/nfpm.yaml
Ben Vincent 5c49c24930
All checks were successful
Build / build (pull_request) Successful in 1m35s
feat: add terraform
- add terraform/1.10.0 and terraform/1.5.0
2024-12-01 12:28:22 +11:00

39 lines
954 B
YAML

# nfpm.yaml
name: terraform
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned."
maintainer: HashiCorp
homepage: https://terraform.io/
license: BUSL-1.1
disable_globbing: false
replaces:
- terraform
provides:
- terraform
# Files to include in the package
contents:
- src: /app/terraform
dst: /usr/bin/terraform
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