c0b78555d6accd2070734048b0c9952a39b9f5f7
[tools/librpm-tizen.git] / platform.in
1 # Per-platform rpm configuration file.
2
3 #==============================================================================
4 # ---- per-platform macros.
5 #
6 %_arch                  @RPMCANONARCH@
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 %_libdir                @libdir@
25 %_includedir            @includedir@
26 %_oldincludedir         @oldincludedir@
27 %_infodir               @infodir@
28 %_mandir                @mandir@
29
30 #==============================================================================
31 # ---- Build policy macros.
32 #
33 #------------------------------------------------------------------------
34 #       Expanded at end of %install (Red Hat uses these for 6.2)
35 #
36 #%__spec_install_post    \
37 #    /usr/lib/rpm/brp-compress \
38 #    /usr/lib/rpm/brp-strip \
39 #    /usr/lib/rpm/brp-strip-comment-note \
40 #%{nil}
41 #------------------------------------------------------------------------
42 #       Expanded at end of %prep (Red Hat uses these for 6.2)
43 #
44 %__id_u                 @__ID_U@
45 %__chown_Rhf            @__CHOWN_RHF@
46 %__chgrp_Rhf            @__CHGRP_RHF@
47 %_fixowner              [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
48 %_fixgroup              [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
49 %_fixperms              %{__chmod} -Rf @FIXPERMS@