Blame SPECS/qt5-qt3d.spec

00a9bf
%global qt_module qt3d
00a9bf
7feb8f
%global build_tests 1
7feb8f
7feb8f
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
7feb8f
00a9bf
Summary: Qt5 - Qt3D QML bindings and C++ APIs
00a9bf
Name:    qt5-%{qt_module}
b37ca5
Version: 5.15.3
b37ca5
Release: 1%{?dist}
00a9bf
00a9bf
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
00a9bf
# See also http://doc.qt.io/qt-5/licensing.html
00a9bf
License: LGPLv2 with exceptions or GPLv3 with exceptions
00a9bf
Url:     http://www.qt.io
00a9bf
%global majmin %(echo %{version} | cut -d. -f1-2)
b37ca5
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
7feb8f
Source1: qt3dcore-config-multilib_p.h
00a9bf
00a9bf
BuildRequires: qt5-rpm-macros >= %{version}
00a9bf
BuildRequires: qt5-qtbase-static >= %{version}
00a9bf
BuildRequires: qt5-qtbase-private-devel
00a9bf
#libQt53DRender.so.5(Qt_5_PRIVATE_API)(64bit)
00a9bf
#libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)
00a9bf
#libQt5Gui.so.5(Qt_5_PRIVATE_API)(64bit)
00a9bf
#libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit)
00a9bf
#libQt5Quick.so.5(Qt_5_PRIVATE_API)(64bit)
00a9bf
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
00a9bf
BuildRequires: qt5-qtdeclarative-devel
00a9bf
BuildRequires: qt5-qtimageformats
00a9bf
BuildRequires: qt5-qtxmlpatterns-devel
00a9bf
00a9bf
Requires: qt5-qtimageformats%{?_isa} >= %{version}
00a9bf
00a9bf
00a9bf
%description
00a9bf
Qt 3D provides functionality for near-realtime simulation systems with
00a9bf
support for 2D and 3D rendering in both Qt C++ and Qt Quick applications).
00a9bf
00a9bf
%package devel
00a9bf
Summary: Development files for %{name}
00a9bf
Requires: %{name}%{?_isa} = %{version}-%{release}
00a9bf
Requires: qt5-qtbase-devel%{?_isa}
00a9bf
%description devel
00a9bf
%{summary}.
00a9bf
00a9bf
%package examples
00a9bf
Summary: Programming examples for %{name}
00a9bf
Requires: %{name}%{?_isa} = %{version}-%{release}
00a9bf
%description examples
00a9bf
%{summary}.
00a9bf
7feb8f
%if 0%{?build_tests}
7feb8f
%package tests
7feb8f
Summary: Unit tests for %{name}
7feb8f
Requires: %{name}%{?_isa} = %{version}-%{release}
7feb8f
7feb8f
%description tests
7feb8f
%{summary}.
7feb8f
%endif
7feb8f
00a9bf
00a9bf
%prep
00a9bf
%setup -q -n %{qt_module}-everywhere-src-%{version}
00a9bf
00a9bf
00a9bf
%build
00a9bf
%{qmake_qt5}
00a9bf
00a9bf
%make_build
00a9bf
7feb8f
%if 0%{?build_tests}
7feb8f
make sub-tests %{?_smp_mflags} -k ||:
7feb8f
%endif
7feb8f
00a9bf
00a9bf
%install
00a9bf
make install INSTALL_ROOT=%{buildroot}
00a9bf
7feb8f
%if 0%{?build_tests}
7feb8f
# Install tests for gating
7feb8f
mkdir -p %{buildroot}%{_qt5_libdir}/qt5
7feb8f
find ./tests -not -path '*/\.*' -type d | while read LINE
7feb8f
do
7feb8f
    mkdir -p "%{buildroot}%{_qt5_libdir}/qt5/$LINE"
