binaries
macro
RHEL 3 and 4
Mandriva Cooker
SUSE
%{__aclocal} aclocal aclocal aclocal
%{__ar} ar ar ar
%{__as} as as as
%{__autoconf} autoconf autoconf autoconf
%{__autoheader} autoheader autoheader autoheader
%{__automake} automake automake automake
%{__awk} gawk gawk gawk
%{__bzip2} /usr/bin/bzip2 /usr/bin/bzip2 /usr/bin/bzip2
%{__cat} /bin/cat /bin/cat /bin/cat
%{__cc} gcc gcc gcc
%{__chgrp} /bin/chgrp /bin/chgrp /bin/chgrp
%{__chgrp_Rhf}
%{__chgrp} -Rhf
%{__chmod} /bin/chmod /bin/chmod /bin/chmod
%{__chown} /bin/chown /bin/chown /bin/chown
%{__chown_Rhf} %{__chown} -Rhf not enabled by default
%{__cp} /bin/cp /bin/cp /bin/cp
%{__cpio} /bin/cpio /bin/cpio /bin/cpio
%{__cpp} gcc -E gcc -E gcc -E
%{__cxx} g++ g++ g++
%{__grep}
/bin/grep /bin/grep /usr/bin/grep
%{__gzip} /usr/bin/gzip /usr/bin/gzip /usr/bin/gzip
%{__id} /usr/bin/id /usr/bin/id /usr/bin/id
%{__id_u}
%{__id} -u
%{__install} /usr/bin/install /usr/bin/install /usr/bin/install
%{__ld} /usr/bin/ld /usr/bin/ld /usr/bin/ld
%{__libtoolize} libtoolize libtoolize libtoolize
%{__ln_s} ln -s ln -s ln -s
%{__make} /usr/bin/make /usr/bin/make /usr/bin/make
%{__mkdir} /bin/mkdir /bin/mkdir /bin/mkdir
%{__mkdir_p} /bin/mkdir -p /bin/mkdir -p /bin/mkdir -p
%{__mv} /bin/mv /bin/mv /bin/mv
%{__nm} /usr/bin/nm /usr/bin/nm /usr/bin/nm
%{__objcopy} /usr/bin/objcopy /usr/bin/objcopy /usr/bin/objcopy
%{__objdump} /usr/bin/objdump /usr/bin/objdump /usr/bin/objdump
%{__patch} /usr/bin/patch /usr/bin/patch /usr/bin/patch
%{__perl} /usr/bin/perl /usr/bin/perl /usr/bin/perl
%{__pgp} /usr/bin/pgp /usr/bin/pgp /usr/bin/pgp
%{__prelink_undo_cmd}
/usr/sbin/prelink prelink -y library
%{__python} /usr/bin/python /usr/bin/python /usr/bin/python
%{__ranlib} ranlib ranlib ranlib
%{__rm} /bin/rm /bin/rm /bin/rm
%{__sed}
/bin/sed /bin/sed /usr/bin/sed
%{__strip} /usr/bin/strip /usr/bin/strip /usr/bin/strip
%{__tar} /bin/tar /bin/tar /bin/tar
%{__unzip} /usr/bin/unzip /usr/bin/unzip /usr/bin/unzip
paths
macro
RHEL 3 and 4
Mandriva Cooker
SUSE
%{_bindir} %{_exec_prefix}/bin /usr/bin %{_exec_prefix}/bin
%{_datadir} /usr/share /usr/share %{prefix}/share
%{_dbpath} %{_var}/lib/rpm /var/lib/rpm %{_var}/lib/rpm
%{_defaultdocdir} %{_usr}/share/doc /usr/share/doc %{_usr}/share/doc
%{_exec_prefix} %{_prefix} /usr %{_prefix}
%{_infodir} %{_prefix}/share/info /usr/share/info %{_datadir}/info
%{_initrddir}
%{_sysconfdir}/rc.d/init.d /etc/rc.d/init.d
%{_javadir} %{_datadir}/java /usr/share/java %{_datadir}/java
%{_javadocdir} %{_datadir}/javadoc /usr/share/javadoc %{_datadir}/javadoc
%{_lib} lib lib lib
%{_libdir} %{_exec_prefix}/%{_lib} /usr/lib %{_exec_prefix}/%{_lib}
%{_libexecdir}
%{_exec_prefix}/libexec /usr/lib %{_exec_prefix}/libexec
%{_localstatedir}
/var /var/lib %{_prefix}/var
%{_mandir} %{_prefix}/share/man /usr/share/man %{_datadir}/man
%{_prefix} /usr /usr /usr
%{_sbindir} %{_exec_prefix}/sbin /usr/sbin %{_exec_prefix}/sbin
%{_sharedstatedir} %{_prefix}/com /usr/com %{_prefix}/com
%{_sysconfdir}
/etc /etc %{prefix}/etc
%{_usr} /usr /usr /usr
%{_usrsrc} %{_usr}/src /usr/src %{_usr}/src
%{_var} /var /var /var
build
macro
RHEL 3 and 4
Mandriva Cooker
SUSE
%{configure}
CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS;
CXXFLAGS="${CXXFLAGS:-%optflags}"; export CXXFLAGS;
FFLAGS="${FFLAGS:-%optflags}"; export FFLAGS;
./configure --host=%{_host} --build=%{_build} \
--target=%{_target_platform} \
--program-prefix=%{?_program_prefix} \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--localstatedir=%{_localstatedir} \
--sharedstatedir=%{_sharedstatedir} \
--mandir=%{_mandir} \
--infodir=%{_infodir}
CONFIGURE_TOP="${CONFIGURE_TOP:-.}";
CFLAGS="${CFLAGS:--O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables}"; export CFLAGS;
CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables}"; export CXXFLAGS;
FFLAGS="${FFLAGS:--O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables}"; export FFLAGS;
cputoolize -c $CONFIGURE_TOP ;
(cd $CONFIGURE_TOP; [ -f configure.in -o -f configure.ac ] && libtoolize --copy --force);
[ -f $CONFIGURE_TOP/configure.in -o -f $CONFIGURE_TOP/configure.ac ] && CONFIGURE_XPATH="--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" $CONFIGURE_TOP/configure i586-mandriva-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--localstatedir=/var/lib \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
$CONFIGURE_XPATH
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ ./configure --host=%{_host} --build=%{_build} \\\ --target=%{_target_platform} \\\ --program-prefix=%{?_program_prefix} \\\ --prefix=%{_prefix} \\\ --exec-prefix=%{_exec_prefix} \\\ --bindir=%{_bindir} \\\ --sbindir=%{_sbindir} \\\ --sysconfdir=%{_sysconfdir} \\\ --datadir=%{_datadir} \\\ --includedir=%{_includedir} \\\ --libdir=%{_libdir} \\\ --libexecdir=%{_libexecdir} \\\ --localstatedir=%{_localstatedir} \\\ --sharedstatedir=%{_sharedstatedir} \\\ --mandir=%{_mandir} \\\ --infodir=%{_infodir}
%{makeinstall}
make \
prefix=%{?buildroot:%{buildroot}}%{_prefix} \
exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \
bindir=%{?buildroot:%{buildroot}}%{_bindir} \
sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \
sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \
datadir=%{?buildroot:%{buildroot}}%{_datadir} \
includedir=%{?buildroot:%{buildroot}}%{_includedir} \
libdir=%{?buildroot:%{buildroot}}%{_libdir} \
libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \
localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \
sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \
mandir=%{?buildroot:%{buildroot}}%{_mandir} \
infodir=%{?buildroot:%{buildroot}}%{_infodir} \
install
make \
prefix=/usr \
exec_prefix=/usr \
bindir=/usr/bin \
sbindir=/usr/sbin \
sysconfdir=/etc \
datadir=/usr/share \
includedir=/usr/include \
libdir=/usr/lib \
libexecdir=/usr/lib \
localstatedir=/var/lib \
sharedstatedir=/usr/com \
mandir=/usr/share/man \
infodir=/usr/share/info \
install
make \\\ prefix=%{?buildroot:%{buildroot}}%{_prefix} \\\ exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \\\ bindir=%{?buildroot:%{buildroot}}%{_bindir} \\\ sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \\\ sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \\\ datadir=%{?buildroot:%{buildroot}}%{_datadir} \\\ includedir=%{?buildroot:%{buildroot}}%{_includedir} \\\ libdir=%{?buildroot:%{buildroot}}%{_libdir} \\\ libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \\\ localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \\\ sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \\\ mandir=%{?buildroot:%{buildroot}}%{_mandir} \\\ infodir=%{?buildroot:%{buildroot}}%{_infodir} \\\ install

* the color red indicates a conflict between distributions