2020-12-15 17:47:00 +01:00
|
|
|
name: "foo"
|
2021-04-15 22:25:39 +02:00
|
|
|
arch: "${BUILD_ARCH}"
|
2020-12-15 17:47:00 +01:00
|
|
|
platform: "linux"
|
|
|
|
version: "v1.2.3-beta"
|
|
|
|
maintainer: "Foo Bar"
|
|
|
|
depends:
|
|
|
|
- bash
|
|
|
|
provides:
|
|
|
|
- fake
|
|
|
|
recommends:
|
|
|
|
- fish
|
|
|
|
replaces:
|
|
|
|
- foo
|
|
|
|
suggests:
|
|
|
|
- zsh
|
|
|
|
description: |
|
|
|
|
Foo bar
|
|
|
|
Multiple lines
|
|
|
|
vendor: "foobar"
|
|
|
|
homepage: "https://foobar.org"
|
|
|
|
license: "MIT"
|
2020-12-23 01:28:32 +01:00
|
|
|
contents:
|
|
|
|
- src: ./testdata/fake
|
|
|
|
dst: /usr/local/bin/fake
|
|
|
|
- src: ./testdata/acceptance/folder/*
|
|
|
|
dst: /usr/share/whatever/folder/
|
|
|
|
- src: ./testdata/whatever.conf
|
|
|
|
dst: /etc/foo/whatever.conf
|
|
|
|
type: config
|
2021-11-06 18:07:18 +01:00
|
|
|
- src: ./testdata/fake
|
|
|
|
dst: /usr/sbin/fake
|
|
|
|
file_info:
|
|
|
|
mode: 04755
|
2021-12-28 18:24:49 +01:00
|
|
|
- dst: /usr/foo/bar/something
|
|
|
|
type: dir
|
2020-12-15 17:47:00 +01:00
|
|
|
empty_folders:
|
|
|
|
- /var/log/whatever
|
|
|
|
- /usr/share/foo
|
|
|
|
scripts:
|
|
|
|
preinstall: ./testdata/acceptance/scripts/preinstall.sh
|
|
|
|
postinstall: ./testdata/acceptance/scripts/postinstall.sh
|
|
|
|
preremove: ./testdata/acceptance/scripts/preremove.sh
|
|
|
|
postremove: ./testdata/acceptance/scripts/postremove.sh
|
2021-04-22 20:48:06 +02:00
|
|
|
rpm:
|
|
|
|
scripts:
|
|
|
|
pretrans: ./testdata/acceptance/scripts/pretrans.sh
|
|
|
|
posttrans: ./testdata/acceptance/scripts/posttrans.sh
|
2021-04-20 23:02:37 +02:00
|
|
|
apk:
|
|
|
|
scripts:
|
|
|
|
preupgrade: ./testdata/acceptance/scripts/preupgrade.sh
|
2021-12-28 18:24:49 +01:00
|
|
|
postupgrade: ./testdata/acceptance/scripts/postupgrade.sh
|