Things I'd like to add. Assuming these are actually possible.
%autosetup
Very difficult in EL5, but there might be a hack....
%_smp_ncpus_max
python2 macros
Maybe %__global_ldflags
Requires redefinition of %cmake, %cmake_kde4, %qmake_qt4 and %configure
%make_build