1 # Per-platform rpm configuration file.
3 #==============================================================================
4 # ---- per-platform macros.
7 %_build_arch @RPMCANONARCH@
8 %_vendor @RPMCANONVENDOR@
11 %_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
12 %optflags @RPMRC_OPTFLAGS@
16 %__isa %{__isa_name}-%{__isa_bits}
18 # The default transaction color. This value is a set of bits to
19 # determine file and dependency affinity for this arch.
20 # 0 uncolored (i.e. use only arch as install hint)
23 %_transaction_color @RPMCANONCOLOR@
25 #==============================================================================
26 # ---- configure macros.
29 %_exec_prefix @exec_prefix@
32 %_libexecdir @libexecdir@
33 %_datarootdir @datarootdir@
35 %_sysconfdir @sysconfdir@
36 %_sharedstatedir @sharedstatedir@
37 %_localstatedir @localstatedir@
39 %_libdir @exec_prefix@/@LIB@
40 %_includedir @includedir@
41 %_oldincludedir @oldincludedir@
44 %_initddir %{_sysconfdir}/rc.d/init.d
45 # Deprecated misspelling, present for backwards compatibility.
46 %_initrddir %{_initddir}
48 %_defaultdocdir %{_datadir}/doc
50 %_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\
51 && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
52 [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
54 #==============================================================================
55 # ---- Build policy macros.
57 #---------------------------------------------------------------------
58 # Expanded at end of %install scriptlet.
61 %__arch_install_post @ARCH_INSTALL_POST@
64 %{_rpmconfigdir}/brp-compress \
65 %{_rpmconfigdir}/brp-strip %{__strip} \
66 %{_rpmconfigdir}/brp-strip-static-archive %{__strip} \
67 %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \
71 %{?__debug_package:%{__debug_install_post}}\
72 %{__arch_install_post}\
76 @apple@#---------------------------------------------------------------------
77 @apple@# Apple Darwin vendor specific macros
79 @apple@%_use_internal_dependency_generator 0