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