qt5-qt3d-vl.spec 8.2 KB

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