7feb8f
done
7feb8f
find ./tests -not -path '*/\.*' -not -name '*.h' -not -name '*.cpp' -not -name '*.pro' -not -name 'uic_wrapper.sh' -not -name 'Makefile' -not -name 'target_wrapper.sh' -type f | while read LINE
7feb8f
do
7feb8f
    cp -r --parents "$LINE" %{buildroot}%{_qt5_libdir}/qt5/
7feb8f
done
7feb8f
%endif
7feb8f
7feb8f
%ifarch %{multilib_archs}
7feb8f
# multilib: qt3dcore-config_p.h
7feb8f
  mv %{buildroot}%{_qt5_headerdir}/Qt3DCore/%{version}/Qt3DCore/private/qt3dcore-config_p.h %{buildroot}%{_qt5_headerdir}/Qt3DCore/%{version}/Qt3DCore/private/qt3dcore-config-%{__isa_bits}_p.h
7feb8f
  install -p -m644 -D %{SOURCE1} %{buildroot}%{_qt5_headerdir}/Qt3DCore/%{version}/Qt3DCore/private/qt3dcore-config_p.h
7feb8f
%endif
7feb8f
00a9bf
## .prl/.la file love
00a9bf
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
00a9bf
pushd %{buildroot}%{_qt5_libdir}
00a9bf
for prl_file in libQt5*.prl ; do
00a9bf
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
00a9bf
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
00a9bf
    rm -fv "$(basename ${prl_file} .prl).la"
00a9bf
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
00a9bf
  fi
