|
|
@ -1,14 +1,29 @@
|
|
|
|
|
|
|
|
# FIXME: qt6-qtdeclarative doesn't build on S390x
|
|
|
|
|
|
|
|
# BUG: https://bugreports.qt.io/browse/QTBUG-93101
|
|
|
|
|
|
|
|
ExcludeArch: s390x
|
|
|
|
|
|
|
|
|
|
|
|
%global qt_module qttools
|
|
|
|
%global qt_module qttools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global unstable 1
|
|
|
|
|
|
|
|
%if 0%{unstable}
|
|
|
|
|
|
|
|
%global prerelease beta4
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Qt6 - QtTool components
|
|
|
|
Summary: Qt6 - QtTool components
|
|
|
|
Name: qt6-qttools
|
|
|
|
Name: qt6-qttools
|
|
|
|
Version: 6.1.2
|
|
|
|
Version: 6.2.0%{?unstable:~%{prerelease}}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv3 or LGPLv2
|
|
|
|
License: LGPLv3 or LGPLv2
|
|
|
|
Url: http://www.qt.io
|
|
|
|
Url: http://www.qt.io
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
|
|
|
%global qt_version %(echo %{version} | cut -d~ -f1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{unstable}
|
|
|
|
|
|
|
|
Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/submodules/%{qt_module}-everywhere-src-%{qt_version}-%{prerelease}.tar.xz
|
|
|
|
|
|
|
|
%else
|
|
|
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
|
|
|
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# help lrelease/lupdate use/prefer qmake-qt6
|
|
|
|
# help lrelease/lupdate use/prefer qmake-qt6
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1009893
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1009893
|
|
|
@ -136,7 +151,7 @@ Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{qt_module}-everywhere-src-%{version}
|
|
|
|
%setup -q -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}}
|
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .run-qttools-with-qt6-suffix
|
|
|
|
%patch1 -p1 -b .run-qttools-with-qt6-suffix
|
|
|
|
%ifarch %{mips32}
|
|
|
|
%ifarch %{mips32}
|
|
|
@ -178,8 +193,7 @@ for i in * ; do
|
|
|
|
case "${i}" in
|
|
|
|
case "${i}" in
|
|
|
|
assistant|designer|lconvert|linguist|lrelease|lupdate|pixeltool| \
|
|
|
|
assistant|designer|lconvert|linguist|lrelease|lupdate|pixeltool| \
|
|
|
|
qcollectiongenerator|qdbus|qdbusviewer|qhelpconverter|qhelpgenerator| \
|
|
|
|
qcollectiongenerator|qdbus|qdbusviewer|qhelpconverter|qhelpgenerator| \
|
|
|
|
qtplugininfo|qtattributionsscanner|qtpaths| \
|
|
|
|
qtplugininfo|qdistancefieldgenerator|qdoc|qtdiag)
|
|
|
|
qdistancefieldgenerator|qdoc|qtdiag)
|
|
|
|
|
|
|
|
ln -v ${i} %{buildroot}%{_bindir}/${i}-qt6
|
|
|
|
ln -v ${i} %{buildroot}%{_bindir}/${i}-qt6
|
|
|
|
ln -sv ${i} ${i}-qt6
|
|
|
|
ln -sv ${i} ${i}-qt6
|
|
|
|
;;
|
|
|
|
;;
|
|
|
@ -220,11 +234,8 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_bindir}/qdbus-qt6
|
|
|
|
%{_bindir}/qdbus-qt6
|
|
|
|
%{_bindir}/qtpaths-qt6
|
|
|
|
|
|
|
|
%{_qt6_bindir}/qdbus
|
|
|
|
%{_qt6_bindir}/qdbus
|
|
|
|
%{_qt6_bindir}/qdbus-qt6
|
|
|
|
%{_qt6_bindir}/qdbus-qt6
|
|
|
|
%{_qt6_bindir}/qtpaths
|
|
|
|
|
|
|
|
%{_qt6_bindir}/qtpaths-qt6
|
|
|
|
|
|
|
|
%{_qt6_libdir}/libQt6UiTools.so.6*
|
|
|
|
%{_qt6_libdir}/libQt6UiTools.so.6*
|
|
|
|
|
|
|
|
|
|
|
|
%files common
|
|
|
|
%files common
|
|
|
@ -260,8 +271,7 @@ popd
|
|
|
|
%{_bindir}/qhelpgenerator*
|
|
|
|
%{_bindir}/qhelpgenerator*
|
|
|
|
%{_qt6_bindir}/qdistancefieldgenerator*
|
|
|
|
%{_qt6_bindir}/qdistancefieldgenerator*
|
|
|
|
%{_qt6_bindir}/qhelpgenerator*
|
|
|
|
%{_qt6_bindir}/qhelpgenerator*
|
|
|
|
%{_bindir}/qtattributionsscanner-qt6
|
|
|
|
%{_qt6_libexecdir}/qtattributionsscanner*
|
|
|
|
%{_qt6_bindir}/qtattributionsscanner*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n qt6-designer
|
|
|
|
%files -n qt6-designer
|
|
|
|
%{_bindir}/designer*
|
|
|
|
%{_bindir}/designer*
|
|
|
@ -321,7 +331,7 @@ popd
|
|
|
|
%{_qt6_libdir}/cmake/Qt6/FindWrapLibClang.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6/FindWrapLibClang.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtToolsTestsConfig.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtToolsTestsConfig.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6Designer/*.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6Designer/*.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6DesignerComponents/*.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6DesignerComponentsPrivate/*.cmake
|
|
|
|
%dir %{_qt6_libdir}/cmake/Qt6Help/
|
|
|
|
%dir %{_qt6_libdir}/cmake/Qt6Help/
|
|
|
|
%{_qt6_libdir}/cmake/Qt6Help/*.cmake
|
|
|
|
%{_qt6_libdir}/cmake/Qt6Help/*.cmake
|
|
|
|
%dir %{_qt6_libdir}/cmake/Qt6Linguist
|
|
|
|
%dir %{_qt6_libdir}/cmake/Qt6Linguist
|
|
|
@ -344,6 +354,7 @@ popd
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_linguist_private.pri
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_linguist_private.pri
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_tools_private.pri
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_tools_private.pri
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_uiplugin.pri
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_uiplugin.pri
|
|
|
|
|
|
|
|
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%files static
|
|
|
@ -362,6 +373,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Sep 13 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~beta4-1
|
|
|
|
|
|
|
|
- 6.2.0 - beta4
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 12 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.2-1
|
|
|
|
* Thu Aug 12 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.2-1
|
|
|
|
- 6.1.2
|
|
|
|
- 6.1.2
|
|
|
|
|
|
|
|
|
|
|
|