qt5-qtscript-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. %global qt_module qtscript
  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 - QtScript component
  8. Name: qt5-%{qt_module}
  9. Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
  10. Release: 1%{?_dist_release}
  11. # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
  12. License: LGPLv2 with exceptions or GPLv3 with exceptions
  13. Url: https://www.qt.io/
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. 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
  17. BuildRequires: cmake
  18. BuildRequires: gcc-c++
  19. BuildRequires: qt5-rpm-macros
  20. BuildRequires: qt5-qtbase-devel
  21. BuildRequires: qt5-qtbase-private-devel
  22. %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
  23. %if ! 0%{?bootstrap}
  24. # extra examples
  25. BuildRequires: pkgconfig(Qt5UiTools)
  26. %endif
  27. %if 0%{?tests}
  28. BuildRequires: dbus-x11
  29. BuildRequires: mesa-dri-drivers
  30. BuildRequires: time
  31. BuildRequires: xorg-x11-server-Xvfb
  32. %endif
  33. %description
  34. %{summary}.
  35. %package devel
  36. Summary: Development files for %{name}
  37. Provides: %{name}-private-devel = %{version}-%{release}
  38. Requires: %{name}%{?_isa} = %{version}-%{release}
  39. Requires: qt5-qtbase-devel%{?_isa}
  40. %description devel
  41. %{summary}.
  42. %if 0%{?docs}
  43. %package doc
  44. Summary: API documentation for %{name}
  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. Requires: %{name}%{?_isa} = %{version}-%{release}
  55. %description examples
  56. %{summary}.
  57. %prep
  58. %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
  59. %build
  60. mkdir %{_target_platform}
  61. pushd %{_target_platform}
  62. %{qmake_qt5} ..
  63. make %{?_smp_mflags}
  64. %if 0%{?docs}
  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 file love (maybe consider just deleting these -- rex
  74. # nuke dangling reference(s) to %%buildroot, excessive (.la-like) libs
  75. sed -i \
  76. -e "/^QMAKE_PRL_BUILD_DIR/d" \
  77. -e "/^QMAKE_PRL_LIBS/d" \
  78. %{buildroot}%{_qt5_libdir}/*.prl
  79. ## unpackaged files
  80. # .la files, die, die, die.
  81. rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
  82. %post -p /sbin/ldconfig
  83. %postun -p /sbin/ldconfig
  84. %files
  85. %license LICENSE.LGPL*
  86. %{_qt5_libdir}/libQt5Script.so.5*
  87. %{_qt5_libdir}/libQt5ScriptTools.so.5*
  88. %files devel
  89. %{_qt5_headerdir}/Qt*/
  90. %{_qt5_libdir}/libQt5Script.so
  91. %{_qt5_libdir}/libQt5Script.prl
  92. %{_qt5_libdir}/libQt5ScriptTools.so
  93. %{_qt5_libdir}/libQt5ScriptTools.prl
  94. %dir %{_qt5_libdir}/cmake/Qt5Script/
  95. %{_qt5_libdir}/cmake/Qt5Script/Qt5ScriptConfig*.cmake
  96. %dir %{_qt5_libdir}/cmake/Qt5ScriptTools/
  97. %{_qt5_libdir}/cmake/Qt5ScriptTools/Qt5ScriptToolsConfig*.cmake
  98. %{_qt5_libdir}/pkgconfig/Qt5*.pc
  99. %{_qt5_archdatadir}/mkspecs/modules/*.pri
  100. %if 0%{?docs}
  101. %files doc
  102. %{_qt5_docdir}/qtscript.qch
  103. %{_qt5_docdir}/qtscript/
  104. %{_qt5_docdir}/qtscripttools.qch
  105. %{_qt5_docdir}/qtscripttools/
  106. %endif
  107. %if 0%{?_qt5_examplesdir:1}
  108. %files examples
  109. %{_qt5_examplesdir}/
  110. %endif
  111. %changelog
  112. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  113. - new upstream release.
  114. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  115. - new upstream release.
  116. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  117. - new upstream release.
  118. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  119. - update to 5.6.3
  120. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  121. - new upstream release.
  122. - initial build for Vine Linux.
  123. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  124. - Update to 5.6.1
  125. * Sun Apr 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
  126. - BR: qt5-qtbase-private-devel, -devel: Provides: private-devel
  127. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  128. - rebuild
  129. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  130. - rebuild
  131. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  132. - 5.6.0 final release
  133. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
  134. - Update to final RC
  135. * Sun Feb 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8.rc
  136. - rebuild
  137. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7
  138. - Update RC release
  139. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  141. * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta
  142. - update source URL, use %%license, BR: cmake
  143. * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
  144. - Update to final beta release
  145. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
  146. - Official beta release
  147. * Mon Dec 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
  148. - (re)add bootstrap macro support
  149. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  150. - Start to implement 5.6.0 beta
  151. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  152. - Update to final release 5.5.1
  153. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  154. - Update to Qt 5.5.1 RC1
  155. * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
  156. - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
  157. * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
  158. - tighten qtbase dep (#1233829), .spec cosmetics
  159. * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
  160. - New final upstream release Qt 5.5.0
  161. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  162. - Update for official RC1 released packages
  163. * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  164. - Qt 5.5.0 RC1
  165. * Thu Jun 04 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
  166. - 5.4.2
  167. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
  168. - Rebuilt for GCC 5 C++11 ABI change
  169. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
  170. - rebuild (gcc5)
  171. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  172. - 5.4.1
  173. * Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
  174. - rebuild (gcc5)
  175. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  176. - 5.4.0 (final)
  177. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
  178. - 5.4.0-rc
  179. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
  180. - out-of-tree build, use %%qmake_qt5, support %%docs macro
  181. * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
  182. - 5.4.0-beta
  183. * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
  184. - 5.3.2
  185. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
  186. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  187. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  188. - 5.3.1
  189. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  190. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  191. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
  192. - 5.3.0
  193. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  194. - 5.2.1
  195. * Sun Feb 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
  196. - Add AArch64 support to qtscript (#1056071)
  197. * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
  198. - -examples subpkg
  199. - -doc for all archs
  200. * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  201. - 5.2.0
  202. * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
  203. - 5.2.0-rc1
  204. * Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1
  205. - enable -doc only on primary archs (allow secondary bootstrap)
  206. * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
  207. - rebuild (arm/qreal)
  208. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
  209. - 5.2.0-beta1
  210. * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
  211. - bootstrap ppc
  212. * Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
  213. - 5.2.0-alpha
  214. - -doc subpkg
  215. * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
  216. - 5.1.1
  217. * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
  218. - update Source URL
  219. - %%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL
  220. * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
  221. - 5.0.2
  222. * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
  223. - first try