-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathnfpm-colte-essential.yaml
124 lines (102 loc) · 3.33 KB
/
nfpm-colte-essential.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: "colte-essential"
arch: "${HOST_ARCHITECTURE}"
platform: "linux"
# Upstream Version. (required)
# This will expand any env var you set in the field, eg version: v${SEMVER}
version: ${VERSION}+${DISTRO_RELEASE_VERSION}
# Version Epoch.
# Default is extracted from `version` if it is semver compatible.
# epoch: 1
# Version Prerelease.
# Default is extracted from `version` if it is semver compatible.
# prerelease: beta1
# Version Metadata (previously deb.metadata).
# Default is extracted from `version` if it is semver compatible.
# Setting metadata might interfere with version comparisons depending on the packager.
# version_metadata: "git"
# Package Release Revision (Usually 1).
# This will expand any env var you set in the field, eg release: ${VERSION_RELEASE}
release:
section: "net"
priority: "optional"
maintainer: "Matthew Johnson <[email protected]>"
description: "Shared components essential for operation of the CoLTE system"
vendor: "UW-ICTD <[email protected]>"
homepage: "https://github.com/uw-ictd/colte"
license: "MIT"
# Changelog YAML file, see: https://github.com/goreleaser/chglog
#changelog: "changelog.yaml"
# Disables globbing for files, config_files, etc.
disable_globbing: true
# Packages it replaces. (overridable)
replaces:
- colte (<< 0.16.0)
# - foobar
# Packages it provides. (overridable)
provides:
# - foobar
# Dependencies. (overridable)
depends:
- "python3"
- "python3-ruamel.yaml"
- "python3-yaml"
# Recommended packages. (overridable)
recommends:
- "python3-colorlog"
# Suggested packages. (overridable)
suggests:
# - foob
# Packages it conflicts with. (overridable)
conflicts:
# - fooc
# Contents to add to the package
# This can be binaries or any other files.
contents:
- src: "./python/colteconf.py"
dst: "/usr/bin/colteconf"
file_info:
mode: 0o755
- src: "./python/coltedb.py"
dst: "/usr/bin/coltedb"
file_info:
mode: 0o755
# Config files
- src: ./conf/config.yml
dst: /etc/colte/config.yml
type: config
# Scripts to run at specific stages. (overridable)
scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./package/postinst
# preremove: ./scripts/preremove.sh
# postremove: ./package/postrm
# Custom configuration applied only to the Deb packager.
deb:
breaks:
- colte (<< 0.16.0)
# # Custom deb special files.
# scripts:
# # Deb rules script.
# rules: foo.sh
# # Deb templates file, when using debconf.
# templates: templates
# # Custom deb triggers
# triggers:
# # register interrest on a trigger activated by another package
# # (also available: interest_await, interest_noawait)
# interest:
# - some-trigger-name
# # activate a trigger for another package
# # (also available: activate_await, activate_noawait)
# activate:
# - another-trigger-name
# # The package is signed if a key_file is set
# signature:
# # PGP secret key (can also be ASCII-armored). The passphrase is taken
# # from the environment variable $NFPM_DEB_PASSPHRASE with a fallback
# # to #NFPM_PASSPHRASE.
# # This will expand any env var you set in the field, eg key_file: ${SIGNING_KEY_FILE}
# key_file: key.gpg
# # The type describes the signers role, possible values are "origin",
# # "maint" and "archive". If unset, the type defaults to "origin".
# type: origin