Rex Dieter cd4a130
%_qt4 @@NAME@@
Rex Dieter cd4a130
%_qt4_epoch @@EPOCH@@
Rex Dieter cd4a130
%_qt4_version @@VERSION@@
Rex Dieter cd4a130
%_qt4_evr @@EVR@@
Rex Dieter cd4a130
%_qt48 %{_qt4_version}
Rex Dieter cd4a130
%_qt4_prefix %{_libdir}/qt4
Rex Dieter cd4a130
%_qt4_bindir %{_qt4_prefix}/bin
Rex Dieter cd4a130
%_qt4_datadir %{_qt4_prefix}
Rex Dieter cd4a130
%_qt4_demosdir %{_qt4_prefix}/demos
Rex Dieter cd4a130
%_qt4_docdir %{_docdir}/qt4
Rex Dieter cd4a130
%_qt4_examples %{_qt4_prefix}/examples
Rex Dieter cd4a130
%_qt4_examplesdir %{_qt4_prefix}/examples
Rex Dieter cd4a130
%_qt4_headerdir %{_includedir}
Rex Dieter cd4a130
%_qt4_importdir %{_qt4_prefix}/imports
Rex Dieter cd4a130
%_qt4_libdir %{_libdir}
Rex Dieter cd4a130
%_qt4_plugindir %{_qt4_prefix}/plugins
Rex Dieter cd4a130
%_qt4_qmake %{_qt4_bindir}/qmake
Rex Dieter cd4a130
%_qt4_sysconfdir %{_sysconfdir}
Rex Dieter cd4a130
%_qt4_translationdir %{_datadir}/qt4/translations 
Rex Dieter cd4a130
Rex Dieter 6f7261d
%_qt4_ldflags %{?__global_ldflags}
Rex Dieter 6f7261d
%_qt4_optflags %{optflags}
Rex Dieter 6f7261d
Rex Dieter 6f7261d
%_qt4_qmake_flags \\\
Rex Dieter 6f7261d
  QMAKE_CFLAGS_DEBUG="${CFLAGS:-%{_qt4_optflags}}" \\\
Rex Dieter 6f7261d
  QMAKE_CFLAGS_RELEASE="${CFLAGS:-%{_qt4_optflags}}" \\\
Rex Dieter 6f7261d
  QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS:-%{_qt4_optflags}}" \\\
Rex Dieter 6f7261d
  QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-%{_qt4_optflags}}" \\\
Rex Dieter 6f7261d
  QMAKE_LFLAGS_DEBUG="${LDFLAGS:-%{_qt4_ldflags}}" \\\
Rex Dieter 6f7261d
  QMAKE_LFLAGS_RELEASE="${LDFLAGS:-%{_qt4_ldflags}}" \\\
Rex Dieter cd4a130
  QMAKE_STRIP=
Rex Dieter cd4a130
Rex Dieter 6f7261d
%qmake_qt4 %{_qt4_qmake} %{_qt4_qmake_flags}