commit 46a20ccff82a5e7685939c434d09d7a89c43076be8e8bb561379bfc2effbddae Author: Adrian Schröter Date: Fri May 3 23:48:28 2024 +0200 Sync from SUSE:SLFO:Main qt6-3d revision 62a3c6e78b217b7b62d4a5a8aaf33f09 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..2e7c7b8 --- /dev/null +++ b/_constraints @@ -0,0 +1,32 @@ + + + + 4 + + + + + ppc64 + ppc64le + + + + 4500 + + + + + + + qt6-3d:docs + + + + 2500 + + + 2 + + + + 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/qt3d-everywhere-src-6.6.1.tar.xz b/qt3d-everywhere-src-6.6.1.tar.xz new file mode 100644 index 0000000..422a7cb --- /dev/null +++ b/qt3d-everywhere-src-6.6.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f384aed74f14a71c68f607a3b1e859ea22746e82650e775fd40f0653c2443229 +size 163183224 diff --git a/qt6-3d-rpmlintrc b/qt6-3d-rpmlintrc new file mode 100644 index 0000000..978f771 --- /dev/null +++ b/qt6-3d-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-3d.changes b/qt6-3d.changes new file mode 100644 index 0000000..3f5ad58 --- /dev/null +++ b/qt6-3d.changes @@ -0,0 +1,238 @@ +------------------------------------------------------------------- +Mon Nov 27 14:00:05 UTC 2023 - Christophe Marin + +- Update to 6.6.1: + * https://www.qt.io/blog/qt-6.6.1-released + +------------------------------------------------------------------- +Tue Oct 10 09:39:47 UTC 2023 - Christophe Marin + +- Update to 6.6.0 + * https://www.qt.io/blog/qt-6.6-released + +------------------------------------------------------------------- +Thu Sep 28 07:34:06 UTC 2023 - Christophe Marin + +- Update to 6.5.3 + * https://www.qt.io/blog/qt-6.5.3-released + +------------------------------------------------------------------- +Thu Jul 20 08:34:39 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:06 UTC 2023 - Christophe Marin + +- Update subpackages requirements + +------------------------------------------------------------------- +Wed May 24 07:45:34 UTC 2023 - Christophe Marin + +- Update to 6.5.1 + * https://www.qt.io/blog/qt-6.5.1-released + +------------------------------------------------------------------- +Mon Apr 3 10:01:44 UTC 2023 - Christophe Marin + +- Update to 6.5.0 + * https://www.qt.io/blog/qt-6.5-lts-released + +------------------------------------------------------------------- +Fri Mar 17 08:58:31 UTC 2023 - Christophe Marin + +- Temporarily disable build for x86 + +------------------------------------------------------------------- +Thu Mar 16 09:59:57 UTC 2023 - Christophe Marin + +- Update to 6.4.3: + * https://www.qt.io/blog/qt-6.4.3-released + +------------------------------------------------------------------- +Fri Jan 6 16:46:36 UTC 2023 - Christophe Marin + +- Update to 6.4.2: + * https://www.qt.io/blog/qt-6.4.2-released + +------------------------------------------------------------------- +Tue Nov 15 11:53:07 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.1: + * https://www.qt.io/blog/qt-6.4.1-released + +------------------------------------------------------------------- +Thu Sep 29 10:35:47 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0: + * https://www.qt.io/blog/qt-6.4-released + +------------------------------------------------------------------- +Fri Sep 16 08:29:01 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0 RC + +------------------------------------------------------------------- +Fri Sep 9 12:41:31 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.2: + * https://www.qt.io/blog/qt-6.3.2-released + +------------------------------------------------------------------- +Fri Jun 17 15:14:59 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.1: + * https://www.qt.io/blog/qt-6.3.1-released + +------------------------------------------------------------------- +Fri Apr 8 11:56:50 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0: + * https://www.qt.io/blog/qt-6.3-released + +------------------------------------------------------------------- +Tue Mar 29 12:28:28 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0-rc +- Update build constraints + +------------------------------------------------------------------- +Wed Mar 23 07:13:18 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.4 + * https://www.qt.io/blog/qt-6.2.4-released + +------------------------------------------------------------------- +Mon Jan 31 08:54:20 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.3: + * https://www.qt.io/blog/qt-6.2.3-released + +------------------------------------------------------------------- +Wed Dec 1 10:05:52 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:27 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.1 + * https://www.qt.io/blog/qt-6.2.1-released + + +------------------------------------------------------------------- +Thu Sep 30 12:24:29 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0: + * https://www.qt.io/blog/qt-6.2-lts-released + +------------------------------------------------------------------- +Sat Sep 25 07:18:32 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc2 + +------------------------------------------------------------------- +Thu Sep 16 14:07:29 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc + +------------------------------------------------------------------- +Thu Sep 9 14:04:54 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-beta4 + +------------------------------------------------------------------- +Wed Sep 1 13:03:20 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.3: + * https://www.qt.io/blog/qt-6.1.3-released + +------------------------------------------------------------------- +Fri Jul 2 14:07:27 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:07 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.1: + * https://www.qt.io/blog/qt-6.1.1-released + +------------------------------------------------------------------- +Thu May 6 17:10:09 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0: + * https://www.qt.io/blog/qt-6.1-released + +------------------------------------------------------------------- +Fri Apr 23 14:11:32 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-rc. +- Remove the _service file. qt6-3d builds successfully with the + system assimp dependency. + +------------------------------------------------------------------- +Tue Apr 13 06:32:18 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta3. + +------------------------------------------------------------------- +Wed Mar 31 15:45:42 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.3 + * https://www.qt.io/blog/qt-6.0.3-released + +------------------------------------------------------------------- +Fri Mar 19 15:56:31 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta2 + +------------------------------------------------------------------- +Fri Mar 5 17:23:58 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta1 + https://www.qt.io/blog/qt-6.1-beta-released + +------------------------------------------------------------------- +Fri Mar 5 09:31:17 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.2: + https://www.qt.io/blog/qt-6.0.2-released + +------------------------------------------------------------------- +Wed Feb 3 17:11:46 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.1 + https://www.qt.io/blog/qt-6.0.1-released + +------------------------------------------------------------------- +Wed Dec 16 12:25:55 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + +------------------------------------------------------------------- +Sat Dec 12 13:24:22 UTC 2020 - Christophe Giboudeaux + +- Do not fetch the assimp submodule which contains non-free files. + +------------------------------------------------------------------- +Tue Dec 8 15:10:39 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0: + * https://www.qt.io/blog/qt-6.0-released + +------------------------------------------------------------------- +Tue Oct 6 21:47:03 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0-alpha + https://www.qt.io/blog/qt-6.0-alpha-released + +------------------------------------------------------------------- +Sat Jun 13 18:19:09 UTC 2020 - Christophe Giboudeaux + +- Add qt6-3d diff --git a/qt6-3d.spec b/qt6-3d.spec new file mode 100644 index 0000000..8224351 --- /dev/null +++ b/qt6-3d.spec @@ -0,0 +1,746 @@ +# +# spec file for package qt6-3d +# +# 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 qt3d-everywhere-src +%define tar_suffix %{nil} +# +%global qt6_flavor @BUILD_FLAVOR@%{nil} +%if "%{qt6_flavor}" == "docs" +%define pkg_suffix -docs +%endif +# +Name: qt6-3d%{?pkg_suffix} +Version: 6.6.1 +Release: 0 +Summary: Qt 6 3D Library +License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) +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 +Source99: qt6-3d-rpmlintrc +BuildRequires: pkgconfig +BuildRequires: qt6-core-private-devel +BuildRequires: qt6-gui-private-devel +BuildRequires: qt6-opengl-private-devel +BuildRequires: qt6-qml-private-devel +BuildRequires: qt6-quick-private-devel +BuildRequires: qt6-shadertools-private-devel +BuildRequires: cmake(Qt6Concurrent) = %{real_version} +BuildRequires: cmake(Qt6Core) = %{real_version} +# Doesn't build yet +# BuildRequires: cmake(Qt6Gamepad) +BuildRequires: cmake(Qt6Gui) = %{real_version} +BuildRequires: cmake(Qt6Multimedia) = %{real_version} +BuildRequires: cmake(Qt6Network) = %{real_version} +BuildRequires: cmake(Qt6OpenGL) = %{real_version} +BuildRequires: cmake(Qt6Qml) = %{real_version} +BuildRequires: cmake(Qt6Quick) = %{real_version} +BuildRequires: cmake(Qt6QuickWidgets) = %{real_version} +BuildRequires: cmake(Qt6ShaderTools) = %{real_version} +BuildRequires: cmake(Qt6Widgets) = %{real_version} +BuildRequires: cmake(assimp) >= 5 +BuildRequires: pkgconfig(zlib) +%if "%{qt6_flavor}" == "docs" +BuildRequires: qt6-tools +%{qt6_doc_packages} +%endif + +%description +Qt 3D provides functionality for near-realtime simulation +systems with support for 2D and 3D rendering in both Qt C++ and Qt Quick applications. + +%if !%{qt6_docs_flavor} + +%package devel +Summary: Qt 6 3D development meta package +Requires: cmake(Qt63DAnimation) = %{real_version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DExtras) = %{real_version} +Requires: cmake(Qt63DInput) = %{real_version} +Requires: cmake(Qt63DLogic) = %{real_version} +Requires: cmake(Qt63DQuick) = %{real_version} +Requires: cmake(Qt63DQuickAnimation) = %{real_version} +Requires: cmake(Qt63DQuickExtras) = %{real_version} +Requires: cmake(Qt63DQuickInput) = %{real_version} +Requires: cmake(Qt63DQuickRender) = %{real_version} +Requires: cmake(Qt63DQuickScene2D) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +BuildArch: noarch + +%description devel +This meta-package requires all the qt6-3d development packages. + +%package private-devel +Summary: Qt 6 3D unstable ABI meta package +Requires: qt6-3d-devel = %{version} +Requires: qt6-3danimation-private-devel = %{version} +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3dextras-private-devel = %{version} +Requires: qt6-3dinput-private-devel = %{version} +Requires: qt6-3dlogic-private-devel = %{version} +Requires: qt6-3dquick-private-devel = %{version} +Requires: qt6-3dquickanimation-private-devel = %{version} +Requires: qt6-3dquickextras-private-devel = %{version} +Requires: qt6-3dquickinput-private-devel = %{version} +Requires: qt6-3dquickrender-private-devel = %{version} +Requires: qt6-3dquickscene2d-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +BuildArch: noarch + +%description private-devel +This meta-package requires all the qt6-3d development packages that do not +have any ABI or API guarantees. + +%package -n libQt63DAnimation6 +Summary: Qt 6 3DAnimation library + +%description -n libQt63DAnimation6 +The Qt 6 3DAnimation library. + +%package -n qt6-3danimation-devel +Summary: Development files for the Qt 6 3DAnimation library +Requires: libQt63DAnimation6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} + +%description -n qt6-3danimation-devel +Development files for the Qt 6 3DAnimation library. + +%package -n qt6-3danimation-private-devel +Summary: Non-ABI stable API for the Qt 6 3DAnimation library +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +Requires: cmake(Qt63DAnimation) = %{real_version} +%requires_eq qt6-core-private-devel + +%description -n qt6-3danimation-private-devel +This package provides private headers of libQt63DAnimation that do not have any +ABI or API guarantees. + +%package -n libQt63DCore6 +Summary: Qt 6 3DCore library + +%description -n libQt63DCore6 +The Qt 6 3DCore library. + +%package -n qt6-3dcore-devel +Summary: Development files for the Qt 6 3DCore library +Requires: libQt63DCore6 = %{version} +Requires: cmake(Qt6Concurrent) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Network) = %{real_version} + +%description -n qt6-3dcore-devel +Development files for the Qt 6 3DCore library. + +%package -n qt6-3dcore-private-devel +Summary: Non-ABI stable API for the Qt 6 3DCore library +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt6Concurrent) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel + +%description -n qt6-3dcore-private-devel +This package provides private headers of libQt63DCore that do not have any +ABI or API guarantees. + +%package -n libQt63DExtras6 +Summary: Qt 6 3DExtras library + +%description -n libQt63DExtras6 +The Qt 6 3DExtras library. + +%package -n qt6-3dextras-devel +Summary: Development files for the Qt 6 3DExtras library +Requires: libQt63DExtras6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DInput) = %{real_version} +Requires: cmake(Qt63DLogic) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} + +%description -n qt6-3dextras-devel +Development files for the Qt 6 3DExtras library. + +%package -n qt6-3dextras-private-devel +Summary: Non-ABI stable API for the Qt 6 3DExtras library +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +Requires: cmake(Qt63DExtras) = %{real_version} +%requires_eq qt6-core-private-devel + +%description -n qt6-3dextras-private-devel +This package provides private headers of libQt63DExtras that do not have any +ABI or API guarantees. + +%package -n libQt63DInput6 +Summary: Qt 6 3DInput library + +%description -n libQt63DInput6 +The Qt 6 3DInput library. + +%package -n qt6-3dinput-devel +Summary: Development files for the Qt 6 3DInput library +Requires: libQt63DInput6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} + +%description -n qt6-3dinput-devel +Development files for the Qt 6 3DInput library. + +%package -n qt6-3dinput-private-devel +Summary: Non-ABI stable API for the Qt 6 3DInput library +Requires: qt6-3dcore-private-devel = %{version} +Requires: cmake(Qt63DInput) = %{real_version} +%requires_eq qt6-core-private-devel + +%description -n qt6-3dinput-private-devel +This package provides private headers of libQt63DInput that do not have any +ABI or API guarantees. + +%package -n libQt63DLogic6 +Summary: Qt 6 3DLogic library + +%description -n libQt63DLogic6 +The Qt 6 3DLogic library. + +%package -n qt6-3dlogic-devel +Summary: Development files for the Qt 6 3DLogic library +Requires: libQt63DLogic6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} + +%description -n qt6-3dlogic-devel +Development files for the Qt 6 3DLogic library. + +%package -n qt6-3dlogic-private-devel +Summary: Non-ABI stable API for the Qt 6 3DLogic library +Requires: qt6-3dcore-private-devel = %{version} +Requires: cmake(Qt63DLogic) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel + +%description -n qt6-3dlogic-private-devel +This package provides private headers of libQt63DLogic that do not have any +ABI or API guarantees. + +%package -n libQt63DQuick6 +Summary: Qt 6 3DQuick library + +%description -n libQt63DQuick6 +The Qt 6 3DQuick library. + +%package -n qt6-3dquick-devel +Summary: Development files for the Qt 6 3DQuick library +Requires: libQt63DQuick6 = %{version} +Requires: qt6-3dcore-private-devel = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} + +%description -n qt6-3dquick-devel +Development files for the Qt 6 3DQuick library. + +%package -n qt6-3dquick-private-devel +Summary: Non-ABI stable API for the Qt 6 3DQuick library +Requires: cmake(Qt63DQuick) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel +%requires_eq qt6-qml-private-devel +%requires_eq qt6-quick-private-devel + +%description -n qt6-3dquick-private-devel +This package provides private headers of libQt63DQuick that do not have any +ABI or API guarantees. + +%package -n libQt63DQuickAnimation6 +Summary: Qt 6 3DQuickAnimation library + +%description -n libQt63DQuickAnimation6 +The Qt 6 3DQuickAnimation library. + +%package -n qt6-3dquickanimation-devel +Summary: Development files for the Qt 6 3DQuickAnimation library +Requires: libQt63DQuickAnimation6 = %{version} +Requires: cmake(Qt63DAnimation) = %{real_version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DQuick) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} + +%description -n qt6-3dquickanimation-devel +Development files for the Qt 6 3DQuickAnimation library. + +%package -n qt6-3dquickanimation-private-devel +Summary: Non-ABI stable API for the Qt 6 3DQuickAnimation library +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3dquick-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +Requires: cmake(Qt63DQuickAnimation) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-qml-private-devel + +%description -n qt6-3dquickanimation-private-devel +This package provides private headers of libQt63DQuickAnimation that do not +have any ABI or API guarantees. + +%package -n libQt63DQuickExtras6 +Summary: Qt 6 3DQuickExtras library + +%description -n libQt63DQuickExtras6 +The Qt 6 3DQuickExtras library. + +%package -n qt6-3dquickextras-devel +Summary: Development files for the Qt 6 3DQuickExtras library +Requires: libQt63DQuickExtras6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DExtras) = %{real_version} +Requires: cmake(Qt63DInput) = %{real_version} +Requires: cmake(Qt63DLogic) = %{real_version} +Requires: cmake(Qt63DQuick) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} + +%description -n qt6-3dquickextras-devel +Development files for the Qt 6 3DQuickExtras library. + +%package -n qt6-3dquickextras-private-devel +Summary: Non-ABI stable API for the Qt 6 3DQuickExtras library +Requires: qt6-3dextras-private-devel = %{version} +Requires: qt6-3dquick-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +Requires: cmake(Qt63DQuickExtras) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-qml-private-devel + +%description -n qt6-3dquickextras-private-devel +This package provides private headers of libQt63DQuickExtras that do not have +any ABI or API guarantees. + +%package -n libQt63DQuickInput6 +Summary: Qt 6 3DQuickInput library + +%description -n libQt63DQuickInput6 +The Qt 6 3DQuickInput library. + +%package -n qt6-3dquickinput-devel +Summary: Development files for the Qt 6 3DQuickInput library +Requires: libQt63DQuickInput6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DInput) = %{real_version} +Requires: cmake(Qt63DQuick) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} + +%description -n qt6-3dquickinput-devel +Development files for the Qt 6 3DQuickInput library. + +%package -n qt6-3dquickinput-private-devel +Summary: Non-ABI stable API for the Qt 6 3DQuickInput library +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3dinput-private-devel = %{version} +Requires: qt6-3dquick-private-devel = %{version} +Requires: cmake(Qt63DQuickInput) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-qml-private-devel + +%description -n qt6-3dquickinput-private-devel +This package provides private headers of libQt63DQuickInput that do not have any +ABI or API guarantees. + +%package -n libQt63DQuickRender6 +Summary: Qt 6 3DQuickRender library + +%description -n libQt63DQuickRender6 +The Qt 6 3DQuickRender library. + +%package -n qt6-3dquickrender-devel +Summary: Development files for the Qt 6 3DQuickRender library +Requires: libQt63DQuickRender6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DQuick) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} + +%description -n qt6-3dquickrender-devel +Development files for the Qt 6 3DQuickRender library. + +%package -n qt6-3dquickrender-private-devel +Summary: Non-ABI stable API for the Qt 6 3DQuickRender library +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3dquick-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +Requires: cmake(Qt63DQuickRender) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-qml-private-devel + +%description -n qt6-3dquickrender-private-devel +This package provides private headers of libQt63DQuickRender that do not have +any ABI or API guarantees. + +%package -n libQt63DQuickScene2D6 +Summary: Qt 6 3DQuickScene2D library + +%description -n libQt63DQuickScene2D6 +The Qt 6 3DQuickScene2D library. + +%package -n qt6-3dquickscene2d-devel +Summary: Development files for the Qt 6 3DQuickScene2D library +Requires: libQt63DQuickScene2D6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt63DQuick) = %{real_version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} + +%description -n qt6-3dquickscene2d-devel +Development files for the Qt 6 3DQuickScene2D library. + +%package -n qt6-3dquickscene2d-private-devel +Summary: Non-ABI stable API for the Qt 6 3DQuickScene2D library +Requires: qt6-3dcore-private-devel = %{version} +Requires: qt6-3dquick-private-devel = %{version} +Requires: qt6-3drender-private-devel = %{version} +Requires: cmake(Qt63DQuickScene2D) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-qml-private-devel + +%description -n qt6-3dquickscene2d-private-devel +This package provides private headers of libQt63DQuickScene2D that do not have +any ABI or API guarantees. + +%package -n libQt63DRender6 +Summary: Qt 6 3DRender library + +%description -n libQt63DRender6 +The Qt 6 3DRender library. + +%package -n qt6-3drender-devel +Summary: Development files for the Qt 6 3DRender library +Requires: libQt63DRender6 = %{version} +Requires: cmake(Qt63DCore) = %{real_version} +Requires: cmake(Qt6Concurrent) = %{real_version} +Requires: cmake(Qt6OpenGL) = %{real_version} + +%description -n qt6-3drender-devel +Development files for the Qt 6 3DRender library. + +%package -n qt6-3drender-private-devel +Summary: Non-ABI stable API for the Qt 6 3DRender library +Requires: qt6-3dcore-private-devel = %{version} +Requires: cmake(Qt63DRender) = %{real_version} +Requires: cmake(Qt6Concurrent) = %{real_version} +%requires_eq qt6-core-private-devel + +%description -n qt6-3drender-private-devel +This package provides private headers of libQt63DRender that do not have any +ABI or API guarantees. + +%package imports +Summary: Qt 6 3D Library - QML imports +%requires_ge libQt6Quick6 +Supplements: (libQt63DCore6 and libQt6Quick6) + +%description imports +Qt 6 3D QML imports. + +%{qt6_examples_package} +%endif + +%prep +%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix} + +# Empty file used for the meta packages +touch meta_package + +%build +# -flto breaks CONFIG += resources_big (QTBUG-73834), but resources_big is +# needed to prevent excessive memory use. +# The error is visible when building the 'planets-qml' example. +%define _lto_cflags %{nil} + +%cmake_qt6 \ + -DFEATURE_qt3d_system_assimp:BOOL=ON + +%{qt6_build} + +%install +%{qt6_install} + +%if !%{qt6_docs_flavor} + +# CMake files are not needed for plugins +rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins +rm %{buildroot}%{_qt6_cmakedir}/*/*Plugin{Config,ConfigVersion,Targets*}.cmake + +%ldconfig_scriptlets -n libQt63DAnimation6 +%ldconfig_scriptlets -n libQt63DCore6 +%ldconfig_scriptlets -n libQt63DExtras6 +%ldconfig_scriptlets -n libQt63DInput6 +%ldconfig_scriptlets -n libQt63DLogic6 +%ldconfig_scriptlets -n libQt63DQuick6 +%ldconfig_scriptlets -n libQt63DQuickAnimation6 +%ldconfig_scriptlets -n libQt63DQuickExtras6 +%ldconfig_scriptlets -n libQt63DQuickInput6 +%ldconfig_scriptlets -n libQt63DQuickRender6 +%ldconfig_scriptlets -n libQt63DQuickScene2D6 +%ldconfig_scriptlets -n libQt63DRender6 + +%files devel +%doc meta_package + +%files private-devel +%doc meta_package + +%files -n libQt63DAnimation6 +%{_qt6_libdir}/libQt63DAnimation.so.* + +%files -n qt6-3danimation-devel +%{_qt6_cmakedir}/Qt63DAnimation/ +%{_qt6_descriptionsdir}/3DAnimation.json +%{_qt6_includedir}/Qt3DAnimation/ +%{_qt6_libdir}/libQt63DAnimation.prl +%{_qt6_libdir}/libQt63DAnimation.so +%{_qt6_metatypesdir}/qt63danimation_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3danimation.pri +%{_qt6_pkgconfigdir}/Qt63DAnimation.pc +%exclude %{_qt6_includedir}/Qt3DAnimation/%{real_version} + +%files -n qt6-3danimation-private-devel +%{_qt6_includedir}/Qt3DAnimation/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3danimation_private.pri + +%files -n libQt63DCore6 +%license LICENSES/* +%{_qt6_libdir}/libQt63DCore.so.* + +%files -n qt6-3dcore-devel +%dir %{_qt6_cmakedir}/Qt6 +%{_qt6_cmakedir}/Qt6/FindWrapQt3DAssimp.cmake +%{_qt6_cmakedir}/Qt63DCore/ +%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/Qt3DTestsConfig.cmake +%{_qt6_descriptionsdir}/3DCore.json +%{_qt6_includedir}/Qt3DCore/ +%{_qt6_libdir}/libQt63DCore.prl +%{_qt6_libdir}/libQt63DCore.so +%{_qt6_metatypesdir}/qt63dcore_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dcore.pri +%{_qt6_pkgconfigdir}/Qt63DCore.pc +%exclude %{_qt6_includedir}/Qt3DCore/%{real_version} + +%files -n qt6-3dcore-private-devel +%{_qt6_includedir}/Qt3DCore/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dcore_private.pri + +%files -n libQt63DExtras6 +%{_qt6_libdir}/libQt63DExtras.so.* + +%files -n qt6-3dextras-devel +%{_qt6_cmakedir}/Qt63DExtras/ +%{_qt6_descriptionsdir}/3DExtras.json +%{_qt6_includedir}/Qt3DExtras/ +%{_qt6_libdir}/libQt63DExtras.prl +%{_qt6_libdir}/libQt63DExtras.so +%{_qt6_metatypesdir}/qt63dextras_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dextras.pri +%{_qt6_pkgconfigdir}/Qt63DExtras.pc +%exclude %{_qt6_includedir}/Qt3DExtras/%{real_version} + +%files -n qt6-3dextras-private-devel +%{_qt6_includedir}/Qt3DExtras/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dextras_private.pri + +%files -n libQt63DInput6 +%{_qt6_libdir}/libQt63DInput.so.* + +%files -n qt6-3dinput-devel +%{_qt6_cmakedir}/Qt63DInput/ +%{_qt6_descriptionsdir}/3DInput.json +%{_qt6_includedir}/Qt3DInput/ +%{_qt6_libdir}/libQt63DInput.prl +%{_qt6_libdir}/libQt63DInput.so +%{_qt6_metatypesdir}/qt63dinput_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dinput.pri +%{_qt6_pkgconfigdir}/Qt63DInput.pc +%exclude %{_qt6_includedir}/Qt3DInput/%{real_version} + +%files -n qt6-3dinput-private-devel +%{_qt6_includedir}/Qt3DInput/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dinput_private.pri + +%files -n libQt63DLogic6 +%{_qt6_libdir}/libQt63DLogic.so.* + +%files -n qt6-3dlogic-devel +%{_qt6_cmakedir}/Qt63DLogic/ +%{_qt6_descriptionsdir}/3DLogic.json +%{_qt6_includedir}/Qt3DLogic/ +%{_qt6_libdir}/libQt63DLogic.prl +%{_qt6_libdir}/libQt63DLogic.so +%{_qt6_metatypesdir}/qt63dlogic_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dlogic.pri +%{_qt6_pkgconfigdir}/Qt63DLogic.pc +%exclude %{_qt6_includedir}/Qt3DLogic/%{real_version} + +%files -n qt6-3dlogic-private-devel +%{_qt6_includedir}/Qt3DLogic/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dlogic_private.pri + +%files -n libQt63DQuick6 +%{_qt6_libdir}/libQt63DQuick.so.* + +%files -n qt6-3dquick-devel +%{_qt6_cmakedir}/Qt63DQuick/ +%{_qt6_descriptionsdir}/3DQuick.json +%{_qt6_includedir}/Qt3DQuick/ +%{_qt6_libdir}/libQt63DQuick.prl +%{_qt6_libdir}/libQt63DQuick.so +%{_qt6_metatypesdir}/qt63dquick_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dquick.pri +%{_qt6_pkgconfigdir}/Qt63DQuick.pc +%exclude %{_qt6_includedir}/Qt3DQuick/%{real_version} + +%files -n qt6-3dquick-private-devel +%{_qt6_includedir}/Qt3DQuick/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dquick_private.pri + +%files -n libQt63DQuickAnimation6 +%{_qt6_libdir}/libQt63DQuickAnimation.so.* + +%files -n qt6-3dquickanimation-devel +%{_qt6_cmakedir}/Qt63DQuickAnimation/ +%{_qt6_descriptionsdir}/3DQuickAnimation.json +%{_qt6_includedir}/Qt3DQuickAnimation/ +%{_qt6_libdir}/libQt63DQuickAnimation.prl +%{_qt6_libdir}/libQt63DQuickAnimation.so +%{_qt6_metatypesdir}/qt63dquickanimation_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickanimation.pri +%{_qt6_pkgconfigdir}/Qt63DQuickAnimation.pc +%exclude %{_qt6_includedir}/Qt3DQuickAnimation/%{real_version} + +%files -n qt6-3dquickanimation-private-devel +%{_qt6_includedir}/Qt3DQuickAnimation/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickanimation_private.pri + +%files -n libQt63DQuickExtras6 +%{_qt6_libdir}/libQt63DQuickExtras.so.* + +%files -n qt6-3dquickextras-devel +%{_qt6_cmakedir}/Qt63DQuickExtras/ +%{_qt6_descriptionsdir}/3DQuickExtras.json +%{_qt6_includedir}/Qt3DQuickExtras/ +%{_qt6_libdir}/libQt63DQuickExtras.prl +%{_qt6_libdir}/libQt63DQuickExtras.so +%{_qt6_metatypesdir}/qt63dquickextras_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickextras.pri +%{_qt6_pkgconfigdir}/Qt63DQuickExtras.pc +%exclude %{_qt6_includedir}/Qt3DQuickExtras/%{real_version} + +%files -n qt6-3dquickextras-private-devel +%{_qt6_includedir}/Qt3DQuickExtras/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickextras_private.pri + +%files -n libQt63DQuickInput6 +%{_qt6_libdir}/libQt63DQuickInput.so.* + +%files -n qt6-3dquickinput-devel +%{_qt6_cmakedir}/Qt63DQuickInput/ +%{_qt6_descriptionsdir}/3DQuickInput.json +%{_qt6_includedir}/Qt3DQuickInput/ +%{_qt6_libdir}/libQt63DQuickInput.prl +%{_qt6_libdir}/libQt63DQuickInput.so +%{_qt6_metatypesdir}/qt63dquickinput_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickinput.pri +%{_qt6_pkgconfigdir}/Qt63DQuickInput.pc +%exclude %{_qt6_includedir}/Qt3DQuickInput/%{real_version} + +%files -n qt6-3dquickinput-private-devel +%{_qt6_includedir}/Qt3DQuickInput/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickinput_private.pri + +%files -n libQt63DQuickRender6 +%{_qt6_libdir}/libQt63DQuickRender.so.* + +%files -n qt6-3dquickrender-devel +%{_qt6_cmakedir}/Qt63DQuickRender/ +%{_qt6_descriptionsdir}/3DQuickRender.json +%{_qt6_includedir}/Qt3DQuickRender/ +%{_qt6_libdir}/libQt63DQuickRender.prl +%{_qt6_libdir}/libQt63DQuickRender.so +%{_qt6_metatypesdir}/qt63dquickrender_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickrender.pri +%{_qt6_pkgconfigdir}/Qt63DQuickRender.pc +%exclude %{_qt6_includedir}/Qt3DQuickRender/%{real_version} + +%files -n qt6-3dquickrender-private-devel +%{_qt6_includedir}/Qt3DQuickRender/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickrender_private.pri + +%files -n libQt63DQuickScene2D6 +%{_qt6_libdir}/libQt63DQuickScene2D.so.* +%{_qt6_pluginsdir}/renderplugins/ + +%files -n qt6-3dquickscene2d-devel +%{_qt6_cmakedir}/Qt63DQuickScene2D/ +%{_qt6_descriptionsdir}/3DQuickScene2D.json +%{_qt6_includedir}/Qt3DQuickScene2D/ +%{_qt6_libdir}/libQt63DQuickScene2D.prl +%{_qt6_libdir}/libQt63DQuickScene2D.so +%{_qt6_metatypesdir}/qt63dquickscene2d_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickscene2d.pri +%{_qt6_pkgconfigdir}/Qt63DQuickScene2D.pc +%exclude %{_qt6_includedir}/Qt3DQuickScene2D/%{real_version} + +%files -n qt6-3dquickscene2d-private-devel +%{_qt6_includedir}/Qt3DQuickScene2D/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3dquickscene2d_private.pri + +%files -n libQt63DRender6 +%{_qt6_libdir}/libQt63DRender.so.* +%{_qt6_pluginsdir}/geometryloaders/ +%{_qt6_pluginsdir}/sceneparsers/ +%{_qt6_pluginsdir}/renderers/ + +%files -n qt6-3drender-devel +%{_qt6_cmakedir}/Qt63DRender/ +%{_qt6_descriptionsdir}/3DRender.json +%{_qt6_includedir}/Qt3DRender/ +%{_qt6_libdir}/libQt63DRender.prl +%{_qt6_libdir}/libQt63DRender.so +%{_qt6_metatypesdir}/qt63drender_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_3drender.pri +%{_qt6_pkgconfigdir}/Qt63DRender.pc +%exclude %{_qt6_includedir}/Qt3DRender/%{real_version} + +%files -n qt6-3drender-private-devel +%{_qt6_includedir}/Qt3DRender/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_3drender_private.pri + +%files imports +%{_qt6_qmldir}/Qt3D/ +%{_qt6_qmldir}/QtQuick/ + +%endif + +%changelog