- tsort prefers presentation order.
[platform/upstream/rpm.git] / platform.in
1 # Per-platform rpm configuration file.
2
3 #==============================================================================
4 # ---- per-platform macros.
5 #
6 %_arch                  @RPMRC_ARCH@
7 %_vendor                @RPMCANONVENDOR@
8 %_os                    @RPMCANONOS@
9 %_target_platform       %{_target_cpu}-%{_vendor}-%{_target_os}
10 %optflags               @RPMRC_OPTFLAGS@
11
12 #==============================================================================
13 # ---- configure macros.
14 #
15 %_prefix                @prefix@
16 %_exec_prefix           @exec_prefix@
17 %_bindir                @bindir@
18 %_sbindir               @sbindir@
19 %_libexecdir            @libexecdir@
20 %_datadir               @datadir@
21 %_sysconfdir            @sysconfdir@
22 %_sharedstatedir        @sharedstatedir@
23 %_localstatedir         @localstatedir@
24 %_lib                   @LIB@
25 %_libdir                @LIBDIR@
26 %_includedir            @includedir@
27 %_oldincludedir         @oldincludedir@
28 %_infodir               @infodir@
29 %_mandir                @mandir@
30
31 %_defaultdocdir         @DEFAULTDOCDIR@
32
33 #==============================================================================
34 # ---- Build policy macros.
35 #
36 #------------------------------------------------------------------------
37 #       Expanded at end of %install
38 #
39
40 %__arch_install_post   @ARCH_INSTALL_POST@
41
42 %__os_install_post    \
43     @prefix@/lib/rpm/brp-compress \
44     @prefix@/lib/rpm/brp-strip \
45     @prefix@/lib/rpm/brp-strip-comment-note \
46 %{nil}
47
48 %__spec_install_post\
49      %{__arch_install_post}\
50      %{__os_install_post}\
51 %{nil}
52
53 #------------------------------------------------------------------------
54 #       Expanded at end of %prep
55 #
56 %__id_u                 @__ID_U@
57 %__chown_Rhf            @__CHOWN_RHF@
58 %__chgrp_Rhf            @__CHGRP_RHF@
59 %_fixowner              [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
60 %_fixgroup              [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
61 %_fixperms              %{__chmod} -Rf @FIXPERMS@
62
63 @MULTILIBSTART@
64 #------------------------------------------------------------------------
65 #       Multilibs
66 %_multilibno            @MULTILIBNO@
67 %_multilibpatt          (/%{_lib}|/usr/%{_lib}(|/gconv)|/usr/local/%{_lib}|/usr/X11R6/%{_lib}|/opt/%{_lib})/[^/]*\\.([oa]|la|so[0-9.]*)$
68 @MULTILIBEND@