commit 282ea0bdc7da7aeb62fad4eca513ac092dd17f22
Author: MSVSphere Packaging Team <packager@msvsphere-os.ru>
Date:   Fri Mar 29 16:25:39 2024 +0300

    import qt5-qttools-5.15.3-6.el8

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..adcb5a8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/qttools-everywhere-opensource-src-5.15.3.tar.xz
diff --git a/.qt5-qttools.metadata b/.qt5-qttools.metadata
new file mode 100644
index 0000000..6b68781
--- /dev/null
+++ b/.qt5-qttools.metadata
@@ -0,0 +1 @@
+5ebd5b921ab4133f00eaf786e7d3ef79f9a1442c SOURCES/qttools-everywhere-opensource-src-5.15.3.tar.xz
diff --git a/SOURCES/0001-Link-against-libclang-cpp.so-instead-of-the-clang-co.patch b/SOURCES/0001-Link-against-libclang-cpp.so-instead-of-the-clang-co.patch
new file mode 100644
index 0000000..cc67686
--- /dev/null
+++ b/SOURCES/0001-Link-against-libclang-cpp.so-instead-of-the-clang-co.patch
@@ -0,0 +1,74 @@
+diff --git a/src/qdoc/configure.pri b/src/qdoc/configure.pri
+index 4f3d776..bcd2aae 100644
+--- a/src/qdoc/configure.pri
++++ b/src/qdoc/configure.pri
+@@ -146,33 +146,6 @@ defineTest(qtConfTest_libclang) {
+             }
+         }
+         !equals(QMAKE_HOST.os, Darwin):!msvc: CLANG_LIBS+=-Wl,--start-group
+-        CLANG_LIBS += -lclangAnalysis \
+-                -lclangARCMigrate \
+-                -lclangAST \
+-                -lclangASTMatchers \
+-                -lclangBasic \
+-                -lclangCodeGen \
+-                -lclangCrossTU \
+-                -lclangDriver \
+-                -lclangDynamicASTMatchers \
+-                -lclangEdit \
+-                -lclangFormat \
+-                -lclangFrontend \
+-                -lclangFrontendTool \
+-                -lclangHandleCXX \
+-                -lclangIndex \
+-                -lclangLex \
+-                -lclangParse \
+-                -lclangRewrite \
+-                -lclangRewriteFrontend \
+-                -lclangSema \
+-                -lclangSerialization \
+-                -lclangStaticAnalyzerCheckers \
+-                -lclangStaticAnalyzerCore \
+-                -lclangStaticAnalyzerFrontend \
+-                -lclangTooling \
+-                -lclangToolingASTDiff \
+-                -lclangToolingCore
+ 
+         versionIsAtLeast($$CLANG_VERSION, "10.0.0") {
+             equals(QMAKE_HOST.os, Windows): \
+@@ -187,34 +160,7 @@ defineTest(qtConfTest_libclang) {
+             else: \
+                 CLANG_LIBS += -lclang_static
+ 
+-            CLANG_LIBS += \
+-                    -lclangApplyReplacements \
+-                    -lclangChangeNamespace \
+-                    -lclangDaemon \
+-                    -lclangIncludeFixer \
+-                    -lclangIncludeFixerPlugin \
+-                    -lclangMove \
+-                    -lclangQuery \
+-                    -lclangReorderFields \
+-                    -lclangTidy \
+-                    -lclangTidyAndroidModule \
+-                    -lclangTidyBoostModule \
+-                    -lclangTidyBugproneModule \
+-                    -lclangTidyCERTModule \
+-                    -lclangTidyCppCoreGuidelinesModule \
+-                    -lclangTidyFuchsiaModule \
+-                    -lclangTidyGoogleModule \
+-                    -lclangTidyHICPPModule \
+-                    -lclangTidyLLVMModule \
+-                    -lclangTidyMiscModule \
+-                    -lclangTidyModernizeModule \
+-                    -lclangTidyMPIModule \
+-                    -lclangTidyObjCModule \
+-                    -lclangTidyPerformanceModule \
+-                    -lclangTidyPlugin \
+-                    -lclangTidyReadabilityModule \
+-                    -lclangTidyUtils \
+-                    -lclangToolingRefactor \
++            CLANG_LIBS += -lclang-cpp \
+                     -lfindAllSymbols
+         }
+ 
diff --git a/SOURCES/assistant.desktop b/SOURCES/assistant.desktop
new file mode 100644
index 0000000..fe52c7d
--- /dev/null
+++ b/SOURCES/assistant.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Qt5 Assistant
+GenericName=Documentation viewer
+Comment=Shows Qt5 documentation and examples
+Exec=assistant-qt5
+Icon=assistant-qt5
+Terminal=false
+Type=Application
+Categories=Qt;Development;Documentation;
diff --git a/SOURCES/designer.desktop b/SOURCES/designer.desktop
new file mode 100644
index 0000000..1c3087b
--- /dev/null
+++ b/SOURCES/designer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Qt5 Designer
+GenericName=Interface Designer
+Comment=Design GUIs for Qt5 applications
+Exec=designer-qt5
+Icon=designer-qt5
+MimeType=application/x-designer;
+Terminal=false
+Type=Application
+Categories=Qt;Development;
diff --git a/SOURCES/linguist.desktop b/SOURCES/linguist.desktop
new file mode 100644
index 0000000..a924e1d
--- /dev/null
+++ b/SOURCES/linguist.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Qt5 Linguist
+GenericName=Translation tool
+Comment=Add translations to Qt5 applications
+Exec=linguist-qt5
+Icon=linguist-qt5
+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
+Terminal=false
+Type=Application
+Categories=Qt;Development;
diff --git a/SOURCES/qdbusviewer.desktop b/SOURCES/qdbusviewer.desktop
new file mode 100644
index 0000000..188da47
--- /dev/null
+++ b/SOURCES/qdbusviewer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Qt5 QDbusViewer
+GenericName=D-Bus Debugger
+Comment=Debug D-Bus applications
+Exec=qdbusviewer-qt5
+Icon=qdbusviewer-qt5
+Terminal=false
+Type=Application
+Categories=Qt;Development;Debugger;
+
diff --git a/SOURCES/qttools-fix-data-files-path-for-tests.patch b/SOURCES/qttools-fix-data-files-path-for-tests.patch
new file mode 100644
index 0000000..ebe75bb
--- /dev/null
+++ b/SOURCES/qttools-fix-data-files-path-for-tests.patch
@@ -0,0 +1,213 @@
+diff --git a/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp b/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
+index 039ea2f..514578a 100644
+--- a/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
++++ b/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
+@@ -84,12 +84,12 @@ private:
+ void tst_QHelpContentModel::init()
+ {
+     // defined in profile
+-    QString path = QLatin1String(SRCDIR);
++    QString path = QFINDTESTDATA("data/");
+ 
+-    m_colFile = path + QLatin1String("/data/col.qhc");
++    m_colFile = path + QLatin1String("col.qhc");
+     if (QFile::exists(m_colFile))
+         QDir::current().remove(m_colFile);
+-    if (!QFile::copy(path + "/data/collection.qhc", m_colFile))
++    if (!QFile::copy(path + "collection.qhc", m_colFile))
+         QFAIL("Cannot copy file!");
+     QFile f(m_colFile);
+     f.setPermissions(QFile::WriteUser|QFile::ReadUser);
+diff --git a/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp b/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
+index ba2b153..7f42a8e 100644
+--- a/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
++++ b/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
+@@ -81,14 +81,14 @@ private:
+ void tst_QHelpEngineCore::init()
+ {
+     // defined in profile
+-    m_path = QLatin1String(SRCDIR);
++    m_path = QFINDTESTDATA("data/");
+ 
+     m_path = QFileInfo(m_path).absoluteFilePath();
+ 
+-    m_colFile = m_path + QLatin1String("/data/col.qhc");
++    m_colFile = m_path + QLatin1String("col.qhc");
+     if (QFile::exists(m_colFile))
+         QDir::current().remove(m_colFile);
+-    if (!QFile::copy(m_path + "/data/collection.qhc", m_colFile))
++    if (!QFile::copy(m_path + "collection.qhc", m_colFile))
+         QFAIL("Cannot copy file!");
+     QFile f(m_colFile);
+     f.setPermissions(QFile::WriteUser|QFile::ReadUser);
+@@ -111,7 +111,7 @@ void tst_QHelpEngineCore::setCollectionFile()
+     QHelpEngineCore help(m_colFile, 0);
+     QCOMPARE(help.collectionFile(), QFileInfo(m_colFile).absoluteFilePath());
+ 
+-    QString col1File = m_path + QLatin1String("/data/collection1.qhc");
++    QString col1File = m_path + QLatin1String("collection1.qhc");
+     help.setCollectionFile(col1File);
+     QCOMPARE(help.collectionFile(), QFileInfo(col1File).absoluteFilePath());
+ 
+@@ -125,7 +125,7 @@ void tst_QHelpEngineCore::copyCollectionFile()
+     QHelpEngineCore help(m_colFile, 0);
+     QCOMPARE(help.collectionFile(), QFileInfo(m_colFile).absoluteFilePath());
+ 
+-    QString copiedFile = m_path + QLatin1String("/collectionCopy.qhc");
++    QString copiedFile = m_path + QLatin1String("collectionCopy.qhc");
+     if (QFile::exists(copiedFile))
+         QDir::current().remove(copiedFile);
+ 
+@@ -165,7 +165,7 @@ void tst_QHelpEngineCore::copyCollectionFile()
+         while (m_query->next()) {
+             if (i == 0) {
+                 QCOMPARE(m_query->value(0).toString(), QString("trolltech.com.3-3-8.qmake"));
+-                QCOMPARE(m_query->value(1).toString(), QString("data/qmake-3.3.8.qch"));
++                QCOMPARE(m_query->value(1).toString(), QString("qmake-3.3.8.qch"));
+             }
+             ++i;
+         }
+@@ -179,9 +179,9 @@ void tst_QHelpEngineCore::copyCollectionFile()
+ 
+ void tst_QHelpEngineCore::namespaceName()
+ {
+-    QCOMPARE(QHelpEngineCore::namespaceName(m_path + "/data/qmake-3.3.8.qch"),
++    QCOMPARE(QHelpEngineCore::namespaceName(m_path + "qmake-3.3.8.qch"),
+         QString("trolltech.com.3-3-8.qmake"));
+-    QCOMPARE(QHelpEngineCore::namespaceName(m_path + "/data/linguist-3.3.8.qch"),
++    QCOMPARE(QHelpEngineCore::namespaceName(m_path + "linguist-3.3.8.qch"),
+         QString("trolltech.com.3-3-8.linguist"));
+ }
+ 
+@@ -206,11 +206,11 @@ void tst_QHelpEngineCore::registerDocumentation()
+     {
+         QHelpEngineCore c(m_colFile);
+         QCOMPARE(c.setupData(), true);
+-        c.registerDocumentation(m_path + "/data/qmake-3.3.8.qch");
++        c.registerDocumentation(m_path + "qmake-3.3.8.qch");
+         QCOMPARE(c.registeredDocumentations().count(), 1);
+-        c.registerDocumentation(m_path + "/data/qmake-3.3.8.qch");
++        c.registerDocumentation(m_path + "qmake-3.3.8.qch");
+         QCOMPARE(c.registeredDocumentations().count(), 1);
+-        c.registerDocumentation(m_path + "/data/linguist-3.3.8.qch");
++        c.registerDocumentation(m_path + "linguist-3.3.8.qch");
+         QCOMPARE(c.registeredDocumentations().count(), 2);
+     }
+ 
+@@ -248,9 +248,9 @@ void tst_QHelpEngineCore::documentationFileName()
+     QHelpEngineCore c(m_colFile);
+     QCOMPARE(c.setupData(), true);
+     QCOMPARE(c.documentationFileName(QLatin1String("trolltech.com.3-3-8.qmake")),
+-        QString(m_path + "/data/qmake-3.3.8.qch"));
++        QString(m_path + "qmake-3.3.8.qch"));
+     QCOMPARE(c.documentationFileName(QLatin1String("trolltech.com.1.0.0.test")),
+-        QString(m_path + "/data/test.qch"));
++        QString(m_path + "test.qch"));
+     QCOMPARE(c.documentationFileName(QLatin1String("trolltech.com.empty")),
+         QString());
+ }
+@@ -367,7 +367,7 @@ void tst_QHelpEngineCore::fileData()
+     QCOMPARE(ba.size(), 0);
+     ba = help.fileData(QUrl("qthelp://trolltech.com.1.0.0.test/testFolder/test.html"));
+     QTextStream s(ba, QIODevice::ReadOnly|QIODevice::Text);
+-    QFile f(m_path + "/data/test.html");
++    QFile f(m_path + "test.html");
+     if (!f.open(QIODevice::ReadOnly|QIODevice::Text))
+         QFAIL("Cannot open original file!");
+     QTextStream ts(&f);
+@@ -433,9 +433,9 @@ void tst_QHelpEngineCore::setAutoSaveFilter()
+ 
+ void tst_QHelpEngineCore::metaData()
+ {
+-    QCOMPARE(QHelpEngineCore::metaData(m_path + "/data/test.qch", "author").toString(),
++    QCOMPARE(QHelpEngineCore::metaData(m_path + "test.qch", "author").toString(),
+         QString("Digia Plc and/or its subsidiary(-ies)"));
+-    QCOMPARE(QHelpEngineCore::metaData(m_path + "/data/test.qch", "notExisting").isValid(),
++    QCOMPARE(QHelpEngineCore::metaData(m_path + "test.qch", "notExisting").isValid(),
+         false);
+ }
+ 
+diff --git a/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp b/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp
+index 47a879d..99f4615 100644
+--- a/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp
++++ b/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp
+@@ -57,8 +57,8 @@ private:
+ 
+ void tst_QHelpGenerator::initTestCase()
+ {
+-    QString path = QLatin1String(SRCDIR);
+-    m_outputFile = path + QLatin1String("/data/test.qch");
++    QString path = QFINDTESTDATA("data/");
++    m_outputFile = path + QLatin1String("test.qch");
+     if (QFile::exists(m_outputFile)) {
+         QDir d;
+         if (!d.remove(m_outputFile))
+@@ -69,9 +69,9 @@ void tst_QHelpGenerator::initTestCase()
+ void tst_QHelpGenerator::generateHelp()
+ {
+     // defined in profile
+-    QString path = QLatin1String(SRCDIR);
++    QString path = QFINDTESTDATA("data/");
+ 
+-    QString inputFile(path + "/data/test.qhp");
++    QString inputFile(path + "test.qhp");
+     QHelpProjectData data;
+     if (!data.readData(inputFile))
+         QFAIL("Cannot read qthp file!");
+@@ -194,17 +194,17 @@ void tst_QHelpGenerator::checkMetaData()
+ void tst_QHelpGenerator::generateTwice()
+ {
+     // defined in profile
+-    QString path = QLatin1String(SRCDIR);
++    QString path = QFINDTESTDATA("data/");
+ 
+-    QString inputFile(path + "/data/test.qhp");
++    QString inputFile(path + "test.qhp");
+     QHelpProjectData data;
+     if (!data.readData(inputFile))
+         QFAIL("Cannot read qhp file!");
+ 
+     HelpGenerator generator1;
+     HelpGenerator generator2;
+-    QString outputFile1 = path + QLatin1String("/data/test1.qch");
+-    QString outputFile2 = path + QLatin1String("/data/test2.qch");
++    QString outputFile1 = path + QLatin1String("test1.qch");
++    QString outputFile2 = path + QLatin1String("test2.qch");
+     QCOMPARE(generator1.generate(&data, outputFile1), true);
+     QCOMPARE(generator2.generate(&data, outputFile2), true);
+ 
+diff --git a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
+index 713c229..65ee62f 100644
+--- a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
++++ b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
+@@ -84,12 +84,12 @@ private:
+ 
+ void tst_QHelpIndexModel::init()
+ {
+-    QString path = QLatin1String(SRCDIR);
++    QString path = QFINDTESTDATA("data/");
+ 
+-    m_colFile = path + QLatin1String("/data/col.qhc");
++    m_colFile = path + QLatin1String("col.qhc");
+     if (QFile::exists(m_colFile))
+         QDir::current().remove(m_colFile);
+-    if (!QFile::copy(path + "/data/collection.qhc", m_colFile))
++    if (!QFile::copy(path + "collection.qhc", m_colFile))
+         QFAIL("Cannot copy file!");
+     QFile f(m_colFile);
+     f.setPermissions(QFile::WriteUser|QFile::ReadUser);
+diff --git a/tests/auto/qhelpprojectdata/tst_qhelpprojectdata.cpp b/tests/auto/qhelpprojectdata/tst_qhelpprojectdata.cpp
+index a09135d..d59a3fc 100644
+--- a/tests/auto/qhelpprojectdata/tst_qhelpprojectdata.cpp
++++ b/tests/auto/qhelpprojectdata/tst_qhelpprojectdata.cpp
+@@ -52,8 +52,8 @@ private:
+ 
+ void tst_QHelpProjectData::initTestCase()
+ {
+-    const QString path = QLatin1String(SRCDIR);
+-    m_inputFile = path + QLatin1String("/data/test.qhp");
++    const QString path = QFINDTESTDATA("data/");
++    m_inputFile = path + QLatin1String("test.qhp");
+ }
+ 
+ void tst_QHelpProjectData::readData()
diff --git a/SOURCES/qttools-opensource-src-5.13.2-runqttools-with-qt5-suffix.patch b/SOURCES/qttools-opensource-src-5.13.2-runqttools-with-qt5-suffix.patch
new file mode 100644
index 0000000..8e6dedf
--- /dev/null
+++ b/SOURCES/qttools-opensource-src-5.13.2-runqttools-with-qt5-suffix.patch
@@ -0,0 +1,49 @@
+diff --git a/src/linguist/lprodump/main.cpp b/src/linguist/lprodump/main.cpp
+index 857786b..2a65299 100644
+--- a/src/linguist/lprodump/main.cpp
++++ b/src/linguist/lprodump/main.cpp
+@@ -438,7 +438,7 @@ int main(int argc, char **argv)
+     ProFileGlobals option;
+     option.qmake_abslocation = QString::fromLocal8Bit(qgetenv("QMAKE"));
+     if (option.qmake_abslocation.isEmpty())
+-        option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake");
++        option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake-qt5");
+     option.debugLevel = proDebug;
+     option.initProperties();
+     option.setCommandLineArguments(QDir::currentPath(),
+diff --git a/src/linguist/lrelease-pro/main.cpp b/src/linguist/lrelease-pro/main.cpp
+index 9f4ca25..207f401 100644
+--- a/src/linguist/lrelease-pro/main.cpp
++++ b/src/linguist/lrelease-pro/main.cpp
+@@ -145,6 +145,6 @@ int main(int argc, char **argv)
+         projectDescription->setAutoRemove(false);
+     lreleaseOptions << QStringLiteral("-project") << projectDescription->fileName();
+ 
+-    runQtTool(QStringLiteral("lrelease"), lreleaseOptions);
++    runQtTool(QStringLiteral("lrelease-qt5"), lreleaseOptions);
+     return 0;
+ }
+diff --git a/src/linguist/lupdate-pro/main.cpp b/src/linguist/lupdate-pro/main.cpp
+index ab5b7eb..1ce039c 100644
+--- a/src/linguist/lupdate-pro/main.cpp
++++ b/src/linguist/lupdate-pro/main.cpp
+@@ -154,6 +154,6 @@ int main(int argc, char **argv)
+         projectDescription->setAutoRemove(false);
+     lupdateOptions << QStringLiteral("-project") << projectDescription->fileName();
+ 
+-    runQtTool(QStringLiteral("lupdate"), lupdateOptions);
++    runQtTool(QStringLiteral("lupdate-qt5"), lupdateOptions);
+     return 0;
+ }
+diff --git a/src/linguist/shared/runqttool.cpp b/src/linguist/shared/runqttool.cpp
+index e36a3a2..020fe06 100644
+--- a/src/linguist/shared/runqttool.cpp
++++ b/src/linguist/shared/runqttool.cpp
+@@ -114,6 +114,6 @@ std::unique_ptr<QTemporaryFile> createProjectDescription(QStringList args)
+     }
+     file->close();
+     args << QStringLiteral("-out") << file->fileName();
+-    runQtTool(QStringLiteral("lprodump"), args);
++    runQtTool(QStringLiteral("lprodump-qt5"), args);
+     return file;
+ }
diff --git a/SOURCES/qttools-opensource-src-5.7-add-libatomic.patch b/SOURCES/qttools-opensource-src-5.7-add-libatomic.patch
new file mode 100644
index 0000000..98edad3
--- /dev/null
+++ b/SOURCES/qttools-opensource-src-5.7-add-libatomic.patch
@@ -0,0 +1,11 @@
+diff -urp qttools-opensource-src-5.6.0-beta1/src/qtdiag/qtdiag.pro q/src/qtdiag/qtdiag.pro
+--- qttools-opensource-src-5.6.0-beta1/src/qtdiag/qtdiag.pro	2015-10-30 11:48:01.000000000 +0100
++++ q/src/qtdiag/qtdiag.pro	2016-04-30 08:45:22.099054040 +0200
+@@ -2,6 +2,7 @@ load(qt_app)
+ 
+ CONFIG += console
+ QT += core-private gui-private
++LIBS += -latomic
+ 
+ qtHaveModule(network) {
+     QT += network
diff --git a/SPECS/qt5-qttools.spec b/SPECS/qt5-qttools.spec
new file mode 100644
index 0000000..b387a74
--- /dev/null
+++ b/SPECS/qt5-qttools.spec
@@ -0,0 +1,924 @@
+%global qt_module qttools
+
+%global build_tests 1
+
+Summary: Qt5 - QtTool components
+Name:    qt5-qttools
+Version: 5.15.3
+Release: 6%{?dist}
+
+License: LGPLv3 or LGPLv2
+Url:     http://www.qt.io
+%global majmin %(echo %{version} | cut -d. -f1-2)
+Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
+
+# help lrelease/lupdate use/prefer qmake-qt5
+# https://bugzilla.redhat.com/show_bug.cgi?id=1009893
+Patch2: qttools-opensource-src-5.13.2-runqttools-with-qt5-suffix.patch
+
+# 32-bit MIPS needs explicit -latomic
+Patch4: qttools-opensource-src-5.7-add-libatomic.patch
+
+# Link against libclang-cpp.so
+# https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package
+Patch5: 0001-Link-against-libclang-cpp.so-instead-of-the-clang-co.patch
+
+## upstream patches
+%if 0%{?build_tests}
+Patch100: qttools-fix-data-files-path-for-tests.patch
+%endif
+
+Source20: assistant.desktop
+Source21: designer.desktop
+Source22: linguist.desktop
+Source23: qdbusviewer.desktop
+
+# %%check needs cmake (and don't want to mess with cmake28)
+%if 0%{?fedora} || 0%{?rhel} > 6
+BuildRequires: cmake
+%endif
+BuildRequires: desktop-file-utils
+BuildRequires: /usr/bin/file
+BuildRequires: qt5-rpm-macros >= %{version}
+BuildRequires: qt5-qtbase-private-devel
+BuildRequires: qt5-qtbase-static >= %{version}
+BuildRequires: qt5-qtdeclarative-static >= %{version}
+BuildRequires: pkgconfig(Qt5Qml)
+# libQt5DBus.so.5(Qt_5_PRIVATE_API)
+%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
+# for qdoc
+BuildRequires: clang-devel llvm-devel
+
+Requires: %{name}-common = %{version}-%{release}
+
+# when -libs were split out, for multilib upgrade path
+Obsoletes: qt5-tools < 5.4.0-0.2
+
+%description
+%{summary}.
+
+%package common
+Summary: Common files for %{name}
+BuildArch: noarch
+Obsoletes: qt5-qttools-libs-clucene < 5.9.0
+%if ! 0%{?webkit}
+Obsoletes: qt5-designer-plugin-webkit < 5.9.0
+%endif
+%description common
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
+Requires: qt5-doctools = %{version}-%{release}
+Requires: qt5-designer = %{version}-%{release}
+Requires: qt5-linguist = %{version}-%{release}
+Requires: qt5-qtbase-devel%{?_isa}
+%description devel
+%{summary}.
+
+%package static
+Summary: Static library files for %{name}
+Requires: %{name}-devel%{?_isa} = %{version}-%{release}
+%description static
+%{summary}.
+
+%package libs-designer
+Summary: Qt5 Designer runtime library
+Requires: %{name}-common = %{version}-%{release}
+# when split happened
+Conflicts: qt5-tools < 5.4.0-0.2
+%description libs-designer
+%{summary}.
+
+%package libs-designercomponents
+Summary: Qt5 Designer Components runtime library
+Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
+# when split happened
+Conflicts: qt5-tools < 5.4.0-0.2
+%description libs-designercomponents
+%{summary}.
+
+%package libs-help
+Summary: Qt5 Help runtime library
+Requires: %{name}-common = %{version}-%{release}
+# when split happened
+Conflicts: qt5-tools < 5.4.0-0.2
+%description libs-help
+%{summary}.
+
+%package -n qt5-assistant
+Summary: Documentation browser for Qt5
+Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
+%description -n qt5-assistant
+%{summary}.
+
+%package -n qt5-designer
+Summary: Design GUIs for Qt5 applications
+Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release}
+%description -n qt5-designer
+%{summary}.
+
+%if 0%{?webkit}
+%package -n qt5-designer-plugin-webkit
+Summary: Qt5 designer plugin for WebKit
+BuildRequires: pkgconfig(Qt5WebKitWidgets)
+Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
+%description -n qt5-designer-plugin-webkit
+%{summary}.
+%endif
+
+%package -n qt5-linguist
+Summary: Qt5 Linguist Tools
+Requires: %{name}-common = %{version}-%{release}
+%description -n qt5-linguist
+Tools to add translations to Qt5 applications.
+
+%package -n qt5-qdbusviewer
+Summary: D-Bus debugger and viewer
+Requires: %{name}-common = %{version}-%{release}
+%{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}}
+%description -n qt5-qdbusviewer
+QDbusviewer can be used to inspect D-Bus objects of running programs
+and invoke methods on those objects.
+
+%package -n qt5-doctools
+Summary: Qt5 doc tools package
+Provides: qt5-qdoc = %{version}
+Obsoletes: qt5-qdoc < 5.8.0
+Provides: qt5-qhelpgenerator = %{version}
+Obsoletes: qt5-qhelpgenerator < 5.8.0
+Provides: qt5-qtattributionsscanner = %{version}
+Obsoletes: qt5-qtattributionsscanner < 5.8.0
+Requires: qt5-qtattributionsscanner = %{version}
+Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
+%description -n qt5-doctools
+%{summary}.
+
+%package examples
+Summary: Programming examples for %{name}
+Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
+%description examples
+%{summary}.
+
+%if 0%{?build_tests}
+%package tests
+Summary: Unit tests for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
+%description tests
+%{summary}.
+%endif
+
+
+%prep
+%setup -q -n %{qt_module}-everywhere-src-%{version}
+%patch2 -p1 -b ..runqttools-with-qt5-suffix.patch
+%ifarch %{mips32}
+%patch4 -p1 -b .libatomic
+%endif
+%patch5 -p1 -b .libclang-cpp
+
+%if 0%{?build_tests}
+%patch100 -p1 -b .fix-data-files-path-for-tests
+%endif
+
+%build
+export LLVM_INSTALL_DIR=/usr
+
+%{qmake_qt5}
+
+%make_build
+
+%if 0%{?build_tests}
+make sub-tests %{?_smp_mflags} -k ||:
+%endif
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+
+%if 0%{?build_tests}
+# Install tests for gating
+mkdir -p %{buildroot}%{_qt5_libdir}/qt5
+find ./tests -not -path '*/\.*' -type d | while read LINE
+do
+    mkdir -p "%{buildroot}%{_qt5_libdir}/qt5/$LINE"
+done
+find ./tests -not -path '*/\.*' -not -name 'uic_wrapper.sh' -not -name 'Makefile' -not -name 'target_wrapper.sh' -type f | while read LINE
+do
+    cp -r --parents "$LINE" %{buildroot}%{_qt5_libdir}/qt5/
+done
+%endif
+
+# Add desktop files, --vendor=... helps avoid possible conflicts with qt3/qt4
+desktop-file-install \
+  --dir=%{buildroot}%{_datadir}/applications \
+  --vendor="qt5" \
+  %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23}
+
+# icons
+install -m644 -p -D src/assistant/assistant/images/assistant.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant-qt5.png
+install -m644 -p -D src/assistant/assistant/images/assistant-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/assistant-qt5.png
+install -m644 -p -D src/designer/src/designer/images/designer.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/designer-qt5.png
+install -m644 -p -D src/qdbus/qdbusviewer/images/qdbusviewer.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/qdbusviewer-qt5.png
+install -m644 -p -D src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/qdbusviewer-qt5.png
+# linguist icons
+for icon in src/linguist/linguist/images/icons/linguist-*-32.png ; do
+  size=$(echo $(basename ${icon}) | cut -d- -f2)
+  install -p -m644 -D ${icon} %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist-qt5.png
+done
+
+# hardlink files to {_bindir}, add -qt5 postfix to not conflict
+mkdir %{buildroot}%{_bindir}
+pushd %{buildroot}%{_qt5_bindir}
+for i in * ; do
+  case "${i}" in
+    assistant|designer|lconvert|linguist|lrelease|lupdate|lprodump|pixeltool|qcollectiongenerator|qdbus|qdbusviewer|qhelpconverter|qhelpgenerator|qtplugininfo|qtattributionsscanner)
+      ln -v  ${i} %{buildroot}%{_bindir}/${i}-qt5
+      ln -sv ${i} ${i}-qt5
+      ;;
+    *)
+      ln -v  ${i} %{buildroot}%{_bindir}/${i}
+      ;;
+  esac
+done
+popd
+
+## .prl/.la file love
+# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
+pushd %{buildroot}%{_qt5_libdir}
+for prl_file in libQt5*.prl ; do
+  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
+  if [ -f "$(basename ${prl_file} .prl).so" ]; then
+    rm -fv "$(basename ${prl_file} .prl).la"
+    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
+  fi
+done
+popd
+
+## Qt5Designer.pc references non-existent Qt5UiPlugin.pc, remove the reference for now
+sed -i -e 's| Qt5UiPlugin||g' %{buildroot}%{_qt5_libdir}/pkgconfig/Qt5Designer.pc
+
+
+## work-in-progress... -- rex
+%if 0%{?fedora} || 0%{?rhel} > 6
+%check
+# verify validity of Qt5Designer.pc
+export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
+pkg-config --print-requires --print-requires-private Qt5Designer
+export CMAKE_PREFIX_PATH=%{buildroot}%{_qt5_prefix}:%{buildroot}%{_prefix}
+export PATH=%{buildroot}%{_qt5_bindir}:%{_qt5_bindir}:$PATH
+export LD_LIBRARY_PATH=%{buildroot}%{_qt5_libdir}
+mkdir tests/auto/cmake/%{_target_platform}
+pushd tests/auto/cmake/%{_target_platform}
+cmake ..
+ctest --output-on-failure ||:
+popd
+
+
+# check icon resolutions
+pushd %{buildroot}%{_datadir}/icons
+for RES in $(ls hicolor); do
+  for APP in designer assistant linguist qdbusviewer; do
+    if [ -e hicolor/$RES/apps/${APP}*.* ]; then
+      file hicolor/$RES/apps/${APP}*.* | grep "$(echo $RES | sed 's/x/ x /')"
+    fi
+  done
+done
+popd
+
+%endif
+
+
+%files
+%{_bindir}/qdbus-qt5
+%{_bindir}/qtpaths
+%{_qt5_bindir}/qdbus
+%{_qt5_bindir}/qdbus-qt5
+%{_qt5_bindir}/qtpaths
+
+%files common
+%license LICENSE.LGPL*
+
+%ldconfig_scriptlets libs-designer
+%files  libs-designer
+%{_qt5_libdir}/libQt5Designer.so.5*
+%dir %{_qt5_libdir}/cmake/Qt5Designer/
+
+%ldconfig_scriptlets libs-designercomponents
+%files  libs-designercomponents
+%{_qt5_libdir}/libQt5DesignerComponents.so.5*
+%{_qt5_libdir}/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfig*.cmake
+
+%ldconfig_scriptlets libs-help
+%files  libs-help
+%{_qt5_libdir}/libQt5Help.so.5*
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+%post -n qt5-assistant
+touch --no-create %{_datadir}/icons/hicolor ||:
+
+%posttrans -n qt5-assistant
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun -n qt5-assistant
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+fi
+%endif
+
+%files -n qt5-assistant
+%{_bindir}/assistant-qt5
+%{_qt5_bindir}/assistant*
+%{_datadir}/applications/*assistant.desktop
+%{_datadir}/icons/hicolor/*/apps/assistant*.*
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+%post -n qt5-doctools
+touch --no-create %{_datadir}/icons/hicolor ||:
+
+%posttrans -n qt5-doctools
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun -n qt5-doctools
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+fi
+%endif
+
+%files -n qt5-doctools
+%{_bindir}/qdoc*
+%{_qt5_bindir}/qdoc*
+%{_bindir}/qdistancefieldgenerator*
+%{_bindir}/qhelpgenerator*
+%{_qt5_bindir}/qdistancefieldgenerator*
+%{_qt5_bindir}/qhelpgenerator*
+%{_bindir}/qtattributionsscanner-qt5
+%{_qt5_bindir}/qtattributionsscanner*
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+%post -n qt5-designer
+touch --no-create %{_datadir}/icons/hicolor ||:
+
+%posttrans -n qt5-designer
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database -q &> /dev/null ||:
+
+%postun -n qt5-designer
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+fi
+%endif
+
+%files -n qt5-designer
+%{_bindir}/designer*
+%{_qt5_bindir}/designer*
+%{_datadir}/applications/*designer.desktop
+%{_datadir}/icons/hicolor/*/apps/designer*.*
+
+%if 0%{?webkit}
+%files -n qt5-designer-plugin-webkit
+%{_qt5_plugindir}/designer/libqwebview.so
+%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_QWebViewPlugin.cmake
+%endif
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+%post -n qt5-linguist
+touch --no-create %{_datadir}/icons/hicolor ||:
+
+%posttrans -n qt5-linguist
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database -q &> /dev/null ||:
+
+%postun -n qt5-linguist
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+fi
+%endif
+
+%files -n qt5-linguist
+%{_bindir}/linguist*
+%{_qt5_bindir}/linguist*
+# phrasebooks used by linguist
+%{_qt5_datadir}/phrasebooks/
+%{_datadir}/applications/*linguist.desktop
+%{_datadir}/icons/hicolor/*/apps/linguist*.*
+# linguist friends
+%{_bindir}/lconvert*
+%{_bindir}/lrelease*
+%{_bindir}/lupdate*
+%{_bindir}/lprodump*
+%{_qt5_bindir}/lconvert*
+%{_qt5_bindir}/lrelease*
+%{_qt5_bindir}/lupdate*
+%{_qt5_bindir}/lprodump*
+# cmake config
+%dir %{_qt5_libdir}/cmake/Qt5LinguistTools/
+%{_qt5_libdir}/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig*.cmake
+%{_qt5_libdir}/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+%post -n qt5-qdbusviewer
+touch --no-create %{_datadir}/icons/hicolor ||:
+
+%posttrans -n qt5-qdbusviewer
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun -n qt5-qdbusviewer
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+fi
+%endif
+
+%files -n qt5-qdbusviewer
+%{_bindir}/qdbusviewer*
+%{_qt5_bindir}/qdbusviewer*
+%{_datadir}/applications/*qdbusviewer.desktop
+%{_datadir}/icons/hicolor/*/apps/qdbusviewer*.*
+
+
+%files devel
+%{_bindir}/pixeltool*
+%{_bindir}/qcollectiongenerator*
+#{_bindir}/qhelpconverter*
+%{_bindir}/qtdiag*
+%{_bindir}/qtplugininfo*
+%{_qt5_bindir}/pixeltool*
+%{_qt5_bindir}/qtdiag*
+%{_qt5_bindir}/qcollectiongenerator*
+#{_qt5_bindir}/qhelpconverter*
+%{_qt5_bindir}/qtplugininfo*
+%{_qt5_headerdir}/QtDesigner/
+%{_qt5_headerdir}/QtDesignerComponents/
+%{_qt5_headerdir}/QtHelp/
+%{_qt5_headerdir}/QtUiPlugin
+%{_qt5_libdir}/libQt5Designer*.prl
+%{_qt5_libdir}/libQt5Designer*.so
+%{_qt5_libdir}/libQt5Help.prl
+%{_qt5_libdir}/libQt5Help.so
+%{_qt5_libdir}/Qt5UiPlugin.la
+%{_qt5_libdir}/libQt5UiPlugin.prl
+%{_qt5_libdir}/cmake/Qt5Designer/Qt5DesignerConfig*.cmake
+%dir %{_qt5_libdir}/cmake/Qt5Help/
+%{_qt5_libdir}/cmake/Qt5Help/Qt5HelpConfig*.cmake
+%{_qt5_libdir}/cmake/Qt5UiPlugin/
+%{_qt5_libdir}/pkgconfig/Qt5Designer.pc
+%{_qt5_libdir}/pkgconfig/Qt5Help.pc
+%{_qt5_libdir}/pkgconfig/Qt5UiPlugin.pc
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designer.pri
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designer_private.pri
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designercomponents_private.pri
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_help.pri
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_help_private.pri
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_uiplugin.pri
+# putting these here for now, new stuff in 5.14, review for accuracy -- rdieter
+%{_qt5_libdir}/cmake/Qt5AttributionsScannerTools/
+%{_qt5_libdir}/cmake/Qt5DocTools/
+
+%files static
+%{_qt5_headerdir}/QtUiTools/
+%{_qt5_libdir}/libQt5UiTools.*a
+%{_qt5_libdir}/libQt5UiTools.prl
+%{_qt5_libdir}/cmake/Qt5UiTools/
+%{_qt5_libdir}/pkgconfig/Qt5UiTools.pc
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_uitools.pri
+%{_qt5_archdatadir}/mkspecs/modules/qt_lib_uitools_private.pri
+
+%files examples
+%{_qt5_examplesdir}/
+%{_qt5_plugindir}/designer/*
+%dir %{_qt5_libdir}/cmake/Qt5Designer
+%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_*
+
+%if 0%{?build_tests}
+%files tests
+%{_qt5_libdir}/qt5/tests
+%endif
+
+%changelog
+* Fri Mar 29 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.15.3-6
+- Rebuilt for MSVSphere 8.10 beta
+
+* Tue Nov 07 2023 Jan Grulich <jgrulich@redhat.com> - 5.15.3-6
+- Rebuild (LLVM-17)
+  Resolves: RHEL-10694
+
+* Fri Jun 16 2023 Jan Grulich <jgrulich@redhat.com> - 5.15.3-5
+- Rebuild (LLVM-16)
+  Resolves: bz#2192951
+
+* Wed Mar 01 2023 bstinson@redhat.com - 5.15.3-4.0.1
+- Rebuild only in CentOS Stream for the right llvm links
+
+* Tue Nov 22 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-4
+- Add versioned dependencies between subpackages
+  Resolves: bz#2144798
+
+* Mon Oct 24 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-3
+- Rebuild (LLVM-15)
+  Resolves: bz#2119038
+
+* Mon Jun 20 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-2
+- Rebuild (LLVM-14)
+  Resolves: bz#2064527
+
+* Mon Mar 28 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
+- 5.15.3
+  Resolves: bz#2061406
+
+* Tue Jan 11 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.2-4
+- Rebuild (LLVM-13)
+  Resolves: bz#2001153
+
+* Fri Jun 25 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-3
+- Rebuild (LLVM-12)
+  Resolves: bz#1930043
+
+* Wed Apr 28 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
+- Rebuild (binutils)
+  Resolves: bz#1930043
+
+* Wed Mar 31 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
+- 5.15.2
+  Resolves: bz#1930043
+
+* Tue May 12 2020 Jan Grulich <jgrulich@redhat.com> - 5.12.5-2
+- Rebuild (LLVM-10)
+  Resolves: bz#1832857
+
+* Thu Nov 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
+- 5.12.5
+  Resolves: bz#1733152
+
+* Fri Jun 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.11.1-9
+- Fix unit tests for gating
+  Resolves: bz#1681905
+
+* Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.11.1-8
+- Fix unit tests for gating
+  Resolves: bz#1681905
+
+* Mon May 20 2019 Jan Grulich <jgrulich@redhat.com> - 5.11.1-7
+- Create a tests subpkg with unit tests for gating
+  Resolves: bz#1681905
+
+* Fri May 17 2019 Jan Grulich <jgrulich@redhat.com> - 5.11.1-6
+- Rebuild for LLVM 8.0.0
+  Resolves: bz#1709949
+
+* Wed Dec 12 2018 Tom Stellard <tstellar@redhat.com> - 5.11.1-5
+- Rebuld for LLVM 7.0.1
+  Resolves: bz#1657229
+
+* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-4
+- Rebuild to fix CET notes
+  Resolves: bz#1657229
+
+* Tue Aug 07 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-3
+- Downgrade llvm_toolset version
+
+* Tue Jul 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
+- enable qdoc
+
+* Fri Jun 29 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-1
+- 5.11.1
+
+* Tue Feb 13 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
+- 5.10.1
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.10.0-2
+- Remove obsolete scriptlets
+
+* Tue Dec 19 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
+- 5.10.0
+
+* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
+- 5.9.3
+
+* Fri Oct 27 2017 Miro Hrončok <mhroncok@redhat.com> - 5.9.2-3
+- Qt 5 Designer has 128x128 icon in 32x32 folder (#1400972)
+
+* Tue Oct 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
+- BR: qt5-qtbase-private-devel
+
+* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
+- 5.9.2
+
+* Fri Sep 29 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-4
+- Obsoletes: qt5-designer-plugin-webkit (upgrade path when webkit support is not enabled)
+- resurrect bootstrap macro (commented)
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
+- 5.9.1
+
+* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-3
+- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
+
+* Fri Jun 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
+- rebuild
+
+* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
+- Upstream official release
+
+* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
+- Upstream Release Candidate retagged
+
+* Tue May 23 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-0.4.beta3
+- fix Release, Obsoletes: qt5-qttools-libs-clucene (#1454531)
+
+* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
+- Upstream beta 3
+
+* Fri Mar 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-6
+- -devel: restore Requires: qt5-designer qt5-linguist
+
+* Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-5
+- de-bootstrap
+
+* Mon Mar 27 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-4
+- bootstrap 5.8.0 (rawhide)
+- Created a meta package called qt5-doctools to avoid the mess of multiple tools
+
+* Tue Mar 21 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-6
+- -assistant: Provides: bundled(clucene09) (f26+)
+
+* Fri Feb 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-5
+- disable system_lucene on f26+ (#1424227, #1424046)
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-4
+- 5.7.1 dec5 snapshot
+
+* Fri Dec 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-3
+- Qt 5 Designer has 128x128 icon in 32x32 folder (#1400972)
+
+* Thu Dec 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
+- de-bootstrap, enable -doc/-webkit
+
+* Wed Nov 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
+- New upstream version
+
+* Mon Nov 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-4
+- -static: move qt_lib_uitools*.pri here (#1396836)
+
+* Fri Aug 12 2016 Michal Toman <mtoman@fedoraproject.org> - 5.7.0-3
+- Add explicit -latomic on 32-bit MIPS
+
+* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
+- Compiled with gcc
+
+* Tue Jun 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
+- Qt 5.7.0 release
+
+* Mon Jun 13 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-0.1
+- Prepare 5.7.0
+
+* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
+- rebuild
+
+* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
+- rebuild
+
+* Wed Mar 16 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-2
+- 5.6.0 final release
+
+* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
+- 5.6.0 final release
+
+* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.12.rc
+- Update to final RC
+
+* Fri Feb 19 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.11.rc
+- workaround Qt5Designer.pc reference to non-existent Qt5UiPlugin.pc
+
+* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10
+- Update RC release
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.9.rc
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Sun Jan 17 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8.rc
+- port QTBUG-43057 workaround
+
+* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.rc
+- update source URL, use %%license
+
+* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
+- Update to final rc release
+
+* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.5
+- (re)fix bootstrap macro
+- include qt5-qdoc/qt5-qhelpgenerator build dep deps in -doc subpkg only
+- fix whitespace
+
+* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
+- Official rc release
+
+* Tue Dec 08 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-3
+- Reenable examples. Some interfaces marked as examples are needed from phonon
+- Update to second rc snapshot
+
+* Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
+- de-bootstrap
+
+* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
+- Start to implement 5.6.0 rc, bootstrapped
+
+* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
+- Update to final release 5.5.1
+
+* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
+- Update to Qt 5.5.1 RC1
+
+* Sat Aug 08 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
+- qt5-linguist: move lconvert,lrelease,lupdate, cmake Qt5LinguistTools  here
+
+* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
+- de-bootstrap
+
+* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
+- qt5-designer, qt5-linguist, qt5-qhelpgenerator subpkgs
+
+* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
+- New final upstream release Qt 5.5.0
+
+* Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.4.rc
+- Second round of builds now with bootstrap enabled due new qttools
+
+* Sat Jun 27 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc
+- Disable bootstrap
+
+* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
+- Update for official RC1 released packages
+
+* Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
+- Qt 5.5.0 RC1
+
+* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
+- 5.4.2
+
+* Sat May 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-3
+- rebuild (gcc5)
+
+* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
+- rebuild (gcc5)
+
+* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
+- 5.4.1
+
+* Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-2
+- rebuild (gcc5)
+
+* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
+- 5.4.0 (final)
+
+* Tue Dec 09 2014 Daniel Vrátil <dvratil@redhat.com> 5.4.0-0.10.rc
+- fix icon name in qdbusviewer-qt5.desktop
+
+* Sun Nov 30 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.9.rc
+- install Linguist icon as linguist-qt5.png, fixes file conflict (#1169127)
+
+* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.8.rc
+- 5.4.0-rc
+
+* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.7.rc
+- out-of-tree build, use %%qmake_qt5
+
+* Fri Oct 31 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.6.rc
+- respin system-clucene.patch
+
+* Sun Oct 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.5.rc
+- system-clucene patch: create path recursively in QtCLucene, CLucene can't
+
+* Sun Oct 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.4.rc
+- disable bootstrap (reenable -doc)
+- system-clucene patch: drop -fpermissive flag
+- system-clucene patch: use toLocal8Bit instead of toStdString
+- system_clucene: BR clucene09-core-devel >= 0.9.21b-12 (-11 was broken)
+
+* Sat Oct 25 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-0.3.rc
+- libQt5Designer should be in a subpackage (#1156685)
+- -doc: disable(boostrap for new clucene), drop dep on main pkg
+
+* Sat Oct 25 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.2.rc
+- BR and rebuild against reference-counting-enabled clucene09 (#1128293)
+
+* Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.rc
+- 5.4.0-rc
+
+* Fri Oct 17 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-2
+- -devel: Requires: qt5-designer-plugin-webkit
+
+* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
+- 5.3.2
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
+- 5.3.1
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu May 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.3.0-2
+- restore system-clucene patch, rm the bundled copy
+
+* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
+- 5.3.0
+
+* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
+- 5.2.1
+
+* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
+- -examples subpkg
+
+* Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
+- epel7 bootstrapped
+
+* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
+- 5.2.0
+
+* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
+- 5.2.0-rc1
+
+* Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.rc1
+- enable -doc only on primary archs (allow secondary bootstrap)
+
+* Sat Nov 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.rc1
+- rebuild (arm/qreal)
+
+* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.rc1
+- 5.2.0-rc1
+
+* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
+- bootstrap ppc
+
+* Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
+- 5.2.0-alpha
+- -doc subpkg
+
+* Sat Sep 21 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-6
+- lupdate can't find qmake configuration file default (#1009893)
+
+* Sat Sep 21 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-4
+- use upstream cmake fix(es) (QTBUG-32570, #1006254)
+
+* Wed Sep 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-3
+- wrong path to lrelease (#1006254)
+- %%check: first try
+
+* Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2
+- ExclusiveArch: {ix86} x86_64 {arm}
+- epel-6 love
+
+* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
+- qttools-5.1.1
+- qt5-assistant, qt5-qdbusviewer, qt5-designer-plugin-webkit subpkgs (to match qt4)
+
+* Mon Aug 19 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-4
+- use system clucene09-core
+
+* Mon Apr 29 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-3
+- drop deprecated Encoding= key from .desktop files
+- add justification for desktop vendor usage
+
+* Fri Apr 19 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
+- add .desktop/icons for assistant, designer, linguist, qdbusviewer
+
+* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
+- 5.0.2
+
+* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-2
+- BR: pkgconfig(zlib)
+- -static subpkg
+
+* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
+- first try
+