-
-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathnfpm.yaml
More file actions
73 lines (63 loc) · 1.75 KB
/
nfpm.yaml
File metadata and controls
73 lines (63 loc) · 1.75 KB
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
# nfpm configuration for BabySmash Linux packages
name: "babysmash"
arch: "amd64"
platform: "linux"
version: "${VERSION}"
section: "games"
priority: "optional"
maintainer: "Scott Hanselman"
description: |
BabySmash - A game for babies who like to bang on the keyboard
As babies or children smash on the keyboard, colored shapes, letters and
numbers appear on the screen and are spoken aloud to help with letter and
number recognition.
vendor: "Scott Hanselman"
homepage: "https://github.com/shanselman/babysmash"
license: "MIT"
# Dependencies
depends:
- espeak
- pulseaudio-utils | alsa-utils
# Recommended packages
recommends:
- pulseaudio-utils
# Files to include in the package
contents:
# Main executable
- src: ./BabySmash.Linux/bin/Release/net10.0/linux-x64/publish/BabySmash.Linux
dst: /usr/bin/babysmash
file_info:
mode: 0755
# Desktop entry for application menu
- src: ./BabySmash.Linux/babysmash.desktop
dst: /usr/share/applications/babysmash.desktop
file_info:
mode: 0644
# Application icon
- src: ./Shared/Resources/babysmash.png
dst: /usr/share/icons/hicolor/256x256/apps/babysmash.png
file_info:
mode: 0644
# Documentation
- src: ./README.md
dst: /usr/share/doc/babysmash/README.md
file_info:
mode: 0644
# License file
- src: ./LICENSE
dst: /usr/share/doc/babysmash/LICENSE
file_info:
mode: 0644
# Post-install script to update icon cache
scripts:
postinstall: ./scripts/postinstall.sh
postremove: ./scripts/postremove.sh
# RPM-specific configuration
rpm:
group: Amusements/Games
summary: A keyboard smash game for babies and toddlers
compression: lzma
# Deb-specific configuration
deb:
fields:
Bugs: https://github.com/shanselman/babysmash/issues