2d2b1a
%_qt5 @@NAME@@
2d2b1a
%_qt5_epoch @@EPOCH@@
2d2b1a
%_qt5_version @@VERSION@@
2d2b1a
%_qt5_evr @@EVR@@
2d2b1a
%_qt5_prefix %{_libdir}/qt5
2d2b1a
%_qt5_archdatadir %{_qt5_prefix}
2d2b1a
%_qt5_bindir %{_qt5_prefix}/bin
2d2b1a
%_qt5_datadir %{_datadir}/qt5
2d2b1a
%_qt5_docdir %{_docdir}/qt5
2d2b1a
%_qt5_examplesdir %{_qt5_prefix}/examples
2d2b1a
%_qt5_headerdir %{_includedir}/qt5
68351b
%_qt5_includedir %{_includedir}/qt5
2d2b1a
%_qt5_importdir %{_qt5_archdatadir}/imports
2d2b1a
%_qt5_libdir %{_libdir}
2d2b1a
%_qt5_libexecdir %{_qt5_archdatadir}/libexec
2d2b1a
%_qt5_plugindir %{_qt5_archdatadir}/plugins
68351b
%_qt5_qmldir %{_qt5_archdatadir}/qml
2d2b1a
%_qt5_qmake %{_qt5_bindir}/qmake
2d2b1a
%_qt5_settingsdir %{_sysconfdir}/xdg
2d2b1a
%_qt5_sysconfdir %{_qt5_settingsdir}
2d2b1a
%_qt5_translationdir %{_datadir}/qt5/translations
2d2b1a
2d2b1a
%_qt5_cflags %{nil}@@QT5_CFLAGS@@
2d2b1a
%_qt5_cxxflags %{nil}@@QT5_CXXFLAGS@@
2d2b1a
%_qt5_ldflags %{nil}%{?__global_ldflags} @@QT5_RPM_LD_FLAGS@@
2d2b1a
%_qt5_optflags %{optflags} @@QT5_RPM_OPT_FLAGS@@
2d2b1a
2d2b1a
%_qt5_qmake_flags \\\
2d2b1a
  QMAKE_CFLAGS_DEBUG="${CFLAGS:-%{_qt5_optflags} %{?_qt5_cflags}}" \\\
2d2b1a
  QMAKE_CFLAGS_RELEASE="${CFLAGS:-%{_qt5_optflags} %{?_qt5_cflags}}" \\\
2d2b1a
  QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS:-%{_qt5_optflags} %{?_qt5_cxxflags}}" \\\
2d2b1a
  QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-%{_qt5_optflags} %{?_qt5_cxxflags}}" \\\
2d2b1a
  QMAKE_LFLAGS_DEBUG="${LDFLAGS:-%{_qt5_ldflags}}" \\\
2d2b1a
  QMAKE_LFLAGS_RELEASE="${LDFLAGS:-%{_qt5_ldflags}}" \\\
2d2b1a
  QMAKE_STRIP=
2d2b1a
2d2b1a
%qmake_qt5 %{_qt5_qmake} %{?_qt5_qmake_flags}