commit 6ab0c491ed4cdd20458a4dfc3cdedc7326664c46 Author: Adrian Schröter Date: Tue Dec 19 16:23:08 2023 +0100 Sync from SUSE:ALP:Source:Standard:1.0 qt6-quick3d revision 0c792d3b6840c1e89caf5b046ec07818 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/0001-Fix-some-depends-statements-in-QML-modules.patch b/0001-Fix-some-depends-statements-in-QML-modules.patch new file mode 100644 index 0000000..e0001b7 --- /dev/null +++ b/0001-Fix-some-depends-statements-in-QML-modules.patch @@ -0,0 +1,42 @@ +From 2b765ff271ccfe5fdc513fe3a36829f18e30e861 Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +Date: Thu, 23 Nov 2023 09:37:25 +0100 +Subject: [PATCH] Fix some depends statements in QML modules + +DEPENDENCIES refers to module identifiers, not CMake targets. + +Signed-off-by: Fabian Vogt +--- + src/helpers/impl/CMakeLists.txt | 2 +- + src/quick3dparticleeffects/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/helpers/impl/CMakeLists.txt b/src/helpers/impl/CMakeLists.txt +index 22c6f12ff..b3f773280 100644 +--- a/src/helpers/impl/CMakeLists.txt ++++ b/src/helpers/impl/CMakeLists.txt +@@ -9,7 +9,7 @@ qt_internal_add_qml_module(Quick3DHelpersImpl + NO_PLUGIN_OPTIONAL + DEPENDENCIES + QtQuick3D/auto +- Quick3DHelpers/auto ++ QtQuick3D.Helpers/auto + SOURCES + sceneeffects.cpp sceneeffects_p.h + qquick3drenderstatsmeshesmodel_p.h qquick3drenderstatsmeshesmodel.cpp +diff --git a/src/quick3dparticleeffects/CMakeLists.txt b/src/quick3dparticleeffects/CMakeLists.txt +index 61528cddb..120afe6c7 100644 +--- a/src/quick3dparticleeffects/CMakeLists.txt ++++ b/src/quick3dparticleeffects/CMakeLists.txt +@@ -13,7 +13,7 @@ qt_internal_add_qml_module(Quick3DParticleEffects + PLUGIN_TARGET qtquick3dparticleeffectsplugin + DEPENDENCIES + QtQuick3D/auto +- QtQuick3DParticles3D/auto ++ QtQuick3D.Particles3D/auto + NO_SYNC_QT + DEFINES + QT_BUILD_QUICK3DPARTICLEEFFECTS_LIB +-- +2.42.1 + diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..55fabed --- /dev/null +++ b/_constraints @@ -0,0 +1,32 @@ + + + + 5 + + + + + ppc64 + ppc64le + + + + 5 + + + + + + + qt6-quick3d:docs + + + + 2 + + + 2 + + + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..555043c --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + docs + + diff --git a/qt6-quick3d-rpmlintrc b/qt6-quick3d-rpmlintrc new file mode 100644 index 0000000..be24812 --- /dev/null +++ b/qt6-quick3d-rpmlintrc @@ -0,0 +1,2 @@ +# library and development package names don't match +addFilter("no-dependency-on .*") diff --git a/qt6-quick3d.changes b/qt6-quick3d.changes new file mode 100644 index 0000000..a7267f0 --- /dev/null +++ b/qt6-quick3d.changes @@ -0,0 +1,196 @@ +------------------------------------------------------------------- +Mon Nov 27 14:00:15 UTC 2023 - Christophe Marin + +- Update to 6.6.1: + * https://www.qt.io/blog/qt-6.6.1-released + +------------------------------------------------------------------- +Thu Nov 23 08:39:31 UTC 2023 - Fabian Vogt + +- Add patch to fix module dependencies: + * 0001-Fix-some-depends-statements-in-QML-modules.patch + +------------------------------------------------------------------- +Tue Oct 10 09:39:56 UTC 2023 - Christophe Marin + +- Update to 6.6.0 + * https://www.qt.io/blog/qt-6.6-released + +------------------------------------------------------------------- +Thu Sep 28 07:34:17 UTC 2023 - Christophe Marin + +- Update to 6.5.3 + * https://www.qt.io/blog/qt-6.5.3-released + +------------------------------------------------------------------- +Thu Jul 20 09:07:02 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:13 UTC 2023 - Christophe Marin + +- Update subpackages requirements + +------------------------------------------------------------------- +Wed May 24 07:45:40 UTC 2023 - Christophe Marin + +- Update to 6.5.1 + * https://www.qt.io/blog/qt-6.5.1-released + +------------------------------------------------------------------- +Mon Apr 3 10:02:27 UTC 2023 - Christophe Marin + +- Update to 6.5.0 + * https://www.qt.io/blog/qt-6.5-lts-released + +------------------------------------------------------------------- +Thu Mar 16 10:00:05 UTC 2023 - Christophe Marin + +- Update to 6.4.3: + * https://www.qt.io/blog/qt-6.4.3-released + +------------------------------------------------------------------- +Fri Jan 6 16:46:46 UTC 2023 - Christophe Marin + +- Update to 6.4.2: + * https://www.qt.io/blog/qt-6.4.2-released + +------------------------------------------------------------------- +Sat Nov 26 15:09:45 UTC 2022 - Christophe Giboudeaux + +- Fix the package version + +------------------------------------------------------------------- +Tue Nov 15 11:53:18 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.1: + * https://www.qt.io/blog/qt-6.4.1-released + +------------------------------------------------------------------- +Thu Sep 29 10:35:59 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0: + * https://www.qt.io/blog/qt-6.4-released + +------------------------------------------------------------------- +Fri Sep 16 08:29:14 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0 RC + +------------------------------------------------------------------- +Fri Sep 9 12:41:42 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.2: + * https://www.qt.io/blog/qt-6.3.2-released + +------------------------------------------------------------------- +Fri Jun 17 15:15:25 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.1: + * https://www.qt.io/blog/qt-6.3.1-released + +------------------------------------------------------------------- +Wed Apr 20 15:47:47 UTC 2022 - Christophe Giboudeaux + +- Fix the package version. + +------------------------------------------------------------------- +Fri Apr 8 11:56:57 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0: + * https://www.qt.io/blog/qt-6.3-released + +------------------------------------------------------------------- +Tue Mar 29 12:28:37 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0-rc + +------------------------------------------------------------------- +Mon Mar 21 08:46:41 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.4 + * https://www.qt.io/blog/qt-6.2.4-released + +------------------------------------------------------------------- +Sat Feb 5 12:18:14 UTC 2022 - Christophe Giboudeaux + +- Add qt6-quick3d back, now that it can build with system's assimp. + +------------------------------------------------------------------- +Wed Mar 31 15:41:26 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.3 + * https://www.qt.io/blog/qt-6.0.3-released + +------------------------------------------------------------------- +Fri Mar 5 09:31:25 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.2: + https://www.qt.io/blog/qt-6.0.2-released + +------------------------------------------------------------------- +Wed Feb 3 17:38:22 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.1 + https://www.qt.io/blog/qt-6.0.1-released + +------------------------------------------------------------------- +Wed Dec 30 15:53:16 UTC 2020 - Christophe Giboudeaux + +- Move the QML files into a separate package. + +------------------------------------------------------------------- +Wed Dec 16 14:18:58 UTC 2020 - Christophe Giboudeaux + +- Use a _service file to avoid getting unredistributable files + from the assimp submodule. + +------------------------------------------------------------------- +Wed Dec 16 11:26:09 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + +------------------------------------------------------------------- +Tue Dec 8 14:09:14 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0: + * https://www.qt.io/blog/qt-6.0-released + +------------------------------------------------------------------- +Wed Dec 2 12:09:01 UTC 2020 - Christophe Giboudeaux + +- Qt 6.0.0 RC2 + +------------------------------------------------------------------- +Wed Nov 25 14:22:21 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~rc1 + +------------------------------------------------------------------- +Tue Nov 17 07:26:25 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta5 + +------------------------------------------------------------------- +Tue Nov 10 21:22:09 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta4 + +------------------------------------------------------------------- +Tue Oct 20 07:47:11 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0beta1 + https://www.qt.io/blog/qt-6.0-beta-released + +------------------------------------------------------------------- +Tue Oct 6 20:21:10 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0-alpha + https://www.qt.io/blog/qt-6.0-alpha-released + +------------------------------------------------------------------- +Wed Sep 30 08:04:51 UTC 2020 - Christophe Giboudeaux + +- Init qt6-quick3d diff --git a/qt6-quick3d.spec b/qt6-quick3d.spec new file mode 100644 index 0000000..c87c431 --- /dev/null +++ b/qt6-quick3d.spec @@ -0,0 +1,680 @@ +# +# spec file for package qt6-quick3d +# +# 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 qtquick3d-everywhere-src +%define tar_suffix %{nil} +# +%global qt6_flavor @BUILD_FLAVOR@%{nil} +%if "%{qt6_flavor}" == "docs" +%define pkg_suffix -docs +%endif +# +Name: qt6-quick3d%{?pkg_suffix} +Version: 6.6.1 +Release: 0 +Summary: API for creating 3D content and 3D user interfaces based on Qt Quick +License: 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-quick3d-rpmlintrc +# PATCH-FIX-UPSTREAM +Patch1: 0001-Fix-some-depends-statements-in-QML-modules.patch +BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: qt6-core-private-devel +BuildRequires: qt6-gui-private-devel +BuildRequires: qt6-qml-private-devel +BuildRequires: qt6-quick-private-devel +BuildRequires: qt6-quicktimeline-private-devel +BuildRequires: qt6-shadertools-private-devel +BuildRequires: cmake(Qt6Concurrent) = %{real_version} +BuildRequires: cmake(Qt6Core) = %{real_version} +BuildRequires: cmake(Qt6Gui) = %{real_version} +BuildRequires: cmake(Qt6Network) = %{real_version} +BuildRequires: cmake(Qt6Qml) = %{real_version} +BuildRequires: cmake(Qt6Quick) = %{real_version} +# Only needed if QT_FEATURE_qml_debug is enabled +# BuildRequires: cmake(Qt6PacketProtocolPrivate) +BuildRequires: cmake(Qt6QuickTimeline) = %{real_version} +BuildRequires: cmake(Qt6ShaderTools) = %{real_version} +BuildRequires: cmake(Qt6Widgets) = %{real_version} +BuildRequires: cmake(assimp) >= 5.1.0 +BuildRequires: pkgconfig(zlib) +%if "%{qt6_flavor}" == "docs" +BuildRequires: qt6-tools +%{qt6_doc_packages} +%endif + +%description +Qt Quick 3D provides a high-level API for creating 3D content and 3D user +interfaces based on Qt Quick. + +%if !%{qt6_docs_flavor} + +%package -n libQt6Quick3D6 +Summary: Qt 6 Quick3D library + +%description -n libQt6Quick3D6 +The Qt 6 Quick3D library. + +%package devel +Summary: Qt 6 Quick3D library - Development files +Requires: libQt6Quick3D6 = %{version} +# Executables are required +Requires: qt6-quick3d +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} +Requires: cmake(Qt6Quick3DRuntimeRender) = %{real_version} + +%description devel +Development files for the Qt 6 Quick3D library. + +%package private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3D library +Requires: qt6-quick3druntimerender-private-devel = %{version} +Requires: cmake(Qt6Quick3D) = %{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 private-devel +This package provides private headers of libQt6Quick3D that do not have any +ABI or API guarantees. + +%package imports +Summary: Qt 6 Quick3D QML files and plugins + +%description imports +QML files and plugins from the Qt 6 Quick3D module + +%package -n libQt6Quick3DAssetImport6 +Summary: Qt 6 Quick3DAssetImport library + +%description -n libQt6Quick3DAssetImport6 +The Qt 6 Quick3DAssetImport library. + +%package -n qt6-quick3dassetimport-devel +Summary: Qt6 Quick3DAssetImport library - Development files +Requires: libQt6Quick3DAssetImport6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick3DUtils) = %{real_version} + +%description -n qt6-quick3dassetimport-devel +Development files for the Qt 6 Quick3DAssetImport library. + +%package -n qt6-quick3dassetimport-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DAssetImport library +Requires: qt6-quick3dutils-private-devel = %{version} +Requires: cmake(Qt6Quick3DAssetImport) = %{real_version} +%requires_eq qt6-core-private-devel + +%description -n qt6-quick3dassetimport-private-devel +This package provides private headers of libQt6Quick3DAssetImport that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DAssetUtils6 +Summary: Qt 6 Quick3DAssetUtils library + +%description -n libQt6Quick3DAssetUtils6 +The Qt 6 Quick3DAssetUtils library. + +%package -n qt6-quick3dassetutils-devel +Summary: Qt6 Quick3DAssetUtils library - Development files +Requires: libQt6Quick3DAssetUtils6 = %{version} +Requires: qt6-quick3d-private-devel = %{version} +Requires: qt6-quick3dassetimport-private-devel = %{version} +Requires: qt6-quick3druntimerender-private-devel = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} +Requires: cmake(Qt6Quick3D) = %{real_version} +Requires: cmake(Qt6Quick3DAssetImport) = %{real_version} +Requires: cmake(Qt6Quick3DRuntimeRender) = %{real_version} +Requires: cmake(Qt6QuickTimeline) = %{real_version} + +%description -n qt6-quick3dassetutils-devel +Development files for the Qt 6 Quick3DAssetUtils library. + +%package -n qt6-quick3dassetutils-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DAssetUtils library +Requires: qt6-quick3d-private-devel = %{version} +Requires: qt6-quick3dassetimport-private-devel = %{version} +Requires: qt6-quick3druntimerender-private-devel = %{version} +Requires: cmake(Qt6Quick3DAssetUtils) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel +%requires_eq qt6-quicktimeline-private-devel + +%description -n qt6-quick3dassetutils-private-devel +This package provides private headers of libQt6Quick3DAssetUtils that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DEffects6 +Summary: Qt 6 Quick3DEffects library + +%description -n libQt6Quick3DEffects6 +The Qt 6 Quick3DEffects library. + +%package -n qt6-quick3deffects-devel +Summary: Qt6 Quick3DEffects library - Development files +Requires: libQt6Quick3DEffects6 = %{version} +Requires: qt6-quick3d-private-devel = %{version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} + +%description -n qt6-quick3deffects-devel +Development files for the Qt 6 Quick3DEffects library. + +%package -n libQt6Quick3DHelpers6 +Summary: Qt 6 Quick3DHelpers library + +%description -n libQt6Quick3DHelpers6 +The Qt 6 Quick3DHelpers library. + +%package -n qt6-quick3dhelpers-devel +Summary: Qt6 Quick3DHelpers library - Development files +Requires: libQt6Quick3DHelpers6 = %{version} +Requires: qt6-quick3d-private-devel = %{version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} + +%description -n qt6-quick3dhelpers-devel +Development files for the Qt 6 Quick3DHelpers library. + +%package -n qt6-quick3dhelpers-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DHelpers library +Requires: cmake(Qt6Quick3DHelpers) = %{real_version} + +%description -n qt6-quick3dhelpers-private-devel +This package provides private headers of libQt6Quick3DHelpers that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DHelpersImpl6 +Summary: Qt 6 Quick3DHelpersImpl library + +%description -n libQt6Quick3DHelpersImpl6 +The Qt 6 Quick3DHelpersImpl library. + +%package -n qt6-quick3dhelpersimpl-devel +Summary: Qt6 Quick3DHelpersImpl library - Development files +Requires: libQt6Quick3DHelpersImpl6 = %{version} +Requires: qt6-quick3d-private-devel = %{version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} + +%description -n qt6-quick3dhelpersimpl-devel +Development files for the Qt 6 Quick3DHelpersImpl library. + +%package -n qt6-quick3dhelpersimpl-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DHelpersImpl library +Requires: cmake(Qt6Quick3DHelpersImpl) = %{real_version} + +%description -n qt6-quick3dhelpersimpl-private-devel +This package provides private headers of libQt6Quick3DHelpersImpl that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DIblBaker6 +Summary: Qt 6 Quick3DIblBaker library + +%description -n libQt6Quick3DIblBaker6 +The Qt 6 Quick3DIblBaker library. + +%package -n qt6-quick3diblbaker-devel +Summary: Qt6 Quick3DIblBaker library - Development files +Requires: libQt6Quick3DIblBaker6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} +Requires: cmake(Qt6Quick3DRuntimeRender) = %{real_version} + +%description -n qt6-quick3diblbaker-devel +Development files for the Qt 6 Quick3DIblBaker library. + +%package -n qt6-quick3diblbaker-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DIblBaker library +Requires: qt6-quick3druntimerender-private-devel = %{version} +Requires: cmake(Qt6Quick3DIblBaker) = %{real_version} +%requires_eq qt6-gui-private-devel + +%description -n qt6-quick3diblbaker-private-devel +This package provides private headers of libQt6Quick3DIblBaker that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DParticles6 +Summary: Qt 6 Quick3DParticles library + +%description -n libQt6Quick3DParticles6 +The Qt 6 Quick3DParticles library. + +%package -n qt6-quick3dparticles-devel +Summary: Qt6 Quick3DParticles library - Development files +Requires: libQt6Quick3DParticles6 = %{version} +Requires: cmake(Qt6Quick3DAssetImport) = %{real_version} +Requires: cmake(Qt6Quick3DRuntimeRender) = %{real_version} + +%description -n qt6-quick3dparticles-devel +Development files for the Qt 6 Quick3DParticles library. + +%package -n qt6-quick3dparticles-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DParticles library +Requires: qt6-quick3d-private-devel = %{version} +Requires: qt6-quick3dassetimport-private-devel = %{version} +Requires: qt6-quick3druntimerender-private-devel = %{version} +Requires: cmake(Qt6Quick3DParticles) = %{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-quick3dparticles-private-devel +This package provides private headers of libQt6Quick3DParticles that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DParticleEffects6 +Summary: Qt 6 Quick3DParticleEffects library + +%description -n libQt6Quick3DParticleEffects6 +The Qt 6 Quick3DParticleEffects library. + +%package -n qt6-quick3dparticleeffects-devel +Summary: Qt6 Quick3DParticleEffects library - Development files +Requires: libQt6Quick3DParticleEffects6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Qml) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} +Requires: cmake(Qt6Quick3D) = %{real_version} +Requires: cmake(Qt6Quick3DAssetImport) = %{real_version} +Requires: cmake(Qt6Quick3DRuntimeRender) = %{real_version} + +%description -n qt6-quick3dparticleeffects-devel +Development files for the Qt 6 Quick3DParticleEffects library. + +%package -n libQt6Quick3DRuntimeRender6 +Summary: Qt 6 Quick3DRuntimeRender library + +%description -n libQt6Quick3DRuntimeRender6 +The Qt 6 Quick3DRuntimeRender library. + +%package -n qt6-quick3druntimerender-devel +Summary: Qt6 Quick3DRuntimeRender library - Development files +Requires: libQt6Quick3DRuntimeRender6 = %{version} +Requires: cmake(Qt6Concurrent) = %{real_version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} +Requires: cmake(Qt6Quick3DUtils) = %{real_version} +Requires: cmake(Qt6ShaderTools) = %{real_version} + +%description -n qt6-quick3druntimerender-devel +Development files for the Qt 6 Quick3DRuntimeRender library. + +%package -n qt6-quick3druntimerender-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DRuntimeRender library +Requires: qt6-quick3dutils-private-devel = %{version} +Requires: cmake(Qt6Quick3DRuntimeRender) = %{real_version} +%requires_eq qt6-quick-private-devel +%requires_eq qt6-shadertools-private-devel + +%description -n qt6-quick3druntimerender-private-devel +This package provides private headers of libQt6Quick3DRuntimeRender that do not +have any ABI or API guarantees. + +%package -n libQt6Quick3DUtils6 +Summary: Qt 6 Quick3DUtils library + +%description -n libQt6Quick3DUtils6 +The Qt 6 Quick3DUtils library. + +%package -n qt6-quick3dutils-devel +Summary: Qt6 Quick3DUtils library - Development files +Requires: libQt6Quick3DUtils6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Quick) = %{real_version} + +%description -n qt6-quick3dutils-devel +Development files for the Qt 6 Quick3DUtils library. + +%package -n qt6-quick3dutils-private-devel +Summary: Non-ABI stable API for the Qt 6 Quick3DUtils library +Requires: cmake(Qt6Quick3DUtils) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel +%requires_eq qt6-quick-private-devel + +%description -n qt6-quick3dutils-private-devel +This package provides private headers of libQt6Quick3DUtils that do not have any +ABI or API guarantees. + + +### Private only library ### + +%package -n libQt6Quick3DGlslParser6 +Summary: Qt 6 Quick3DGlslParser library + +%description -n libQt6Quick3DGlslParser6 +The Qt 6 Quick3DGlslParser library. +This library does not have any ABI or API guarantees. + +%package -n qt6-quick3dglslparser-private-devel +Summary: Development files for the Qt 6 Quick3DGlslParser library +Requires: libQt6Quick3DGlslParser6 = %{version} +Requires: cmake(Qt6Core) = %{real_version} + +%description -n qt6-quick3dglslparser-private-devel +Development files for the Qt 6 Quick3DGlslParser library. +This library does not have any ABI or API guarantees. + +### Static libraries ### + +# Embree only supports x86_64 and arm64 +%ifarch x86_64 aarch64 +%package -n qt6-bundledembree-devel-static +Summary: Qt6 BundledEmbree static library +%requires_eq qt6-core-private-devel + +%description -n qt6-bundledembree-devel-static +The Qt6 BundledEmbree static library. +This library does not have any ABI or API guarantees. +%endif + +%{qt6_examples_package} + +%endif + +%prep +%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix} + +%build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects + +%cmake_qt6 \ + -DFEATURE_system_assimp=ON + +%{qt6_build} + +%install +%{qt6_install} + +%if !%{qt6_docs_flavor} + +%{qt6_link_executables} + +# CMake files are not needed for plugins +rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins +rm %{buildroot}%{_qt6_cmakedir}/*/*Plugin*.cmake + +# There's no private api +rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_quick3deffects_private.pri +rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_quick3dparticleeffects_private.pri + +%fdupes %{buildroot}%{_qt6_qmldir}/QtQuick3D + +%ldconfig_scriptlets -n libQt6Quick3D6 +%ldconfig_scriptlets -n libQt6Quick3DAssetImport6 +%ldconfig_scriptlets -n libQt6Quick3DAssetUtils6 +%ldconfig_scriptlets -n libQt6Quick3DEffects6 +%ldconfig_scriptlets -n libQt6Quick3DGlslParser6 +%ldconfig_scriptlets -n libQt6Quick3DHelpers6 +%ldconfig_scriptlets -n libQt6Quick3DHelpersImpl6 +%ldconfig_scriptlets -n libQt6Quick3DIblBaker6 +%ldconfig_scriptlets -n libQt6Quick3DParticleEffects6 +%ldconfig_scriptlets -n libQt6Quick3DParticles6 +%ldconfig_scriptlets -n libQt6Quick3DRuntimeRender6 +%ldconfig_scriptlets -n libQt6Quick3DUtils6 + +%files +# No better place to install these quick3d plugins +%dir %{_qt6_pluginsdir}/assetimporters +%{_bindir}/balsam6 +%{_bindir}/balsamui6 +%{_bindir}/instancer6 +%{_bindir}/materialeditor6 +%{_bindir}/meshdebug6 +%{_bindir}/shadergen6 +%{_bindir}/shapegen6 +%{_qt6_bindir}/balsam +%{_qt6_bindir}/balsamui +%{_qt6_bindir}/instancer +%{_qt6_bindir}/materialeditor +%{_qt6_bindir}/meshdebug +%{_qt6_bindir}/shadergen +%{_qt6_bindir}/shapegen +%{_qt6_pluginsdir}/assetimporters/libassimp.so + +%files imports +%{_qt6_qmldir}/QtQuick3D/ + +%files -n libQt6Quick3D6 +%license LICENSES/* +%{_qt6_libdir}/libQt6Quick3D.so.* + +%files devel +%{_qt6_cmakedir}/Qt6/FindWrapQuick3DAssimp.cmake +%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/QtQuick3DTestsConfig.cmake +%{_qt6_cmakedir}/Qt6Quick3D/ +# Only required by Qt6Quick3DDependencies.cmake +%{_qt6_cmakedir}/Qt6Quick3DTools/ +%{_qt6_descriptionsdir}/Quick3D.json +%{_qt6_includedir}/QtQuick3D/ +%{_qt6_libdir}/libQt6Quick3D.prl +%{_qt6_libdir}/libQt6Quick3D.so +%{_qt6_metatypesdir}/qt6quick3d_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3d.pri +%{_qt6_pkgconfigdir}/Qt6Quick3D.pc +%exclude %{_qt6_includedir}/QtQuick3D/%{real_version} + +%files private-devel +%{_qt6_includedir}/QtQuick3D/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3d_private.pri + +%files -n libQt6Quick3DAssetImport6 +%{_qt6_libdir}/libQt6Quick3DAssetImport.so.* + +%files -n qt6-quick3dassetimport-devel +%{_qt6_cmakedir}/Qt6Quick3DAssetImport/ +%{_qt6_descriptionsdir}/Quick3DAssetImport.json +%{_qt6_includedir}/QtQuick3DAssetImport/ +%{_qt6_libdir}/libQt6Quick3DAssetImport.prl +%{_qt6_libdir}/libQt6Quick3DAssetImport.so +%{_qt6_metatypesdir}/qt6quick3dassetimport_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dassetimport.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DAssetImport.pc +%exclude %{_qt6_includedir}/QtQuick3DAssetImport/%{real_version} + +%files -n qt6-quick3dassetimport-private-devel +%{_qt6_includedir}/QtQuick3DAssetImport/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dassetimport_private.pri + +%files -n libQt6Quick3DAssetUtils6 +%{_qt6_libdir}/libQt6Quick3DAssetUtils.so.* + +%files -n qt6-quick3dassetutils-devel +%{_qt6_cmakedir}/Qt6Quick3DAssetUtils/ +%{_qt6_descriptionsdir}/Quick3DAssetUtils.json +%{_qt6_includedir}/QtQuick3DAssetUtils/ +%{_qt6_libdir}/libQt6Quick3DAssetUtils.prl +%{_qt6_libdir}/libQt6Quick3DAssetUtils.so +%{_qt6_metatypesdir}/qt6quick3dassetutils_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dassetutils.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DAssetUtils.pc +%exclude %{_qt6_includedir}/QtQuick3DAssetUtils/%{real_version} + +%files -n qt6-quick3dassetutils-private-devel +%{_qt6_includedir}/QtQuick3DAssetUtils/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dassetutils_private.pri + +%files -n libQt6Quick3DEffects6 +%{_qt6_libdir}/libQt6Quick3DEffects.so.* + +%files -n qt6-quick3deffects-devel +%{_qt6_cmakedir}/Qt6Quick3DEffects/ +%{_qt6_descriptionsdir}/Quick3DEffects.json +%{_qt6_libdir}/libQt6Quick3DEffects.prl +%{_qt6_libdir}/libQt6Quick3DEffects.so +%{_qt6_metatypesdir}/qt6quick3deffects_*_metatypes.json +%{_qt6_pkgconfigdir}/Qt6Quick3DEffects.pc +%{_qt6_mkspecsdir}/modules/qt_lib_quick3deffects.pri + +%files -n libQt6Quick3DHelpers6 +%{_qt6_libdir}/libQt6Quick3DHelpers.so.* + +%files -n qt6-quick3dhelpers-devel +%{_qt6_cmakedir}/Qt6Quick3DHelpers/ +%{_qt6_descriptionsdir}/Quick3DHelpers.json +%{_qt6_includedir}/QtQuick3DHelpers/ +%{_qt6_libdir}/libQt6Quick3DHelpers.prl +%{_qt6_libdir}/libQt6Quick3DHelpers.so +%{_qt6_metatypesdir}/qt6quick3dhelpers_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dhelpers.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DHelpers.pc +%exclude %{_qt6_includedir}/QtQuick3DHelpers/%{real_version} + +%files -n qt6-quick3dhelpers-private-devel +%{_qt6_includedir}/QtQuick3DHelpers/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dhelpers_private.pri + +%files -n libQt6Quick3DHelpersImpl6 +%{_qt6_libdir}/libQt6Quick3DHelpersImpl.so.* + +%files -n qt6-quick3dhelpersimpl-devel +%{_qt6_cmakedir}/Qt6Quick3DHelpersImpl/ +%{_qt6_descriptionsdir}/Quick3DHelpersImpl.json +%{_qt6_includedir}/QtQuick3DHelpersImpl/ +%{_qt6_libdir}/libQt6Quick3DHelpersImpl.prl +%{_qt6_libdir}/libQt6Quick3DHelpersImpl.so +%{_qt6_metatypesdir}/qt6quick3dhelpersimpl_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dhelpersimpl.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DHelpersImpl.pc +%exclude %{_qt6_includedir}/QtQuick3DHelpersImpl/%{real_version} + +%files -n qt6-quick3dhelpersimpl-private-devel +%{_qt6_includedir}/QtQuick3DHelpersImpl/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dhelpersimpl_private.pri + +%files -n libQt6Quick3DIblBaker6 +%{_qt6_libdir}/libQt6Quick3DIblBaker.so.* + +%files -n qt6-quick3diblbaker-devel +%{_qt6_cmakedir}/Qt6Quick3DIblBaker/ +%{_qt6_descriptionsdir}/Quick3DIblBaker.json +%{_qt6_includedir}/QtQuick3DIblBaker/ +%{_qt6_libdir}/libQt6Quick3DIblBaker.prl +%{_qt6_libdir}/libQt6Quick3DIblBaker.so +%{_qt6_metatypesdir}/qt6quick3diblbaker_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3diblbaker.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DIblBaker.pc +%exclude %{_qt6_includedir}/QtQuick3DIblBaker/%{real_version} + +%files -n qt6-quick3diblbaker-private-devel +%{_qt6_includedir}/QtQuick3DIblBaker/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3diblbaker_private.pri + +%files -n libQt6Quick3DParticles6 +%{_qt6_libdir}/libQt6Quick3DParticles.so.* + +%files -n qt6-quick3dparticles-devel +%{_qt6_cmakedir}/Qt6Quick3DParticles/ +%{_qt6_descriptionsdir}/Quick3DParticles.json +%{_qt6_includedir}/QtQuick3DParticles/ +%{_qt6_libdir}/libQt6Quick3DParticles.prl +%{_qt6_libdir}/libQt6Quick3DParticles.so +%{_qt6_metatypesdir}/qt6quick3dparticles_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dparticles.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DParticles.pc +%exclude %{_qt6_includedir}/QtQuick3DParticles/%{real_version} + +%files -n qt6-quick3dparticles-private-devel +%{_qt6_includedir}/QtQuick3DParticles/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dparticles_private.pri + +%files -n libQt6Quick3DParticleEffects6 +%{_qt6_libdir}/libQt6Quick3DParticleEffects.so.* + +%files -n qt6-quick3dparticleeffects-devel +%{_qt6_cmakedir}/Qt6Quick3DParticleEffects/ +%{_qt6_descriptionsdir}/Quick3DParticleEffects.json +%{_qt6_libdir}/libQt6Quick3DParticleEffects.prl +%{_qt6_libdir}/libQt6Quick3DParticleEffects.so +%{_qt6_metatypesdir}/qt6quick3dparticleeffects_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dparticleeffects.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DParticleEffects.pc + +%files -n libQt6Quick3DRuntimeRender6 +%{_qt6_libdir}/libQt6Quick3DRuntimeRender.so.* + +%files -n qt6-quick3druntimerender-devel +%{_qt6_cmakedir}/Qt6Quick3DRuntimeRender/ +%{_qt6_descriptionsdir}/Quick3DRuntimeRender.json +%{_qt6_includedir}/QtQuick3DRuntimeRender/ +%{_qt6_libdir}/libQt6Quick3DRuntimeRender.prl +%{_qt6_libdir}/libQt6Quick3DRuntimeRender.so +%{_qt6_metatypesdir}/qt6quick3druntimerender_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3druntimerender.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DRuntimeRender.pc +%exclude %{_qt6_includedir}/QtQuick3DRuntimeRender/%{real_version} + +%files -n qt6-quick3druntimerender-private-devel +%{_qt6_includedir}/QtQuick3DRuntimeRender/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3druntimerender_private.pri + +%files -n libQt6Quick3DUtils6 +%{_qt6_libdir}/libQt6Quick3DUtils.so.* + +%files -n qt6-quick3dutils-devel +%{_qt6_cmakedir}/Qt6Quick3DUtils/ +%{_qt6_descriptionsdir}/Quick3DUtils.json +%{_qt6_includedir}/QtQuick3DUtils/ +%{_qt6_libdir}/libQt6Quick3DUtils.prl +%{_qt6_libdir}/libQt6Quick3DUtils.so +%{_qt6_metatypesdir}/qt6quick3dutils_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dutils.pri +%{_qt6_pkgconfigdir}/Qt6Quick3DUtils.pc +%exclude %{_qt6_includedir}/QtQuick3DUtils/%{real_version} + +%files -n qt6-quick3dutils-private-devel +%{_qt6_includedir}/QtQuick3DUtils/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dutils_private.pri + +### Private only library ### + +%files -n libQt6Quick3DGlslParser6 +%{_qt6_libdir}/libQt6Quick3DGlslParser.so.* + +%files -n qt6-quick3dglslparser-private-devel +%{_qt6_cmakedir}/Qt6Quick3DGlslParserPrivate/ +%{_qt6_descriptionsdir}/Quick3DGlslParserPrivate.json +%{_qt6_includedir}/QtQuick3DGlslParser/ +%{_qt6_libdir}/libQt6Quick3DGlslParser.prl +%{_qt6_libdir}/libQt6Quick3DGlslParser.so +%{_qt6_metatypesdir}/qt6quick3dglslparserprivate_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_quick3dglslparser_private.pri + +### Static libraries ### + +%ifarch x86_64 aarch64 +%files -n qt6-bundledembree-devel-static +%{_qt6_cmakedir}/Qt6/FindWrapBundledEmbreeConfigExtra.cmake +%{_qt6_cmakedir}/Qt6BundledEmbree/ +%{_qt6_libdir}/libQt6BundledEmbree.a +%endif + +%endif + +%changelog diff --git a/qtquick3d-everywhere-src-6.6.1.tar.xz b/qtquick3d-everywhere-src-6.6.1.tar.xz new file mode 100644 index 0000000..27a19bb --- /dev/null +++ b/qtquick3d-everywhere-src-6.6.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151500ee2223d61b5f83a3a033323812a5438eef9703546f6dbb837db8ce8422 +size 59170016