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