qt5-qtscript-vl.spec 8.0 KB

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