|
|
0d76d3 |
%global qt_module qt3d
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%define docs 1
|
|
|
0d76d3 |
|
|
|
0d76d3 |
#define prerelease
|
|
|
0d76d3 |
|
|
|
0d76d3 |
Summary: Qt5 - Qt3D QML bindings and C++ APIs
|
|
|
0d76d3 |
Name: qt5-%{qt_module}
|
|
|
0d76d3 |
Version: 5.9.2
|
|
|
0d76d3 |
Release: 1%{?dist}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
|
|
0d76d3 |
# See also http://doc.qt.io/qt-5/licensing.html
|
|
|
0d76d3 |
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
0d76d3 |
Url: http://www.qt.io
|
|
|
0d76d3 |
Source0: http://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
0d76d3 |
|
|
|
0d76d3 |
# namespace on big endian platforms
|
|
|
0d76d3 |
Patch0: qt3d-namespace-big-endian.patch
|
|
|
0d76d3 |
Patch1: qt3d-fix-build-on-secondary-arches.patch
|
|
|
0d76d3 |
|
|
|
0d76d3 |
BuildRequires: cmake
|
|
|
0d76d3 |
BuildRequires: qt5-qtbase-static >= %{version}
|
|
|
0d76d3 |
BuildRequires: qt5-qtdeclarative-devel
|
|
|
0d76d3 |
BuildRequires: qt5-qtimageformats
|
|
|
0d76d3 |
BuildRequires: qt5-qtxmlpatterns-devel
|
|
|
0d76d3 |
|
|
|
0d76d3 |
Requires: qt5-qtimageformats%{?_isa} >= %{version}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%description
|
|
|
0d76d3 |
Qt 3D provides functionality for near-realtime simulation systems with
|
|
|
0d76d3 |
support for 2D and 3D rendering in both Qt C++ and Qt Quick applications).
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%package devel
|
|
|
0d76d3 |
Summary: Development files for %{name}
|
|
|
0d76d3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
0d76d3 |
Requires: qt5-qtbase-devel%{?_isa}
|
|
|
0d76d3 |
%description devel
|
|
|
0d76d3 |
%{summary}.
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%if 0%{?docs}
|
|
|
0d76d3 |
%package doc
|
|
|
0d76d3 |
Summary: API documentation for %{name}
|
|
|
0d76d3 |
License: GFDL
|
|
|
0d76d3 |
Requires: %{name} = %{version}-%{release}
|
|
|
0d76d3 |
BuildRequires: qt5-qdoc
|
|
|
0d76d3 |
BuildRequires: qt5-qhelpgenerator
|
|
|
0d76d3 |
BuildArch: noarch
|
|
|
0d76d3 |
%description doc
|
|
|
0d76d3 |
%{summary}.
|
|
|
0d76d3 |
%endif
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%package examples
|
|
|
0d76d3 |
Summary: Programming examples for %{name}
|
|
|
0d76d3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
0d76d3 |
%description examples
|
|
|
0d76d3 |
%{summary}.
|
|
|
0d76d3 |
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%prep
|
|
|
0d76d3 |
%setup -q -n %{qt_module}-opensource-src-%{version}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%patch0 -p1 -b .namespace-big-endian
|
|
|
0d76d3 |
%patch1 -p1 -b .fix-build-on-secondary-arches
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%build
|
|
|
0d76d3 |
%{qmake_qt5}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
make %{?_smp_mflags}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%if 0%{?docs}
|
|
|
0d76d3 |
# HACK to avoid multilib conflicts in noarch content
|
|
|
0d76d3 |
# see also https://bugreports.qt-project.org/browse/QTBUG-42071
|
|
|
0d76d3 |
QT_HASH_SEED=0; export QT_HASH_SEED
|
|
|
0d76d3 |
make %{?_smp_mflags} docs
|
|
|
0d76d3 |
%endif
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%install
|
|
|
0d76d3 |
make install INSTALL_ROOT=%{buildroot}
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%if 0%{?docs}
|
|
|
0d76d3 |
make install_docs INSTALL_ROOT=%{buildroot}
|
|
|
0d76d3 |
%endif
|
|
|
0d76d3 |
|
|
|
0d76d3 |
## .prl/.la file love
|
|
|
0d76d3 |
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
|
|
0d76d3 |
pushd %{buildroot}%{_qt5_libdir}
|
|
|
0d76d3 |
for prl_file in libQt5*.prl ; do
|
|
|
0d76d3 |
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
|
|
0d76d3 |
if [ -f "$(basename ${prl_file} .prl).so" ]; then
|
|
|
0d76d3 |
rm -fv "$(basename ${prl_file} .prl).la"
|
|
|
0d76d3 |
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
|
|
0d76d3 |
fi
|
|
|
0d76d3 |
done
|
|
|
0d76d3 |
popd
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%post -p /sbin/ldconfig
|
|
|
0d76d3 |
%postun -p /sbin/ldconfig
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%files
|
|
|
0d76d3 |
%license LICENSE.GPL* LICENSE.LGPL*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuick.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DInput.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickRender.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DRender.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DCore.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DLogic.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickInput.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DExtras.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DAnimation.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickAnimation.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickScene2D.so.5*
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickExtras.so.5*
|
|
|
0d76d3 |
%{_qt5_qmldir}/Qt3D/
|
|
|
0d76d3 |
%{_qt5_qmldir}/QtQuick/Scene3D/
|
|
|
0d76d3 |
%{_qt5_qmldir}/QtQuick/Scene2D/
|
|
|
0d76d3 |
%{_qt5_plugindir}/sceneparsers/
|
|
|
0d76d3 |
%{_qt5_plugindir}/renderplugins/
|
|
|
0d76d3 |
%{_qt5_plugindir}/geometryloaders/
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%files devel
|
|
|
0d76d3 |
%{_qt5_bindir}/qgltf
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuick.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuick.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DQuick
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DQuick
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DQuick.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DInput.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DInput.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DInput
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DInput/
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DInput.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DCore.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DCore.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DCore/
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DCore/
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DCore.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickRender.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickRender.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DQuickRender/
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DQuickRender/
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DQuickRender.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DRender.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DRender.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DRender/
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DRender/
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DRender.pc
|
|
|
0d76d3 |
%{_qt5_archdatadir}/mkspecs/modules/*.pri
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DLogic.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DLogic.prl
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DLogic/
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DLogic
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DLogic.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickInput.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickInput.prl
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DQuickInput/
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DQuickInput
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DQuickInput.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DExtras.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DExtras.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DExtras
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DExtras
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DExtras.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickExtras.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickExtras.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DQuickExtras
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DQuickExtras
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DQuickExtras.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DAnimation.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DAnimation.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DAnimation
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DAnimation
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DAnimation.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickAnimation.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickAnimation.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DQuickAnimation
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DQuickAnimation
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DQuickAnimation.pc
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickScene2D.so
|
|
|
0d76d3 |
%{_qt5_libdir}/libQt53DQuickScene2D.prl
|
|
|
0d76d3 |
%{_qt5_libdir}/cmake/Qt53DQuickScene2D
|
|
|
0d76d3 |
%{_qt5_includedir}/Qt3DQuickScene2D
|
|
|
0d76d3 |
%{_qt5_libdir}/pkgconfig/Qt53DQuickScene2D.pc
|
|
|
0d76d3 |
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%if 0%{?docs}
|
|
|
0d76d3 |
%files doc
|
|
|
0d76d3 |
%{_qt5_docdir}/*
|
|
|
0d76d3 |
%endif
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%if 0%{?_qt5_examplesdir:1}
|
|
|
0d76d3 |
%files examples
|
|
|
0d76d3 |
%{_qt5_examplesdir}/
|
|
|
0d76d3 |
%endif
|
|
|
0d76d3 |
|
|
|
0d76d3 |
|
|
|
0d76d3 |
%changelog
|
|
|
0d76d3 |
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
|
|
|
0d76d3 |
- Update to 5.9.2
|
|
|
0d76d3 |
Resolves: bz#1482774
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Mon Aug 28 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
|
|
|
0d76d3 |
- Update to 5.9.1
|
|
|
0d76d3 |
Resolves: bz#1482774
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Wed Jan 11 2017 Jan Grulich <jgrulich@redhat.com> - 5.6.2-1
|
|
|
0d76d3 |
- Update to 5.6.2
|
|
|
0d76d3 |
Resolves: bz#1384836
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Tue Aug 30 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-10
|
|
|
0d76d3 |
- Increase build version to have newer version than in EPEL
|
|
|
0d76d3 |
Resolves: bz#1324732
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
|
|
|
0d76d3 |
- Update to 5.6.1
|
|
|
0d76d3 |
Resolves: bz#1324732
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Thu Apr 07 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-3
|
|
|
0d76d3 |
- Initial version for RHEL
|
|
|
0d76d3 |
Resolves: bz#1324732
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Tue Mar 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
|
|
|
0d76d3 |
- rebuild
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
|
|
|
0d76d3 |
- 5.6.0 final release
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
|
|
|
0d76d3 |
- Update to final RC
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8
|
|
|
0d76d3 |
- Update RC release
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.7.beta
|
|
|
0d76d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta
|
|
|
0d76d3 |
- use %%license, update Source URL, BR: cmake
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
|
|
|
0d76d3 |
- Update to final beta release
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
|
|
|
0d76d3 |
- -doc: BR: qt5-qdoc qt5-qhelpgenerator
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
|
|
|
0d76d3 |
- Official beta release
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
|
|
|
0d76d3 |
- Official beta release
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
|
|
|
0d76d3 |
- Start to implement 5.6.0 beta
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
|
|
|
0d76d3 |
- Start to implement 5.6.0 beta
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
|
|
|
0d76d3 |
- Update to final release 5.5.1
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
|
|
|
0d76d3 |
- Update to Qt 5.5.1 RC1
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
|
|
|
0d76d3 |
- New final upstream release Qt 5.5.0
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
|
|
|
0d76d3 |
- Update for official RC1 released packages
|
|
|
0d76d3 |
|
|
|
0d76d3 |
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
|
|
|
0d76d3 |
- Qt 5.5.0 RC1 (initial version)
|
|
|
0d76d3 |
|