commit 45ed78fa13c1966a4b4bd73d4e307c2a9b69f4e3604562e25e200420cba2a16d Author: Dominique Leuenberger Date: Thu May 19 10:14:07 2016 +0000 Accepting request 379797 from KDE:Qt5 Update to 5.6.0 OBS-URL: https://build.opensuse.org/request/show/379797 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qt3d?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..983894e --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,7 @@ +libQt53DCore5 +libQt53DInput5 +libQt53DQuick5 +libQt53DQuickRender5 +libQt53DRender5 +libQt53DQuickInput5 +libQt53DLogic5 diff --git a/libqt5-qt3d.changes b/libqt5-qt3d.changes new file mode 100644 index 0000000..1b9f3d9 --- /dev/null +++ b/libqt5-qt3d.changes @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Fri Mar 18 19:02:58 UTC 2016 - hrvoje.senjan@gmail.com + +- Update to 5.6.0 + * For more details please see: + http://blog.qt.io/blog/2016/03/16/qt-5-6-released/ + and https://wiki.qt.io/New_Features_in_Qt_5.6 + +------------------------------------------------------------------- +Fri Oct 16 20:22:26 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.5.1 + * For more details please see: + http://blog.qt.io/blog/2015/10/15/qt-5-5-1-released/ + +------------------------------------------------------------------- +Sat Aug 22 19:10:16 UTC 2015 - hrvoje.senjan@gmail.com + +- Activate package + diff --git a/libqt5-qt3d.spec b/libqt5-qt3d.spec new file mode 100644 index 0000000..d5e3327 --- /dev/null +++ b/libqt5-qt3d.spec @@ -0,0 +1,466 @@ +# +# spec file for package libqt5-qt3d +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define qt5_snapshot 0 + +%define libname libQt53DCore5 + +Name: libqt5-qt3d +Version: 5.6.0 +Release: 0 +Summary: Qt 5 3D Addon +License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0 +Group: Development/Libraries/X11 +Url: http://qt.digia.com +%define base_name libqt5 +%define real_version 5.6.0 +%define so_version 5.6.0 +%define tar_version qt3d-opensource-src-%{real_version} +Source: %{tar_version}.tar.xz +Source1: baselibs.conf +BuildRequires: fdupes +BuildRequires: libQt5Bootstrap-devel-static >= %{version} +BuildRequires: libQt5Concurrent-devel >= %{version} +BuildRequires: libQt5Core-private-headers-devel >= %{version} +BuildRequires: libQt5Gui-private-headers-devel >= %{version} +BuildRequires: libQt5OpenGLExtensions-devel-static >= %{version} +BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version} +BuildRequires: pkgconfig(zlib) + +%if %qt5_snapshot +#to create the forwarding headers +BuildRequires: perl +%endif +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%prep +%setup -q -n qt3d-opensource-src-%{real_version} + +%package -n %libname +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +%requires_ge libQt5Core5 +# Removed in Qt3D 5.6 +Provides: libQt53dCollision5 = %{version} +Obsoletes: libQt53dCollision5 < %{version} + +%description -n %libname +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package -n libQt53DInput5 +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +%requires_ge libQt5Core5 + +%description -n libQt53DInput5 +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package -n libQt53DQuick5 +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +%requires_ge libQt5Core5 + +%description -n libQt53DQuick5 +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package -n libQt53DQuickRender5 +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +Provides: libQt53DQuickRenderer5 = %{version} +Obsoletes: libQt53DQuickRenderer5 < %{version} +%requires_ge libQt5Core5 + +%description -n libQt53DQuickRender5 +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package -n libQt53DRender5 +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +Provides: libQt53DRenderer5 = %{version} +Obsoletes: libQt53DRenderer5 < %{version} +%requires_ge libQt5Core5 + +%description -n libQt53DRender5 +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package -n libQt53DQuickInput5 +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +%requires_ge libQt5Core5 + +%description -n libQt53DQuickInput5 +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package -n libQt53DLogic5 +Summary: Qt 5 3D Addon +Group: Development/Libraries/X11 +%requires_ge libQt5Core5 + +%description -n libQt53DLogic5 +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package imports +Summary: Qt 5 3D Library - QML imports +Group: Development/Libraries/X11 +Supplements: packageand(%{libname}:libQtQuick5) +%requires_ge libQtQuick5 + +%description imports +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + +%package examples +Summary: Qt5 3D examples +Group: Development/Libraries/X11 +Recommends: %{name}-devel + +%description examples +Examples for libqt5-qt3d module. + +%package tools +Summary: Qt5 3D tools +Group: Development/Libraries/X11 +Recommends: %{name}-devel + +%description tools +Tools for libqt5-qt3d module. + +%package -n libQt53DCore-devel +Summary: Qt 5 Core 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DCore5 = %{version} + +%description -n libQt53DCore-devel +The Qt 5 Core 3D library - development files. + +%package -n libQt53DInput-devel +Summary: Qt 5 Input 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DInput5 = %{version} + +%description -n libQt53DInput-devel +The Qt 5 Input 3D library - development files. + +%package -n libQt53DQuick-devel +Summary: Qt 5 Quick 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DQuick5 = %{version} + +%description -n libQt53DQuick-devel +The Qt 5 Quick 3D library - development files. + +%package -n libQt53DQuickRender-devel +Summary: Qt 5 QuickRenderer 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DQuickRender5 = %{version} +Provides: libQt53DQuickRenderer-devel = %{version} +Obsoletes: libQt53DQuickRenderer-devel < %{version} + +%description -n libQt53DQuickRender-devel +The Qt 5 QuickRenderer 3D library - development files. + +%package -n libQt53DRender-devel +Summary: Qt 5 Renderer 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DRender5 = %{version} +Provides: libQt53DRenderer-devel = %{version} +Obsoletes: libQt53DRenderer-devel < %{version} + +%description -n libQt53DRender-devel +The Qt 5 Renderer 3D library - development files. + +%package -n libQt53DQuickInput-devel +Summary: Qt 5 QuickInput 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DQuickInput5 = %{version} + +%description -n libQt53DQuickInput-devel +The Qt 5 Quick Input 3D library - development files. + +%package -n libQt53DLogic-devel +Summary: Qt 5 Logic 3D Library - development files +Group: Development/Libraries/X11 +Requires: libQt53DLogic5 = %{version} + +%description -n libQt53DLogic-devel +The Qt 5 Logic 3D library - development files. + +%package devel +Summary: Qt Development Kit +Group: Development/Libraries/X11 +Requires: libQt53DCore-devel = %{version} +Requires: libQt53DInput-devel = %{version} +Requires: libQt53DLogic-devel = %{version} +Requires: libQt53DQuick-devel = %{version} +Requires: libQt53DQuickInput-devel = %{version} +Requires: libQt53DQuickRender-devel = %{version} +Requires: libQt53DRender-devel = %{version} +# Removed in Qt3D 5.6 +Provides: libQt53dCollision-devel = %{version} +Obsoletes: libQt53dCollision-devel < %{version} + +%description devel +You need this package, if you want to compile programs with qt3d. + +%package private-headers-devel +Summary: Non-ABI stable experimental API +Group: Development/Libraries/C and C++ +BuildArch: noarch +Requires: %{name}-devel = %{version} +Requires: libQt5Core-private-headers-devel >= %{version} +Requires: libQt5Core-private-headers-devel >= %{version} +Requires: libQt5Gui-private-headers-devel >= %{version} +Requires: libQt5OpenGLExtensions-devel-static >= %{version} +Requires: libqt5-qtdeclarative-private-headers-devel >= %{version} + +%description private-headers-devel +This package provides private headers of libqt5-qt3d that are normally +not used by application development and that do not have any ABI or +API guarantees. The packages that build against these have to require +the exact Qt version. + +%post -n %libname -p /sbin/ldconfig + +%postun -n %libname -p /sbin/ldconfig + +%post -n libQt53DInput5 -p /sbin/ldconfig + +%postun -n libQt53DInput5 -p /sbin/ldconfig + +%post -n libQt53DQuick5 -p /sbin/ldconfig + +%postun -n libQt53DQuick5 -p /sbin/ldconfig + +%post -n libQt53DQuickRender5 -p /sbin/ldconfig + +%postun -n libQt53DQuickRender5 -p /sbin/ldconfig + +%post -n libQt53DRender5 -p /sbin/ldconfig + +%postun -n libQt53DRender5 -p /sbin/ldconfig + +%post -n libQt53DQuickInput5 -p /sbin/ldconfig + +%postun -n libQt53DQuickInput5 -p /sbin/ldconfig + +%post -n libQt53DLogic5 -p /sbin/ldconfig + +%postun -n libQt53DLogic5 -p /sbin/ldconfig + +%build +%if %qt5_snapshot +#force the configure script to generate the forwarding headers (it checks whether .git directory exists) +mkdir .git +%endif +%qmake5 +%make_jobs + +%install +%qmake5_install + +# kill .la files +rm -f %{buildroot}%{_libqt5_libdir}/lib*.la + +%fdupes %{buildroot} +# put all the binaries to %%_bindir and symlink them back to %%_qt5_bindir +mkdir -p %{buildroot}%{_bindir} +pushd %{buildroot}%{_libqt5_bindir} +for i in * ; do + mv $i ../../../bin/ + ln -s ../../../bin/$i . +done +popd + +%files -n %libname +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DCore.so.* + +%files -n libQt53DInput5 +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DInput.so.* + +%files -n libQt53DQuick5 +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DQuick.so.* + +%files -n libQt53DQuickRender5 +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DQuickRender.so.* + +%files -n libQt53DRender5 +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DRender.so.* +%dir %{_libqt5_libdir}/qt5/plugins/sceneparsers +%{_libqt5_libdir}/qt5/plugins/sceneparsers/libgltfsceneparser.so +%{_libqt5_libdir}/qt5/plugins/sceneparsers/libassimpsceneparser.so + +%files -n libQt53DQuickInput5 +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DQuickInput.so.* + +%files -n libQt53DLogic5 +%defattr(-,root,root,755) +%{_libqt5_libdir}/libQt53DLogic.so.* +%doc LICENSE.* + +%files imports +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_archdatadir}/qml/*/ + +%files tools +%defattr(-,root,root,755) +%doc LICENSE.* +%{_bindir}/qgltf +%{_libqt5_bindir}/qgltf + +%files examples +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_examplesdir}/ + +%files -n libQt53DCore-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DCore.so +%{_libqt5_libdir}/libQt53DCore.prl +%{_libqt5_libdir}/cmake/Qt53DCore/ +%{_libqt5_libdir}/pkgconfig/Qt53DCore.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dcore.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dcore_private.pri +%{_libqt5_includedir}/Qt3DCore/ +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files -n libQt53DInput-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DInput.so +%{_libqt5_libdir}/libQt53DInput.prl +%{_libqt5_libdir}/cmake/Qt53DInput/ +%{_libqt5_libdir}/pkgconfig/Qt53DInput.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dinput.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dinput_private.pri +%{_libqt5_includedir}/Qt3DInput/ +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files -n libQt53DQuick-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DQuick.so +%{_libqt5_libdir}/libQt53DQuick.prl +%{_libqt5_libdir}/cmake/Qt53DQuick/ +%{_libqt5_libdir}/pkgconfig/Qt53DQuick.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dquick.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dquick_private.pri +%{_libqt5_includedir}/Qt3DQuick/ +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files -n libQt53DQuickRender-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_includedir}/Qt3DQuickRender/ +%{_libqt5_libdir}/cmake/Qt53DQuickRender/ +%{_libqt5_libdir}/libQt53DQuickRender.so +%{_libqt5_libdir}/libQt53DQuickRender.prl +%{_libqt5_libdir}/pkgconfig/Qt53DQuickRender.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dquickrender.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dquickrender_private.pri +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files -n libQt53DQuickInput-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_includedir}/Qt3DQuickInput/ +%{_libqt5_libdir}/libQt53DQuickInput.so +%{_libqt5_libdir}/libQt53DQuickInput.prl +%{_libqt5_libdir}/cmake/Qt53DQuickInput/ +%{_libqt5_libdir}/pkgconfig/Qt53DQuickInput.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dquickinput_private.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dquickinput.pri +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files -n libQt53DRender-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_includedir}/Qt3DRender/ +%{_libqt5_libdir}/cmake/Qt53DRender/ +%{_libqt5_libdir}/libQt53DRender.so +%{_libqt5_libdir}/libQt53DRender.prl +%{_libqt5_libdir}/pkgconfig/Qt53DRender.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3drender_private.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3drender.pri +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files -n libQt53DLogic-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_libdir}/libQt53DLogic.so +%{_libqt5_libdir}/libQt53DLogic.prl +%{_libqt5_libdir}/cmake/Qt53DLogic/ +%{_libqt5_libdir}/pkgconfig/Qt53DLogic.pc +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dlogic.pri +%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_3dlogic_private.pri +%{_libqt5_includedir}/Qt3DLogic/ +%exclude %{_libqt5_includedir}/Qt*/%{so_version}/ + +%files private-headers-devel +%defattr(-,root,root,755) +%doc LICENSE.* +%{_libqt5_includedir}/Qt*/%{so_version}/ + +%files devel +%defattr(-,root,root,755) +%doc LICENSE.* + +%changelog diff --git a/qt3d-opensource-src-5.6.0.tar.xz b/qt3d-opensource-src-5.6.0.tar.xz new file mode 100644 index 0000000..c36db68 --- /dev/null +++ b/qt3d-opensource-src-5.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b961789daecebed030ad36568301d1fe6c1ad97e9a2726fad5bd96ad603f439d +size 19907260