00a9bf
done
00a9bf
popd
00a9bf
00a9bf
00a9bf
%ldconfig_scriptlets
00a9bf
00a9bf
%files
00a9bf
%license LICENSE.GPL* LICENSE.LGPL*
00a9bf
%{_qt5_libdir}/libQt53DQuick.so.5*
00a9bf
%{_qt5_libdir}/libQt53DInput.so.5*
00a9bf
%{_qt5_libdir}/libQt53DQuickRender.so.5*
00a9bf
%{_qt5_libdir}/libQt53DRender.so.5*
00a9bf
%{_qt5_libdir}/libQt53DCore.so.5*
00a9bf
%{_qt5_libdir}/libQt53DLogic.so.5*
00a9bf
%{_qt5_libdir}/libQt53DQuickInput.so.5*
00a9bf
%{_qt5_libdir}/libQt53DExtras.so.5*
00a9bf
%{_qt5_libdir}/libQt53DAnimation.so.5*
00a9bf
%{_qt5_libdir}/libQt53DQuickAnimation.so.5*
00a9bf
%{_qt5_libdir}/libQt53DQuickScene2D.so.5*
00a9bf
%{_qt5_libdir}/libQt53DQuickExtras.so.5*
00a9bf
%{_qt5_qmldir}/Qt3D/
00a9bf
%{_qt5_qmldir}/QtQuick/Scene3D/
00a9bf
%{_qt5_qmldir}/QtQuick/Scene2D/
007336
%{_qt5_plugindir}/renderers/
00a9bf
%{_qt5_plugindir}/sceneparsers/
00a9bf
%{_qt5_plugindir}/renderplugins/
00a9bf
%{_qt5_plugindir}/geometryloaders/
00a9bf
00a9bf
%files devel
00a9bf
%{_qt5_bindir}/qgltf
00a9bf
%{_qt5_libdir}/libQt53DQuick.so
00a9bf
%{_qt5_libdir}/libQt53DQuick.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DQuick
00a9bf
%{_qt5_includedir}/Qt3DQuick
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DQuick.pc
00a9bf
%{_qt5_libdir}/libQt53DInput.so
00a9bf
%{_qt5_libdir}/libQt53DInput.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DInput
00a9bf
%{_qt5_includedir}/Qt3DInput/
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DInput.pc
00a9bf
%{_qt5_libdir}/libQt53DCore.so
00a9bf
%{_qt5_libdir}/libQt53DCore.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DCore/
00a9bf
%{_qt5_includedir}/Qt3DCore/
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DCore.pc
00a9bf
%{_qt5_libdir}/libQt53DQuickRender.so
00a9bf
%{_qt5_libdir}/libQt53DQuickRender.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DQuickRender/
00a9bf
%{_qt5_includedir}/Qt3DQuickRender/
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DQuickRender.pc
00a9bf
%{_qt5_libdir}/libQt53DRender.so
00a9bf
%{_qt5_libdir}/libQt53DRender.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DRender/
00a9bf
%{_qt5_includedir}/Qt3DRender/
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DRender.pc
00a9bf
%{_qt5_archdatadir}/mkspecs/modules/*.pri
00a9bf
%{_qt5_libdir}/libQt53DLogic.so
00a9bf
%{_qt5_libdir}/libQt53DLogic.prl
00a9bf
%{_qt5_includedir}/Qt3DLogic/
00a9bf
%{_qt5_libdir}/cmake/Qt53DLogic
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DLogic.pc
00a9bf
%{_qt5_libdir}/libQt53DQuickInput.so
00a9bf
%{_qt5_libdir}/libQt53DQuickInput.prl
00a9bf
%{_qt5_includedir}/Qt3DQuickInput/
00a9bf
%{_qt5_libdir}/cmake/Qt53DQuickInput
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DQuickInput.pc
00a9bf
%{_qt5_libdir}/libQt53DExtras.so
00a9bf
%{_qt5_libdir}/libQt53DExtras.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DExtras
00a9bf
%{_qt5_includedir}/Qt3DExtras
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DExtras.pc
00a9bf
%{_qt5_libdir}/libQt53DQuickExtras.so
00a9bf
%{_qt5_libdir}/libQt53DQuickExtras.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DQuickExtras
00a9bf
%{_qt5_includedir}/Qt3DQuickExtras
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DQuickExtras.pc
00a9bf
%{_qt5_libdir}/libQt53DAnimation.so
00a9bf
%{_qt5_libdir}/libQt53DAnimation.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DAnimation
00a9bf
%{_qt5_includedir}/Qt3DAnimation
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DAnimation.pc
00a9bf
%{_qt5_libdir}/libQt53DQuickAnimation.so
00a9bf
%{_qt5_libdir}/libQt53DQuickAnimation.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DQuickAnimation
00a9bf
%{_qt5_includedir}/Qt3DQuickAnimation
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DQuickAnimation.pc
00a9bf
%{_qt5_libdir}/libQt53DQuickScene2D.so
00a9bf
%{_qt5_libdir}/libQt53DQuickScene2D.prl
00a9bf
%{_qt5_libdir}/cmake/Qt53DQuickScene2D
00a9bf
%{_qt5_includedir}/Qt3DQuickScene2D
00a9bf
%{_qt5_libdir}/pkgconfig/Qt53DQuickScene2D.pc
00a9bf
00a9bf
%if 0%{?_qt5_examplesdir:1}
00a9bf
%files examples
00a9bf
%{_qt5_examplesdir}/
00a9bf
%endif
00a9bf
7feb8f
%if 0%{?build_tests}
7feb8f
%files tests
7feb8f
%{_qt5_libdir}/qt5/tests
7feb8f
%endif
7feb8f
00a9bf
00a9bf
%changelog
b37ca5
* Mon Mar 28 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
b37ca5
- 5.15.3
b37ca5
  Resolves: bz#2061381
b37ca5
e3ced9
* Wed Apr 28 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
e3ced9
- Rebuild (binutils)
e3ced9
  Resolves: bz#1930063
e3ced9
007336
* Sun Apr 04 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
007336
- 5.15.2
007336
  Resolves: bz#1930063
007336
7feb8f
* Wed Nov 20 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-2
7feb8f
- Fix multilib issue
7feb8f
  Resolves: bz#1765637
7feb8f
7feb8f
* Mon Nov 18 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
7feb8f
- 5.12.5
7feb8f
  Resolves: bz#1733159
7feb8f
00a9bf
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-4
00a9bf
- Rebuild for broken CI
00a9bf
  Resolves: bz#1657230
00a9bf
00a9bf
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-3
00a9bf
- Rebuild to fix CET notes
00a9bf
  Resolves: bz#1657230
00a9bf
00a9bf
* Tue Jul 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
00a9bf
- drop assimp dependency
00a9bf
00a9bf
* Tue Jul 03 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-1
00a9bf
- 5.11.1
00a9bf
00a9bf
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
00a9bf
- 5.10.1
00a9bf
00a9bf
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
00a9bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
00a9bf
00a9bf
* Tue Dec 19 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
00a9bf
- 5.10.0
00a9bf
00a9bf
* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
00a9bf
- 5.9.3
00a9bf
00a9bf
* Tue Oct 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
00a9bf
- BR: qt5-qtbase-private-devel
00a9bf
00a9bf
* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
00a9bf
- 5.9.2
00a9bf
00a9bf
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-3
00a9bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
00a9bf
00a9bf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
00a9bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
00a9bf
00a9bf
* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
00a9bf
- 5.9.1
00a9bf
00a9bf
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
00a9bf
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
00a9bf
00a9bf
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
00a9bf
- Upstream official release
00a9bf
00a9bf
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
00a9bf
- Upstream Release Candidate retagged
00a9bf
00a9bf
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.0-2.beta.3
00a9bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
00a9bf
00a9bf
* Wed May 10 2017 Than Ngo <than@redhat.com> - 5.9.0-1.beta.3
00a9bf
- fixed bz#1449582, FTBFS on big endian arches
00a9bf
00a9bf
* Mon May 08 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
00a9bf
- Upstream beta 3
00a9bf
00a9bf
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
00a9bf
- New upstream beta3 release
00a9bf
00a9bf
* Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
00a9bf
- New upstream version
00a9bf
00a9bf
* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
00a9bf
- 5.7.1 dec5 snapshot
00a9bf
00a9bf
* Thu Nov 10 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
00a9bf
- New upstream version
00a9bf
00a9bf
* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-
00a9bf
- Compiled with gcc
00a9bf
00a9bf
* Tue Jun 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
00a9bf
- Qt 5.7.0 release
00a9bf
00a9bf
* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
00a9bf
- Update to 5.6.1
00a9bf
00a9bf
* Wed May 25 2016 Rich Mattes <richmattes@gmail.com> - 5.6.0-3
00a9bf
- Rebuild for assimp-3.2.0
00a9bf
00a9bf
* Tue Mar 22 2016 Rex Dieter <rdieter@fedoraproject.org>  - 5.6.0-2
00a9bf
- rebuild
00a9bf
00a9bf
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
00a9bf
- 5.6.0 final release
00a9bf
00a9bf
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
00a9bf
- Update to final RC
00a9bf
00a9bf
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8
00a9bf
- Update RC release
00a9bf
00a9bf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.7.beta3
00a9bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
00a9bf
00a9bf
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta3
00a9bf
- use %%license, update Source URL, BR: cmake
00a9bf
00a9bf
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
00a9bf
- Update to final beta3 release
00a9bf
00a9bf
* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
00a9bf
- -doc: BR: qt5-qdoc qt5-qhelpgenerator
00a9bf
00a9bf
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
00a9bf
- Official beta3 release
00a9bf
00a9bf
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
00a9bf
- Official beta3 release
00a9bf
00a9bf
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
00a9bf
- Start to implement 5.6.0 beta3
00a9bf
00a9bf
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
00a9bf
- Start to implement 5.6.0 beta3
00a9bf
00a9bf
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
00a9bf
- Update to final release 5.5.1
00a9bf
00a9bf
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
00a9bf
- Update to Qt 5.5.1 RC1
00a9bf
00a9bf
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
00a9bf
- New final upstream release Qt 5.5.0
00a9bf
00a9bf
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
00a9bf
- Update for official RC1 released packages
00a9bf
00a9bf
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
00a9bf
- Qt 5.5.0 RC1 (initial version)
00a9bf