blob: 9237d6cbd16702215f77c847397f5049ffa104b1 (
plain) (
blame)
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
| # Copyright (c) 2026 Nikolay Govorov
# SPDX-License-Identifier: AGPL-3.0-or-later
# yaml-language-server: $schema=https://nfpm.goreleaser.com/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
name: recluse
arch: ${ARCH}
version: ${VERSION}
license: AGPL-3.0-or-later
platform: linux
maintainer: Nikolay Govorov <me@govorov.online>
description: Tiny packages caching proxy
contents:
- src: ./LICENSE
dst: /usr/share/doc/recluse/LICENSE
- src: ./README.md
dst: /usr/share/doc/recluse/README.md
- src: target/release/recluse
dst: /usr/local/bin/recluse
file_info:
mode: 0755
- src: pkg/recluse.toml
dst: /etc/recluse.toml
type: config|noreplace
file_info:
mode: 0640
owner: root
group: recluse
- src: pkg/recluse.service
dst: /usr/lib/systemd/system/recluse.service
file_info:
mode: 0644
- dst: /var/lib/recluse
type: dir
file_info:
mode: 0755
owner: root
group: recluse
scripts:
preinstall: pkg/scripts/preinstall.sh
postinstall: pkg/scripts/postinstall.sh
preremove: pkg/scripts/preremove.sh
deb:
signature:
method: debsign
key_id: ${GPG_KEY_ID}
key_file: ${SIGNING_PRIVATE_KEY}
rpm:
group: System Environment/Daemons
signature:
key_id: ${GPG_KEY_ID}
key_file: ${SIGNING_PRIVATE_KEY}
|