-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.rpmprops
52 lines (39 loc) · 1.1 KB
/
test.rpmprops
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
#
# This is a test file that aims to demonstrate all of the features possible in an RPM properties file.
#
Name: "mytestrpm"
Version: "666"
Release: "alpha"
Summary: "A test of RPM creation."
Description: "A test of rpm creation.\nSecond line of description."
Buildhost: "localhost"
License: "LGPL"
Packager: "John Q. Haxor"
Group: "System"
URL: "http://www.ya.ru"
Arch: "x86_64"
Platform: "x86_64-redhat-linux"
Optflags: "-O2 -g"
# this is used to store the version of RPM that was used to build the package
RpmVersion: "4.11"
PreIn:
"
echo \"before install\"
"
PostIn: shell "/bin/bash"
"echo 'after install'"
PreUn:
"echo \"before uninstall\""
PostUn: shell "/bin/bash"
"echo 'after uninstall'"
Requires: "daemontools"
Requires: config "config(mytestrpm)" = "666-alpha"
Requires: pre, interp, prereq "bash" <= "123"
Requires: post,interp,verify "bash" = "123"
Requires: rpmlib "rpmlib(Foo)" >= "1"
Provides: "mytestrpm"
Provides: config "config(mytestrpm)" = "666-alpha"
Provides: auto "mylib" = "123"
Conflicts: "myothertestrpm"
Obsoletes: "rpmtester" > "alpha"
ForceUsername: "joeqpublic"