rpmbuilder/rpms/frr_exporter/resources/nfpm.yaml
Ben Vincent 484bf9af7d
All checks were successful
Build / build-8 (pull_request) Successful in 38s
Build / build-9 (pull_request) Successful in 1m30s
feat: add frr exporter
2025-08-03 14:45:15 +10:00

38 lines
772 B
YAML

# nfpm.yaml
name: frr_exporter
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "Prometheus exporter for Free Range Routing"
maintainer: Prometheus
homepage: https://github.com/tynany/frr_exporter
license: MIT
disable_globbing: false
replaces:
- frr_exporter
provides:
- frr_exporter
# Files to include in the package
contents:
- src: /app/frr_exporter
dst: /usr/bin/frr_exporter
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