-
Notifications
You must be signed in to change notification settings - Fork 20
/
rpm.json
57 lines (57 loc) · 1.21 KB
/
rpm.json
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
{
"name": "hello",
"version": "!version!",
"arch": "!arch!",
"release": "1",
"summary": "hello web server",
"group": "Applications/Internet",
"license": "LICENSE",
"url": "http://web.server/hello",
"description": "More about hello webserver",
"changelog-cmd": "changelog rpm",
"files": [
{
"from": "build/!arch!/hello",
"to": "%{_bindir}/",
"base": "build/!arch!/",
"type": ""
},
{
"from": "assets/**/**",
"to": "%{_datarootdir}/!name!/",
"base": "",
"type": ""
},
{
"from": "assets/**/**",
"to": "%{_datarootdir}/!name!/other",
"base": "assets",
"type": ""
},
{
"from": "rpm/hello.service",
"to": "%{_unitdir}/",
"base": "rpm"
}
],
"preinst": "rpm/preinst.sh",
"postinst": "rpm/postinst.sh",
"prerm": "rpm/prerm.sh",
"postrm": "rpm/postrm.sh",
"verify": "rpm/verify.sh",
"envs": {
"some": "value"
},
"menus": [
{
"name":"hello-shortcut",
"generic-name":"hello",
"exec":"xdg-open http://localhost:8080/",
"icon":"ico.png",
"type":"Application",
"keywords":"hello",
"startup-notify": false,
"categories":"Utility"
}
]
}