--- # nfpm config for building the logarchiver RPM (CLI use-case). # Rendered through envsubst (see scripts/build-rpm.sh) then fed to `nfpm pkg`. 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: - logarchiver provides: - logarchiver contents: - src: dist/logarchiver dst: /usr/bin/logarchiver file_info: mode: 0755 owner: root group: root # Shell completions (generated by scripts/build-rpm.sh before packaging). - src: dist/completions/logarchiver.bash dst: /usr/share/bash-completion/completions/logarchiver file_info: mode: 0644 - src: dist/completions/_logarchiver dst: /usr/share/zsh/site-functions/_logarchiver file_info: mode: 0644 - src: dist/completions/logarchiver.fish dst: /usr/share/fish/vendor_completions.d/logarchiver.fish file_info: mode: 0644 # Example config (documentation; not wired into any service by default). - src: config.example.yaml dst: /usr/share/doc/logarchiver/config.example.yaml type: config file_info: mode: 0644