2016-07-15 13:34:36 +00:00
|
|
|
%_qt5_prefix %{_libdir}/qt5
|
2018-06-02 19:59:27 +00:00
|
|
|
%_qt5_archdatadir %{_libdir}/qt5
|
|
|
|
%_qt5_bindir %{_libdir}/qt5/bin
|
2016-07-15 13:34:36 +00:00
|
|
|
%_qt5_datadir %{_datadir}/qt5
|
|
|
|
%_qt5_docdir %{_docdir}/qt5
|
|
|
|
%_qt5_examplesdir %{_qt5_prefix}/examples
|
|
|
|
%_qt5_headerdir %{_includedir}/qt5
|
|
|
|
%_qt5_includedir %{_includedir}/qt5
|
|
|
|
%_qt5_importdir %{_qt5_archdatadir}/imports
|
|
|
|
%_qt5_libdir %{_libdir}
|
|
|
|
%_qt5_libexecdir %{_qt5_archdatadir}/libexec
|
|
|
|
%_qt5_plugindir %{_qt5_archdatadir}/plugins
|
|
|
|
%_qt5_qmldir %{_qt5_archdatadir}/qml
|
|
|
|
%_qt5_qmake %{_qt5_bindir}/qmake
|
|
|
|
%_qt5_settingsdir %{_sysconfdir}/xdg
|
|
|
|
%_qt5_sysconfdir %{_qt5_settingsdir}
|
|
|
|
%_qt5_translationdir %{_datadir}/qt5/translations
|
|
|
|
|
2016-09-14 13:27:08 +00:00
|
|
|
%_qt5_cflags %{nil}@@QT5_CFLAGS@@
|
|
|
|
%_qt5_cxxflags %{nil}@@QT5_CXXFLAGS@@
|
|
|
|
%_qt5_ldflags %{nil}%{?__global_ldflags} @@QT5_RPM_LD_FLAGS@@
|
|
|
|
%_qt5_optflags %{optflags} @@QT5_RPM_OPT_FLAGS@@
|
2016-07-15 13:34:36 +00:00
|
|
|
|
|
|
|
%_qt5_qmake_flags \\\
|
|
|
|
QMAKE_CFLAGS_DEBUG="${CFLAGS:-%{_qt5_optflags} %{?_qt5_cflags}}" \\\
|
|
|
|
QMAKE_CFLAGS_RELEASE="${CFLAGS:-%{_qt5_optflags} %{?_qt5_cflags}}" \\\
|
|
|
|
QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS:-%{_qt5_optflags} %{?_qt5_cxxflags}}" \\\
|
|
|
|
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-%{_qt5_optflags} %{?_qt5_cxxflags}}" \\\
|
|
|
|
QMAKE_LFLAGS_DEBUG="${LDFLAGS:-%{_qt5_ldflags}}" \\\
|
|
|
|
QMAKE_LFLAGS_RELEASE="${LDFLAGS:-%{_qt5_ldflags}}" \\\
|
|
|
|
QMAKE_STRIP=
|
|
|
|
|
|
|
|
%qmake_qt5 %{_qt5_qmake} %{?_qt5_qmake_flags}
|
2018-01-24 20:21:06 +00:00
|
|
|
|
2018-01-24 22:16:13 +00:00
|
|
|
%qmake_qt5_wrapper %{_bindir}/qmake-qt5.sh
|