From 8640b6d11b33fe297018cb64a2a95f23e57cc277 Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Thu, 20 Jun 2024 17:54:40 +0200 Subject: [PATCH] feat: add Qubes Builder configuration For: https://github.com/ben-grande/qusal/issues/59 --- .reuse/dep5 | 4 +++ builder.yml | 73 +++++++++++++++++++++++++++++++++++++++++++++ scripts/spec-get.sh | 3 +- version | 1 + 4 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 builder.yml create mode 100644 version diff --git a/.reuse/dep5 b/.reuse/dep5 index 1ae3a9a..104b1be 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -7,6 +7,10 @@ Files: README.md */README.md docs/* .github/ISSUE_TEMPLATE/* Copyright: 2023 - 2024 Benjamin Grande M. S. License: CC-BY-SA-4.0 +Files: version +Copyright: 2023 - 2024 Benjamin Grande M. S. +License: CC0-1.0 + Files: salt/electrum/files/client/keys/* Copyright: SomberNight/ghost43 Stephan Oeste diff --git a/builder.yml b/builder.yml new file mode 100644 index 0000000..e5dbafc --- /dev/null +++ b/builder.yml @@ -0,0 +1,73 @@ +## SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. +## +## SPDX-License-Identifier: AGPL-3.0-or-later + +--- +git: + baseurl: https://github.com + prefix: ben-grande/ + branch: main + maintainers: + - DF3834875B65758713D92E91A475969DE4E371E3 + +backend-vmm: xen +debug: true +verbose: true +qubes-release: r4.2 +timeout: 3600 + +skip-git-fetch: false +fetch-versions-only: false + +distributions: + - host-fc37 + +components: + - builder-rpm: + branch: main + packages: false + url: https://github.com/QubesOS/qubes-builder-rpm + maintainers: + - 0064428F455451B3EBE78A7F063938BA42CFA724 + - qusal: + verification-mode: less-secure-signed-commits-sufficient + maintainers: + - DF3834875B65758713D92E91A475969DE4E371E3 + +executor: + type: qubes + options: + dispvm: "dom0" + +stages: + - fetch + - pre: + executor: + type: local + - prep + - build + - post: + executor: + type: local + - verify + - sign: + executor: + type: local + - publish: + executor: + type: local + - upload: + executor: + type: local + +gpg-client: gpg + +sign-key: + rpm: + - DF3834875B65758713D92E91A475969DE4E371E3 + +# repository-publish: +# components: current + +# repository-upload-remote-host: +# rpm: user@yum.domain.org:/some/path diff --git a/scripts/spec-get.sh b/scripts/spec-get.sh index b081137..31a1785 100755 --- a/scripts/spec-get.sh +++ b/scripts/spec-get.sh @@ -60,7 +60,8 @@ vendor="${QUSAL_VENDOR:-"Benjamin Grande"}" packager="${QUSAL_PACKAGER:-"Benjamin Grande"}" url="${QUSAL_URL:-"https://github.com/ben-grande/qusal"}" bug_url="${QUSAL_BUGURL:-"https://github.com/ben-grande/qusal/issues"}" -version="1.0" +# shellcheck disable=SC2094 +read -r version