-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnfpm.yaml
39 lines (39 loc) · 1.11 KB
/
nfpm.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
# nfpm example config file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: "gsheet-crm"
arch: "amd64"
platform: "linux"
version: "v1.0.1a"
section: "default"
priority: "extra"
replaces:
provides:
depends:
recommends:
suggests:
conflicts:
maintainer: "Dmitry Kovalev <[email protected]>"
description: |
Поиск имени клиента по его телефонному номеру в таблицах Google Sheets
vendor: "Gravitel"
homepage: "https://gravitel.ru"
license: "MIT"
files:
./gsheet-crm: "/usr/sbin/gsheet-crm"
# ./package/gsheet-crm.service: "/etc/systemd/system/gsheet-crm.service"
./package/gsheet-crm.init: "/etc/init.d/gsheet-crm"
config_files:
./package/gsheet-crm.default: "/etc/default/gsheet-crm"
./google-credentials.json: "/usr/lib/gsheet-crm/google-credentials.json"
./token.json: "/usr/lib/gsheet-crm/token.json"
overrides:
rpm:
scripts:
postinstall: ./package/scripts/postinstall.sh
preremove: ./package/scripts/preremove.sh
deb:
scripts:
postinstall: ./package/scripts/postinstall.sh
preremove: ./package/scripts/preremove.sh