-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathnfpm.yaml
More file actions
34 lines (32 loc) · 801 Bytes
/
nfpm.yaml
File metadata and controls
34 lines (32 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
name: ${NAME}
description: ${DESCRIPTION}
# Common packages config
arch: "${ARCH}" # amd64, arm64
platform: "linux"
version: "${VERSION_STRING}"
maintainer: &m "Roman Lomonosov <r.lomonosov@gmail.com>"
vendor: *m
homepage: "https://github.com/go-graphite/${NAME}"
license: "MIT"
section: "admin"
priority: "optional"
contents:
- src: deploy/root/usr/
dst: /usr
expand: true
- src: deploy/root/etc/logrotate.d/${NAME}
dst: /etc/logrotate.d/${NAME}
type: config|noreplace
expand: true
- src: out/root/etc/${NAME}/${NAME}.conf
dst: /etc/${NAME}/${NAME}.conf
type: config|noreplace
expand: true
- src: "out/${NAME}-linux-${ARCH}"
dst: /usr/bin/${NAME}
expand: true
# docs
- src: LICENSE
dst: /usr/share/doc/${NAME}/LICENSE
expand: true