7cbe52052b9f9a6823e9bbab6b29e19d278eed23
[platform/upstream/rpm.git] / lib-rpmrc.in
1 #############################################################
2 # Default values, often overridden in /etc/rpmrc
3
4 dbpath:         @varprefix@/lib/rpm
5 topdir:         @prefix@/src/redhat
6 tmppath:        @tmpdir@
7 cpiobin:        @CPIOBIN@
8 gzipbin:        @GZIPBIN@
9 defaultdocdir:  @prefix@/doc
10 fixperms:       @FIXPERMS@
11
12 #############################################################
13
14 # Please send new entries to rpm-list@redhat.com
15
16 #############################################################
17 # Values for RPM_OPT_FLAGS for various platforms
18
19 optflags: i386 -O2 -m486 -fno-strength-reduce
20 optflags: alpha -O2
21 optflags: sparc -O2
22 optflags: m68k -O2 -fomit-frame-pointer
23 optflags: ppc -O2 -fsigned-char
24
25 #############################################################
26 # Canonical arch names and numbers
27
28 arch_canon:     i986:   i986    1
29 arch_canon:     i886:   i886    1
30 arch_canon:     i786:   i786    1
31 arch_canon:     i686:   i686    1
32 arch_canon:     i586:   i586    1
33 arch_canon:     i486:   i486    1
34 arch_canon:     i386:   i386    1
35 arch_canon:     alpha:  alpha   2
36 arch_canon:     sparc:  sparc   3
37 arch_canon:     sun4:   sparc   3
38 arch_canon:     sun4m:  sparc   3
39 arch_canon:     sun4c:  sparc   3
40 # This is really a place holder for MIPS.
41 arch_canon:     mips:   mips    4
42 arch_canon:     ppc:    ppc     5
43 # This is really a place holder for 68000
44 arch_canon:     m68k:   m68k    6
45 # This is wrong. We really need globbing in here :-(
46 arch_canon:     IP:     sgi     7
47 arch_canon:     IP22:   sgi     7
48
49 # I don't know what this number is, but...
50 arch_canon:    000050703700:   rs6000  8
51
52 arch_canon:    9000/712:       hppa1.1 9
53
54 arch_canon:    sun4u:   usparc  10
55
56 #############################################################
57 # Canonical OS names and numbers
58
59 os_canon:       Linux:  Linux   1
60 os_canon:       IRIX:   Irix    2
61 # This is wrong
62 os_canon:       SunOS5: solaris 3
63 os_canon:       SunOS4: SunOS   4
64
65 os_canon:      AmigaOS: AmigaOS 5
66 os_canon:          AIX: AIX     5
67 os_canon:        HP-UX: hpux10  6
68 os_canon:         OSF1: osf1    7
69 os_canon:      FreeBSD: FreeBSD 8
70 os_canon:       SCO_SV: SCO_SV3.2v5.0.2  9
71
72 #############################################################
73 # For a given uname().machine, the default build arch
74
75 buildarchtranslate: osfmach3_i986: i386
76 buildarchtranslate: osfmach3_i886: i386
77 buildarchtranslate: osfmach3_i786: i386
78 buildarchtranslate: osfmach3_i686: i386
79 buildarchtranslate: osfmach3_i586: i386
80 buildarchtranslate: osfmach3_i486: i386
81 buildarchtranslate: osfmach3_i386: i386
82
83 buildarchtranslate: i986: i386
84 buildarchtranslate: i886: i386
85 buildarchtranslate: i786: i386
86 buildarchtranslate: i686: i386
87 buildarchtranslate: i586: i386
88 buildarchtranslate: i486: i386
89 buildarchtranslate: i386: i386
90
91 buildarchtranslate: osfmach3_ppc: ppc
92
93 #############################################################
94 # Architecture compatibility
95
96 arch_compat: alpha: axp noarch
97
98 arch_compat: i986: i886
99 arch_compat: i886: i786
100 arch_compat: i786: i686
101 arch_compat: i686: i586
102 arch_compat: i586: i486
103 arch_compat: i486: i386
104 arch_compat: i386: noarch
105
106 arch_compat: osfmach3_i986: i986 osfmach3_i886
107 arch_compat: osfmach3_i886: i886 osfmach3_i786
108 arch_compat: osfmach3_i786: i786 osfmach3_i686
109 arch_compat: osfmach3_i686: i686 osfmach3_i586
110 arch_compat: osfmach3_i586: i586 osfmach3_i486
111 arch_compat: osfmach3_i486: i486 osfmach3_i386
112 arch_compat: osfmach3_i386: i486
113
114 arch_compat: osfmach3_ppc: ppc
115
116 arch_compat: usparc: sparc
117 arch_compat: sparc: noarch
118
119 arch_compat: ppc: noarch