commit 0979b171c9407f090737fda0e75f3be4836325b1d5a77b950991e6e6b3467125 Author: Adrian Schröter Date: Fri May 3 23:56:39 2024 +0200 Sync from SUSE:SLFO:Main qt6-tools revision 7db2707031e1bfce1466f8c0d84be42d diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..6bab707 --- /dev/null +++ b/_constraints @@ -0,0 +1,33 @@ + + + + 5 + + + + + x86_64 + ppc64 + ppc64le + + + + 5 + + + + + + + qt6-tools:docs + + + + 2 + + + 3 + + + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..46731da --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + docs + + diff --git a/linguist6.png b/linguist6.png new file mode 100644 index 0000000..d9a4b60 --- /dev/null +++ b/linguist6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2e84fbec687192cbd274ed2c08d9287433be0a83e7d7ee447c5822fc68ee6b8 +size 1410 diff --git a/org.qt.assistant6.desktop b/org.qt.assistant6.desktop new file mode 100644 index 0000000..d38daba --- /dev/null +++ b/org.qt.assistant6.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Categories=Qt;Development;Documentation; +Encoding=UTF-8 +Exec=assistant6 +Name=Qt 6 Assistant +GenericName=Document Browser +X-KDE-StartupNotify=true +MimeType=application/x-assistant; +Terminal=false +Type=Application +Icon=assistant6 + + diff --git a/org.qt.designer6.desktop b/org.qt.designer6.desktop new file mode 100644 index 0000000..d82a232 --- /dev/null +++ b/org.qt.designer6.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Categories=Qt;Development;GUIDesigner; +Encoding=UTF-8 +Exec=designer6 +Name=Qt 6 Designer +GenericName=Interface Designer +X-KDE-StartupNotify=true +MimeType=application/x-designer; +Icon=designer6 +Terminal=false +Type=Application + + diff --git a/org.qt.linguist6.desktop b/org.qt.linguist6.desktop new file mode 100644 index 0000000..7dd866d --- /dev/null +++ b/org.qt.linguist6.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Categories=Qt;Development;Translation; +Encoding=UTF-8 +Exec=linguist6 +Name=Qt 6 Linguist +GenericName=Translation Tool +X-KDE-StartupNotify=true +MimeType=application/x-linguist; +Terminal=false +Type=Application +Icon=linguist6 diff --git a/org.qt.qdbusviewer6.desktop b/org.qt.qdbusviewer6.desktop new file mode 100644 index 0000000..3eb57d4 --- /dev/null +++ b/org.qt.qdbusviewer6.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Categories=Qt;Development;Debugger; +Encoding=UTF-8 +Exec=/usr/bin/qdbusviewer6 +Name=Qt 6 D-Bus Viewer +GenericName=D-Bus Debugger +Comment=Introspect D-Bus objects and messages +X-KDE-StartupNotify=true +Terminal=false +Type=Application +Icon=qdbusviewer6 + + diff --git a/qt6-tools-rpmlintrc b/qt6-tools-rpmlintrc new file mode 100644 index 0000000..978f771 --- /dev/null +++ b/qt6-tools-rpmlintrc @@ -0,0 +1,5 @@ +# using fdupes on include directories means looking for troubles +addFilter("files-duplicate .*") + +# library and development package names don't match +addFilter("no-dependency-on .*") diff --git a/qt6-tools.changes b/qt6-tools.changes new file mode 100644 index 0000000..7540eb9 --- /dev/null +++ b/qt6-tools.changes @@ -0,0 +1,294 @@ +------------------------------------------------------------------- +Mon Nov 27 14:00:20 UTC 2023 - Christophe Marin + +- Update to 6.6.1: + * https://www.qt.io/blog/qt-6.6.1-released + +------------------------------------------------------------------- +Tue Oct 10 09:40:01 UTC 2023 - Christophe Marin + +- Update to 6.6.0 + * https://www.qt.io/blog/qt-6.6-released + +------------------------------------------------------------------- +Thu Sep 28 07:34:22 UTC 2023 - Christophe Marin + +- Update to 6.5.3 + * https://www.qt.io/blog/qt-6.5.3-released + +------------------------------------------------------------------- +Thu Jul 20 09:07:20 UTC 2023 - Christophe Marin + +- Update to 6.5.2 + * https://www.qt.io/blog/qt-6.5.2-released-1 + +------------------------------------------------------------------- +Fri Jun 30 15:13:16 UTC 2023 - Christophe Marin + +- Update subpackages requirements + +------------------------------------------------------------------- +Wed Jun 21 01:27:39 UTC 2023 - Christophe Marin + +- Also use llvm 15 on Leap 15.4. A new llvm version was submitted + to 15.4 which caused crashes when trying to run qdoc with an + older version. + +------------------------------------------------------------------- +Wed May 24 07:45:44 UTC 2023 - Christophe Marin + +- Update to 6.5.1 + * https://www.qt.io/blog/qt-6.5.1-released + +------------------------------------------------------------------- +Mon Apr 3 10:02:50 UTC 2023 - Christophe Marin + +- Update to 6.5.0 + * https://www.qt.io/blog/qt-6.5-lts-released + +------------------------------------------------------------------- +Thu Mar 16 10:00:10 UTC 2023 - Christophe Marin + +- Update to 6.4.3: + * https://www.qt.io/blog/qt-6.4.3-released + +------------------------------------------------------------------- +Wed Jan 11 20:07:37 UTC 2023 - Antonio Larrosa + +- Leap 15.4 doesn't have llvm11 but llvm13 so just use that in + SP4 and llvm15 in SP5. + +------------------------------------------------------------------- +Wed Jan 11 19:29:26 UTC 2023 - Antonio Larrosa + +- Fix condition to use llvm11 in SLE 15 SP5 instead of the default + llvm7. + +------------------------------------------------------------------- +Fri Jan 6 16:46:53 UTC 2023 - Christophe Marin + +- Update to 6.4.2: + * https://www.qt.io/blog/qt-6.4.2-released + +------------------------------------------------------------------- +Tue Nov 15 11:53:25 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.1: + * https://www.qt.io/blog/qt-6.4.1-released +- Drop patch, fixed upstream: + * 0001-lupdate-Fix-build-with-clang-15.patch + +------------------------------------------------------------------- +Sat Oct 8 06:49:06 UTC 2022 - Christophe Giboudeaux + +- Add patch to fix build with clang 15: + * 0001-lupdate-Fix-build-with-clang-15.patch + +------------------------------------------------------------------- +Thu Sep 29 10:36:06 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0: + * https://www.qt.io/blog/qt-6.4-released + +------------------------------------------------------------------- +Fri Sep 16 08:29:22 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0 RC + +------------------------------------------------------------------- +Fri Sep 9 12:41:48 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.2: + * https://www.qt.io/blog/qt-6.3.2-released + +------------------------------------------------------------------- +Fri Jun 17 15:15:39 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.1: + * https://www.qt.io/blog/qt-6.3.1-released + +------------------------------------------------------------------- +Fri Apr 8 11:57:01 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0: + * https://www.qt.io/blog/qt-6.3-released + +------------------------------------------------------------------- +Tue Mar 29 12:28:42 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0-rc + +------------------------------------------------------------------- +Mon Mar 21 08:46:43 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.4 + * https://www.qt.io/blog/qt-6.2.4-released + +------------------------------------------------------------------- +Mon Jan 31 08:54:55 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.3: + * https://www.qt.io/blog/qt-6.2.3-released + +------------------------------------------------------------------- +Wed Dec 22 13:42:30 UTC 2021 - Antonio Larrosa + +- Use clang11 in SLE15 SP4 and newer too, not just in SLE15 SP3 + +------------------------------------------------------------------- +Wed Dec 1 10:06:30 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.2 + * https://www.qt.io/blog/qt-6.2.2-released +- Make sure all dependencies are present when installing devel + packages. Qt >= 6.2.2 is much less permissive. + +------------------------------------------------------------------- +Tue Oct 26 11:22:59 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.1 + * https://www.qt.io/blog/qt-6.2.1-released + + +------------------------------------------------------------------- +Thu Sep 30 12:30:23 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0: + * https://www.qt.io/blog/qt-6.2-lts-released + +------------------------------------------------------------------- +Sat Sep 25 07:18:43 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc2 + +------------------------------------------------------------------- +Thu Sep 16 14:08:06 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc + +------------------------------------------------------------------- +Thu Sep 9 14:05:30 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-beta4 + +------------------------------------------------------------------- +Wed Sep 1 13:03:52 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.3: + * https://www.qt.io/blog/qt-6.1.3-released + +------------------------------------------------------------------- +Fri Jul 2 14:08:22 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.2. New bugfix release: + * https://www.qt.io/blog/qt-6.1.2-released + +------------------------------------------------------------------- +Tue Jun 8 05:54:20 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.1: + * https://www.qt.io/blog/qt-6.1.1-released + +------------------------------------------------------------------- +Thu May 6 17:10:41 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0: + * https://www.qt.io/blog/qt-6.1-released + +------------------------------------------------------------------- +Fri Apr 23 14:11:43 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-rc. + +------------------------------------------------------------------- +Tue Apr 13 06:29:29 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta3. + +------------------------------------------------------------------- +Wed Mar 31 13:43:10 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.3 + * https://www.qt.io/blog/qt-6.0.3-released + +------------------------------------------------------------------- +Mon Mar 22 17:21:47 UTC 2021 - Christophe Giboudeaux + +- Work around boo#1179155 and explicitly require clang11 + for Leap 15.3. + +------------------------------------------------------------------- +Fri Mar 19 15:34:32 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta2 + +------------------------------------------------------------------- +Thu Mar 18 14:24:03 UTC 2021 - Guillaume GARDET + +- Update _constraints + +------------------------------------------------------------------- +Tue Mar 9 14:47:35 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta1 + https://www.qt.io/blog/qt-6.1-beta-released + +------------------------------------------------------------------- +Tue Mar 9 13:40:47 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.2: + https://www.qt.io/blog/qt-6.0.2-released + +------------------------------------------------------------------- +Wed Feb 3 21:18:12 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.1 + https://www.qt.io/blog/qt-6.0.1-released + +------------------------------------------------------------------- +Wed Dec 16 11:26:13 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + +------------------------------------------------------------------- +Tue Dec 8 14:09:34 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0: + * https://www.qt.io/blog/qt-6.0-released + +------------------------------------------------------------------- +Wed Dec 2 12:09:05 UTC 2020 - Christophe Giboudeaux + +- Qt 6.0.0 RC2 + +------------------------------------------------------------------- +Wed Nov 25 14:40:08 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~rc1 + +------------------------------------------------------------------- +Tue Nov 17 07:26:29 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta5 + +------------------------------------------------------------------- +Tue Nov 10 20:34:59 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta4 + +------------------------------------------------------------------- +Tue Oct 20 07:47:15 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0beta1 + https://www.qt.io/blog/qt-6.0-beta-released + +------------------------------------------------------------------- +Tue Oct 6 21:15:14 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0-alpha + https://www.qt.io/blog/qt-6.0-alpha-released + +------------------------------------------------------------------- +Wed Feb 5 15:08:13 UTC 2020 - Christophe Giboudeaux + +- Add qt6-tools diff --git a/qt6-tools.spec b/qt6-tools.spec new file mode 100644 index 0000000..ff505fc --- /dev/null +++ b/qt6-tools.spec @@ -0,0 +1,483 @@ +# +# spec file for package qt6-tools +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define real_version 6.6.1 +%define short_version 6.6 +%define tar_name qttools-everywhere-src +%define tar_suffix %{nil} +# +%global qt6_flavor @BUILD_FLAVOR@%{nil} +%if "%{qt6_flavor}" == "docs" +%define pkg_suffix -docs +%endif +# +Name: qt6-tools%{?pkg_suffix} +Version: 6.6.1 +Release: 0 +Summary: Qt 6 Tools libraries and tools +# TODO Check if it's still valid +# Legal: +# most src/ subfolders are GPL-3.0-only WITH Qt-GPL-exception-1.0, except: +# qdoc is GPL-3.0-only WITH Qt-GPL-exception-1.0 + (LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later)) == GPL-3.0-only +# src/shared contains BSD-3-Clause and LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) files. The +# 'GPL-3.0-only WITH Qt-GPL-exception-1.0' files in this folder are only used on Windows. +License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-3.0-only WITH Qt-GPL-exception-1.0 +URL: https://www.qt.io +Source: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz +Source10: org.qt.designer6.desktop +Source11: org.qt.linguist6.desktop +Source12: org.qt.qdbusviewer6.desktop +Source13: org.qt.assistant6.desktop +# The 48x48 icon was removed from qttools +Source14: linguist6.png +Source99: qt6-tools-rpmlintrc +# clang-devel in Leap 15 points to clang7... +%if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400 +BuildRequires: clang15-devel +%else +BuildRequires: clang-devel >= 8 +%endif +BuildRequires: hicolor-icon-theme +BuildRequires: pkgconfig +BuildRequires: qt6-core-private-devel +BuildRequires: qt6-dbus-private-devel +BuildRequires: qt6-gui-private-devel +BuildRequires: qt6-qml-private-devel +BuildRequires: qt6-quick-private-devel +BuildRequires: qt6-widgets-private-devel +BuildRequires: update-desktop-files +BuildRequires: cmake(Qt6Core) = %{real_version} +BuildRequires: cmake(Qt6DBus) = %{real_version} +BuildRequires: cmake(Qt6Gui) = %{real_version} +BuildRequires: cmake(Qt6Network) = %{real_version} +BuildRequires: cmake(Qt6OpenGL) = %{real_version} +BuildRequires: cmake(Qt6OpenGLWidgets) = %{real_version} +BuildRequires: cmake(Qt6PrintSupport) = %{real_version} +BuildRequires: cmake(Qt6Quick) = %{real_version} +BuildRequires: cmake(Qt6QuickWidgets) = %{real_version} +BuildRequires: cmake(Qt6Sql) = %{real_version} +BuildRequires: cmake(Qt6Widgets) = %{real_version} +BuildRequires: cmake(Qt6Xml) = %{real_version} +BuildRequires: pkgconfig(libzstd) >= 1.3 +# These packages are required to generate documentation for the Qt packages +Requires: qt6-tools-helpgenerators +Requires: qt6-tools-qdoc +Recommends: qt6-tools-assistant +Recommends: qt6-tools-designer +Recommends: qt6-tools-linguist +Recommends: qt6-tools-qdbus +%if "%{qt6_flavor}" == "docs" +BuildRequires: qt6-tools +%{qt6_doc_packages} +%endif + +%description +The QtTools modules contains some tools mostly useful for application +development. + +Included are Qt Designer (GUI design), QDbusViewer and more. + +%if !%{qt6_docs_flavor} + +%package devel +Summary: Qt 6 Tools libraries - Development files +Requires: qt6-tools = %{version} +Requires: qt6-tools-helpgenerators = %{version} +Requires: qt6-tools-qdoc = %{version} + +%description devel +Development files for the Qt6 tools libraries. + +%package private-devel +Summary: Non-ABI stable API for the Qt 6 tools libraries + +%description private-devel +This package provides private headers of qt6-tools that do not have any +ABI or API guarantees. + +%package -n libQt6Designer6 +Summary: Qt 6 Designer library +License: GPL-3.0-only WITH Qt-GPL-exception-1.0 + +%description -n libQt6Designer6 +This package contains the Qt 6 Designer Library. + +%package -n qt6-designer-devel +Summary: Qt 6 Designer libraries - Development files +Requires: libQt6Designer6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6OpenGL) = %{real_version} +Requires: cmake(Qt6OpenGLWidgets) = %{real_version} +Requires: cmake(Qt6Widgets) = %{real_version} +Requires: cmake(Qt6Xml) = %{real_version} + +%description -n qt6-designer-devel +Development files for the Qt6 Designer libraries. + +%package -n qt6-designer-private-devel +Summary: Non-ABI stable API for the Qt 6 Designer libraries +Requires: cmake(Qt6Designer) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel +%requires_eq qt6-widgets-private-devel + +%description -n qt6-designer-private-devel +This package provides private headers of libQt6Designer that do not have any +ABI or API guarantees. + +%package -n libQt6Help6 +Summary: Qt 6 Help library + +%description -n libQt6Help6 +This package contains the Qt 6 Help library. + +%package -n qt6-help-devel +Summary: Qt 6 Help library - Development files +Requires: libQt6Help6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Network) = %{real_version} +Requires: cmake(Qt6Sql) = %{real_version} +Requires: cmake(Qt6Widgets) = %{real_version} + +%description -n qt6-help-devel +Development files for the Qt6 Help library. + +%package -n qt6-help-private-devel +Summary: Non-ABI stable API for the Qt 6 Help library +Requires: cmake(Qt6Help) = %{real_version} +%requires_eq qt6-core-private-devel + +%description -n qt6-help-private-devel +This package provides private headers of libQt6Help that do not have any +ABI or API guarantees. + +%package -n libQt6UiTools6 +Summary: Qt 6 UiTools library + +%description -n libQt6UiTools6 +This package contains the Qt 6 UiTools library. + +%package -n qt6-uitools-devel +Summary: Qt 6 UiTools library - Development files +Requires: libQt6UiTools6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6OpenGL) = %{real_version} +Requires: cmake(Qt6OpenGLWidgets) = %{real_version} +Requires: cmake(Qt6UiPlugin) = %{real_version} +Requires: cmake(Qt6Widgets) = %{real_version} +# qt6uitools_*_metatypes.json location fixed +Conflicts: qt6-designer-devel < 6.2.2 + +%description -n qt6-uitools-devel +Development files for the Qt6 UiTools library. + +%package -n qt6-uitools-private-devel +Summary: Non-ABI stable API for the Qt 6 UiTools library +Requires: cmake(Qt6UiTools) = %{real_version} + +%description -n qt6-uitools-private-devel +This package provides private headers of libQt6UiTools that do not have any +ABI or API guarantees. + +%package assistant +Summary: Documentation browser + +%description assistant +Qt Assistant is a tool for viewing documentation in Qt help file format. + +%package designer +Summary: Qt graphical interface creation tool + +%description designer +Qt Designer is a tool for designing and building graphical user interface +with Qt Widgets. + +%package helpgenerators +Summary: Qt Help files generator +Requires: qt6-docs-common +# help files are SQLite databases, so qhelpgenerator needs the SQLite plugin +Requires: qt6-sql-sqlite + +%description helpgenerators +Qt 6 tool for generating .qch help catalogs. + +%package linguist +Summary: Translation tool for Qt applications + +%description linguist +Qt Linguist can be used by translator to translate text in Qt applications. + +%package -n qt6-linguist-devel +Summary: Qt 6 linguist tools - Development files +# Executables are required +Requires: qt6-tools-linguist = %{version} + +%description -n qt6-linguist-devel +Development files for the Qt 6 linguist tools. + +%package qdbus +Summary: Command line client for communication over D-Bus +License: GPL-3.0-only WITH Qt-GPL-exception-1.0 + +%description qdbus +Command line client for communication over D-Bus. + +%package qdoc +Summary: Qt 6 Tool used by Qt to generate documentation +License: GPL-3.0-only +# qdoc hardcodes clang include paths: boo#1109367, QTBUG-70687 +%requires_eq libclang%{_llvm_sonum} + +%description qdoc +Qt 6 Tool used by Qt to generate documentation. + +### Private only library ### + +%package -n libQt6DesignerComponents6 +Summary: Qt 6 DesignerComponents library +License: GPL-3.0-only WITH Qt-GPL-exception-1.0 + +%description -n libQt6DesignerComponents6 +The Qt 6 DesignerComponents library. +This library does not have any ABI or API guarantees. + +%package -n qt6-designercomponents-private-devel +Summary: Development files for the Qt 6 DesignerComponents library +Requires: libQt6DesignerComponents6 = %{version} +Requires: qt6-designer-private-devel = %{version} +Requires: cmake(Qt6Core) = %{real_version} +Requires: cmake(Qt6Xml) = %{real_version} +%requires_eq qt6-gui-private-devel +%requires_eq qt6-widgets-private-devel + +%description -n qt6-designercomponents-private-devel +Development files for the Qt 6 DesignerComponents library. +This library does not have any ABI or API guarantees. + +%{qt6_examples_package} + +%endif + +%prep +%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix} + +%build +%cmake_qt6 -DBUILD_TESTING:BOOL=OFF + +%{qt6_build} + +%install +%{qt6_install} + +%if !%{qt6_docs_flavor} + +%{qt6_link_executables} + +# CMake files are not needed for plugins (except for Qt6UiPlugin) +rm %{buildroot}%{_qt6_cmakedir}/Qt6Designer/*Plugin{Config,Targets}*.cmake + +# Unused file. There are no private headers for this library +rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_linguist_private.pri + +# This doesn't look useful +rm -r %{buildroot}%{_qt6_includedir}/QtQDocCatch* +rm -r %{buildroot}%{_qt6_cmakedir}/Qt6QDocCatch* +rm %{buildroot}%{_qt6_pkgconfigdir}/Qt6QDocCatch*.pc +rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qdoccatch*.pri +rm %{buildroot}%{_qt6_descriptionsdir}/QDocCatch*.json + +# Desktop files for applications +%suse_update_desktop_file -i org.qt.assistant6 +%suse_update_desktop_file -i org.qt.designer6 +%suse_update_desktop_file -i org.qt.linguist6 +rm %{buildroot}%{_datadir}/pixmaps/linguist6.png +%suse_update_desktop_file -i org.qt.qdbusviewer6 + +# Icons for the desktop files +install -D -m644 src/designer/src/designer/images/designer.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/designer6.png +install -D -m644 %{SOURCE14} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/linguist6.png +install -D -m644 src/linguist/linguist/images/icons/linguist-128-32.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/linguist6.png +install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/qdbusviewer6.png +install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/qdbusviewer6.png +install -D -m644 src/assistant/assistant/images/assistant.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant6.png +install -D -m644 src/assistant/assistant/images/assistant-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/assistant6.png + +%ldconfig_scriptlets -n libQt6Designer6 +%ldconfig_scriptlets -n libQt6DesignerComponents6 +%ldconfig_scriptlets -n libQt6Help6 +%ldconfig_scriptlets -n libQt6UiTools6 + +%files +%license LICENSES/* +%{_bindir}/pixeltool6 +%{_bindir}/qdistancefieldgenerator6 +%{_bindir}/qtdiag6 +%{_bindir}/qtplugininfo6 +%{_qt6_bindir}/pixeltool +%{_qt6_bindir}/qdistancefieldgenerator +%{_qt6_bindir}/qtdiag +%{_qt6_bindir}/qtplugininfo +%{_qt6_libexecdir}/qtattributionsscanner + +%files devel +%{_qt6_cmakedir}/Qt6/FindWrapLibClang.cmake +%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/QtToolsTestsConfig.cmake +%{_qt6_cmakedir}/Qt6Tools/ +%{_qt6_cmakedir}/Qt6ToolsTools/ +%{_qt6_descriptionsdir}/Tools.json +%{_qt6_includedir}/QtTools/ +%exclude %{_qt6_includedir}/QtTools/%{real_version} + +%files private-devel +%{_qt6_includedir}/QtTools/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_tools_private.pri + +%files -n libQt6Designer6 +%{_qt6_libdir}/libQt6Designer.so.* + +%files -n qt6-designer-devel +%{_qt6_cmakedir}/Qt6Designer/ +%{_qt6_cmakedir}/Qt6UiPlugin/ +%{_qt6_descriptionsdir}/Designer.json +%{_qt6_descriptionsdir}/UiPlugin.json +%{_qt6_includedir}/QtDesigner/ +%{_qt6_includedir}/QtUiPlugin/ +%{_qt6_libdir}/libQt6Designer.prl +%{_qt6_libdir}/libQt6Designer.so +%{_qt6_metatypesdir}/qt6designer_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_designer.pri +%{_qt6_mkspecsdir}/modules/qt_lib_uiplugin.pri +%{_qt6_pkgconfigdir}/Qt6Designer.pc +%{_qt6_pkgconfigdir}/Qt6UiPlugin.pc +%exclude %{_qt6_includedir}/QtDesigner/%{real_version} + +%files -n qt6-designer-private-devel +%{_qt6_includedir}/QtDesigner/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_designer_private.pri + +%files -n libQt6Help6 +%{_qt6_libdir}/libQt6Help.so.* + +%files -n qt6-help-devel +%{_qt6_cmakedir}/Qt6Help/ +%{_qt6_descriptionsdir}/Help.json +%{_qt6_includedir}/QtHelp/ +%{_qt6_libdir}/libQt6Help.prl +%{_qt6_libdir}/libQt6Help.so +%{_qt6_metatypesdir}/qt6help_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_help.pri +%{_qt6_pkgconfigdir}/Qt6Help.pc +%exclude %{_qt6_includedir}/QtHelp/%{real_version} + +%files -n qt6-help-private-devel +%{_qt6_includedir}/QtHelp/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_help_private.pri + +%files -n libQt6UiTools6 +%{_qt6_libdir}/libQt6UiTools.so.* + +%files -n qt6-uitools-devel +%{_qt6_cmakedir}/Qt6UiTools/ +%{_qt6_descriptionsdir}/UiTools.json +%{_qt6_includedir}/QtUiTools/ +%{_qt6_libdir}/libQt6UiTools.prl +%{_qt6_libdir}/libQt6UiTools.so +%{_qt6_metatypesdir}/qt6uitools_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_uitools.pri +%{_qt6_pkgconfigdir}/Qt6UiTools.pc +%exclude %{_qt6_includedir}/QtUiTools/%{real_version} + +%files -n qt6-uitools-private-devel +%{_qt6_includedir}/QtUiTools/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_uitools_private.pri + +%files assistant +%{_bindir}/assistant6 +%{_datadir}/applications/org.qt.assistant6.desktop +%{_datadir}/icons/hicolor/128x128/apps/assistant6.png +%{_datadir}/icons/hicolor/32x32/apps/assistant6.png +%{_qt6_bindir}/assistant + +%files designer +%dir %{_qt6_pluginsdir}/designer +%{_bindir}/designer6 +%{_datadir}/applications/org.qt.designer6.desktop +%{_datadir}/icons/hicolor/128x128/apps/designer6.png +%{_qt6_bindir}/designer +%{_qt6_pluginsdir}/designer/libcontainerextension.so +%{_qt6_pluginsdir}/designer/libcustomwidgetplugin.so +%{_qt6_pluginsdir}/designer/libqquickwidget.so +%{_qt6_pluginsdir}/designer/libtaskmenuextension.so + +%files helpgenerators +%{_qt6_libexecdir}/qhelpgenerator + +%files linguist +%dir %{_qt6_datadir}/phrasebooks +%{_bindir}/lconvert6 +%{_bindir}/linguist6 +%{_bindir}/lrelease6 +%{_bindir}/lupdate6 +%{_datadir}/applications/org.qt.linguist6.desktop +%{_datadir}/icons/hicolor/48x48/apps/linguist6.png +%{_datadir}/icons/hicolor/128x128/apps/linguist6.png +%{_qt6_bindir}/lconvert +%{_qt6_bindir}/linguist +%{_qt6_bindir}/lrelease +%{_qt6_bindir}/lupdate +%{_qt6_datadir}/phrasebooks/*.qph +%{_qt6_libexecdir}/lprodump +%{_qt6_libexecdir}/lrelease-pro +%{_qt6_libexecdir}/lupdate-pro + +%files -n qt6-linguist-devel +%{_qt6_descriptionsdir}/Linguist.json +%{_qt6_cmakedir}/Qt6Linguist/ +%{_qt6_cmakedir}/Qt6LinguistTools/ +%{_qt6_mkspecsdir}/modules/qt_lib_linguist.pri +%{_qt6_pkgconfigdir}/Qt6Linguist.pc + +%files qdbus +%{_bindir}/qdbus6 +%{_bindir}/qdbusviewer6 +%{_datadir}/applications/org.qt.qdbusviewer6.desktop +%{_datadir}/icons/hicolor/128x128/apps/qdbusviewer6.png +%{_datadir}/icons/hicolor/32x32/apps/qdbusviewer6.png +%{_qt6_bindir}/qdbus +%{_qt6_bindir}/qdbusviewer + +%files qdoc +%{_bindir}/qdoc6 +%{_qt6_bindir}/qdoc + +### Private only library ### +%files -n libQt6DesignerComponents6 +%{_qt6_libdir}/libQt6DesignerComponents.so.* + +%files -n qt6-designercomponents-private-devel +%{_qt6_cmakedir}/Qt6DesignerComponentsPrivate/ +%{_qt6_descriptionsdir}/DesignerComponentsPrivate.json +%{_qt6_includedir}/QtDesignerComponents/ +%{_qt6_libdir}/libQt6DesignerComponents.prl +%{_qt6_libdir}/libQt6DesignerComponents.so +%{_qt6_metatypesdir}/qt6designercomponentsprivate_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_designercomponents_private.pri + +%endif + +%changelog diff --git a/qttools-everywhere-src-6.6.1.tar.xz b/qttools-everywhere-src-6.6.1.tar.xz new file mode 100644 index 0000000..0838eb1 --- /dev/null +++ b/qttools-everywhere-src-6.6.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4939105a7345ab4e19e7caee8654a836e65bd41910359623e0f233f3aff0914a +size 8583536