qt5-qt3d-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. %global qt_module qt3d
  2. #define docs 1
  3. #define prerelease
  4. %global qt5_minorver 5.15
  5. %global qt5_version 5.15.7
  6. #global qt5_patchlevel 1
  7. Summary: Qt5 - Qt3D QML bindings and C++ APIs
  8. Name: qt5-%{qt_module}
  9. Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
  10. Release: 1%{?_dist_release}
  11. Group: system
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
  15. # See also http://doc.qt.io/qt-5/licensing.html
  16. License: LGPLv2 with exceptions or GPLv3 with exceptions
  17. Url: https://www.qt.io/
  18. Source0: https://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-opensource-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz
  19. BuildRequires: cmake
  20. BuildRequires: qt5-rpm-macros >= %{version}
  21. BuildRequires: qt5-qtbase-static >= %{version}
  22. BuildRequires: qt5-qtbase-private-devel
  23. %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
  24. BuildRequires: qt5-qtdeclarative-devel
  25. BuildRequires: qt5-qtimageformats
  26. BuildRequires: qt5-qtxmlpatterns-devel
  27. #BuildRequires: pkgconfig(assimp) >= 3.3.1
  28. Requires: qt5-qtimageformats%{?_isa} >= %{version}
  29. %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}}
  30. %description
  31. Qt 3D provides functionality for near-realtime simulation systems with
  32. support for 2D and 3D rendering in both Qt C++ and Qt Quick applications).
  33. %package devel
  34. Summary: Development files for %{name}
  35. Group: programming
  36. Requires: %{name}%{?_isa} = %{version}-%{release}
  37. Requires: qt5-qtbase-devel%{?_isa}
  38. %description devel
  39. %{summary}.
  40. %if 0%{?docs}
  41. %package doc
  42. Summary: API documentation for %{name}
  43. Group: documentation
  44. License: GFDL
  45. Requires: %{name} = %{version}-%{release}
  46. BuildRequires: qt5-qdoc
  47. BuildRequires: qt5-qhelpgenerator
  48. BuildArch: noarch
  49. %description doc
  50. %{summary}.
  51. %endif
  52. %package examples
  53. Summary: Programming examples for %{name}
  54. Group: programming
  55. Requires: %{name}%{?_isa} = %{version}-%{release}
  56. %description examples
  57. %{summary}.
  58. %debug_package
  59. %prep
  60. %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
  61. %build
  62. mkdir %{_target_platform}
  63. pushd %{_target_platform}
  64. %{qmake_qt5} ..
  65. make %{?_smp_mflags}
  66. %if 0%{?docs}
  67. # HACK to avoid multilib conflicts in noarch content
  68. # see also https://bugreports.qt-project.org/browse/QTBUG-42071
  69. QT_HASH_SEED=0; export QT_HASH_SEED
  70. make %{?_smp_mflags} docs
  71. %endif
  72. popd
  73. %install
  74. make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  75. %if 0%{?docs}
  76. make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  77. %endif
  78. ## .prl/.la file love
  79. # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
  80. pushd %{buildroot}%{_qt5_libdir}
  81. for prl_file in libQt5*.prl ; do
  82. sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
  83. if [ -f "$(basename ${prl_file} .prl).so" ]; then
  84. rm -fv "$(basename ${prl_file} .prl).la"
  85. sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
  86. fi
  87. done
  88. popd
  89. %files
  90. %license LICENSE.GPL* LICENSE.LGPL*
  91. %{_qt5_libdir}/libQt53DQuick.so.5*
  92. %{_qt5_libdir}/libQt53DInput.so.5*
  93. %{_qt5_libdir}/libQt53DQuickRender.so.5*
  94. %{_qt5_libdir}/libQt53DRender.so.5*
  95. %{_qt5_libdir}/libQt53DCore.so.5*
  96. %{_qt5_libdir}/libQt53DLogic.so.5*
  97. %{_qt5_libdir}/libQt53DQuickInput.so.5*
  98. %{_qt5_libdir}/libQt53DExtras.so.5*
  99. %{_qt5_libdir}/libQt53DAnimation.so.5*
  100. %{_qt5_libdir}/libQt53DQuickAnimation.so.5*
  101. %{_qt5_libdir}/libQt53DQuickScene2D.so.5*
  102. %{_qt5_libdir}/libQt53DQuickExtras.so.5*
  103. %{_qt5_qmldir}/Qt3D/
  104. %{_qt5_qmldir}/QtQuick/Scene3D/
  105. %{_qt5_qmldir}/QtQuick/Scene2D/
  106. %{_qt5_plugindir}/renderers/
  107. %{_qt5_plugindir}/sceneparsers/
  108. %{_qt5_plugindir}/renderplugins/
  109. %{_qt5_plugindir}/geometryloaders/
  110. %files devel
  111. %{_qt5_bindir}/qgltf
  112. %{_qt5_libdir}/libQt53DQuick.so
  113. %{_qt5_libdir}/libQt53DQuick.prl
  114. %{_qt5_libdir}/cmake/Qt53DQuick
  115. %{_qt5_includedir}/Qt3DQuick
  116. %{_qt5_libdir}/pkgconfig/Qt53DQuick.pc
  117. %{_qt5_libdir}/libQt53DInput.so
  118. %{_qt5_libdir}/libQt53DInput.prl
  119. %{_qt5_libdir}/cmake/Qt53DInput
  120. %{_qt5_includedir}/Qt3DInput/
  121. %{_qt5_libdir}/pkgconfig/Qt53DInput.pc
  122. %{_qt5_libdir}/libQt53DCore.so
  123. %{_qt5_libdir}/libQt53DCore.prl
  124. %{_qt5_libdir}/cmake/Qt53DCore/
  125. %{_qt5_includedir}/Qt3DCore/
  126. %{_qt5_libdir}/pkgconfig/Qt53DCore.pc
  127. %{_qt5_libdir}/libQt53DQuickRender.so
  128. %{_qt5_libdir}/libQt53DQuickRender.prl
  129. %{_qt5_libdir}/cmake/Qt53DQuickRender/
  130. %{_qt5_includedir}/Qt3DQuickRender/
  131. %{_qt5_libdir}/pkgconfig/Qt53DQuickRender.pc
  132. %{_qt5_libdir}/libQt53DRender.so
  133. %{_qt5_libdir}/libQt53DRender.prl
  134. %{_qt5_libdir}/cmake/Qt53DRender/
  135. %{_qt5_includedir}/Qt3DRender/
  136. %{_qt5_libdir}/pkgconfig/Qt53DRender.pc
  137. %{_qt5_archdatadir}/mkspecs/modules/*.pri
  138. %{_qt5_libdir}/libQt53DLogic.so
  139. %{_qt5_libdir}/libQt53DLogic.prl
  140. %{_qt5_includedir}/Qt3DLogic/
  141. %{_qt5_libdir}/cmake/Qt53DLogic
  142. %{_qt5_libdir}/pkgconfig/Qt53DLogic.pc
  143. %{_qt5_libdir}/libQt53DQuickInput.so
  144. %{_qt5_libdir}/libQt53DQuickInput.prl
  145. %{_qt5_includedir}/Qt3DQuickInput/
  146. %{_qt5_libdir}/cmake/Qt53DQuickInput
  147. %{_qt5_libdir}/pkgconfig/Qt53DQuickInput.pc
  148. %{_qt5_libdir}/libQt53DExtras.so
  149. %{_qt5_libdir}/libQt53DExtras.prl
  150. %{_qt5_libdir}/cmake/Qt53DExtras
  151. %{_qt5_includedir}/Qt3DExtras
  152. %{_qt5_libdir}/pkgconfig/Qt53DExtras.pc
  153. %{_qt5_libdir}/libQt53DQuickExtras.so
  154. %{_qt5_libdir}/libQt53DQuickExtras.prl
  155. %{_qt5_libdir}/cmake/Qt53DQuickExtras
  156. %{_qt5_includedir}/Qt3DQuickExtras
  157. %{_qt5_libdir}/pkgconfig/Qt53DQuickExtras.pc
  158. %{_qt5_libdir}/libQt53DAnimation.so
  159. %{_qt5_libdir}/libQt53DAnimation.prl
  160. %{_qt5_libdir}/cmake/Qt53DAnimation
  161. %{_qt5_includedir}/Qt3DAnimation
  162. %{_qt5_libdir}/pkgconfig/Qt53DAnimation.pc
  163. %{_qt5_libdir}/libQt53DQuickAnimation.so
  164. %{_qt5_libdir}/libQt53DQuickAnimation.prl
  165. %{_qt5_libdir}/cmake/Qt53DQuickAnimation
  166. %{_qt5_includedir}/Qt3DQuickAnimation
  167. %{_qt5_libdir}/pkgconfig/Qt53DQuickAnimation.pc
  168. %{_qt5_libdir}/libQt53DQuickScene2D.so
  169. %{_qt5_libdir}/libQt53DQuickScene2D.prl
  170. %{_qt5_libdir}/cmake/Qt53DQuickScene2D
  171. %{_qt5_includedir}/Qt3DQuickScene2D
  172. %{_qt5_libdir}/pkgconfig/Qt53DQuickScene2D.pc
  173. %if 0%{?docs}
  174. %files doc
  175. %{_qt5_docdir}/*
  176. %endif
  177. %if 0%{?_qt5_examplesdir:1}
  178. %files examples
  179. %{_qt5_examplesdir}/
  180. %endif
  181. %changelog
  182. * Sat Oct 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.7-1
  183. - new upstream release.
  184. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  185. - new upstream release.
  186. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  187. - new upstream release.
  188. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  189. - new upstream release.
  190. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  191. - new upstream release.
  192. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  193. - update to 5.6.3
  194. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  195. - new upstream release.
  196. - initial build for Vine Linux.
  197. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  198. - Update to 5.6.1
  199. * Wed May 25 2016 Rich Mattes <richmattes@gmail.com> - 5.6.0-3
  200. - Rebuild for assimp-3.2.0
  201. * Tue Mar 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  202. - rebuild
  203. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  204. - 5.6.0 final release
  205. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
  206. - Update to final RC
  207. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8
  208. - Update RC release
  209. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.7.beta
  210. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  211. * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta
  212. - use %%license, update Source URL, BR: cmake
  213. * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
  214. - Update to final beta release
  215. * Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
  216. - -doc: BR: qt5-qdoc qt5-qhelpgenerator
  217. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
  218. - Official beta release
  219. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  220. - Official beta release
  221. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  222. - Start to implement 5.6.0 beta
  223. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  224. - Start to implement 5.6.0 beta
  225. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  226. - Update to final release 5.5.1
  227. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  228. - Update to Qt 5.5.1 RC1
  229. * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
  230. - New final upstream release Qt 5.5.0
  231. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  232. - Update for official RC1 released packages
  233. * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  234. - Qt 5.5.0 RC1 (initial version)