9e8572ff83
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/qt5#89f9ce4200e65c8e1b8a2e3551dd2c93304e4c8c
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
%_qt5_prefix %{_prefix}
|
|
%_qt5_archdatadir %{_libdir}/qt5
|
|
%_qt5_bindir %{_libdir}/qt5/bin
|
|
%_qt5_datadir %{_datadir}/qt5
|
|
%_qt5_docdir %{_docdir}/qt5
|
|
%_qt5_examplesdir %{_qt5_archdatadir}/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 @@QMAKE@@
|
|
%_qt5_settingsdir %{_sysconfdir}/xdg
|
|
%_qt5_sysconfdir %{_qt5_settingsdir}
|
|
%_qt5_translationdir %{_datadir}/qt5/translations
|
|
|
|
%_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@@
|
|
|
|
%_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}
|
|
|
|
%qmake_qt5_wrapper @@QMAKE_QT5_WRAPPER@@
|