qt5-qtscript-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. %global qt_module qtscript
  2. #define prerelease
  3. %global qt5_minorver 5.15
  4. %global qt5_version 5.15.7
  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-opensource-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. * Sat Oct 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.7-1
  91. - new upstream release.
  92. * Wed Apr 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  93. - new upstream release.
  94. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  95. - new upstream release.
  96. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  97. - new upstream release.
  98. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  99. - new upstream release.
  100. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  101. - update to 5.6.3
  102. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  103. - new upstream release.
  104. - initial build for Vine Linux.
  105. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  106. - Update to 5.6.1
  107. * Sun Apr 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
  108. - BR: qt5-qtbase-private-devel, -devel: Provides: private-devel
  109. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  110. - rebuild
  111. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  112. - rebuild
  113. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  114. - 5.6.0 final release
  115. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
  116. - Update to final RC
  117. * Sun Feb 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8.rc
  118. - rebuild
  119. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7
  120. - Update RC release
  121. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta
  122. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  123. * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta
  124. - update source URL, use %%license, BR: cmake
  125. * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
  126. - Update to final beta release
  127. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
  128. - Official beta release
  129. * Mon Dec 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
  130. - (re)add bootstrap macro support
  131. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  132. - Start to implement 5.6.0 beta
  133. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  134. - Update to final release 5.5.1
  135. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  136. - Update to Qt 5.5.1 RC1
  137. * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
  138. - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
  139. * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
  140. - tighten qtbase dep (#1233829), .spec cosmetics
  141. * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
  142. - New final upstream release Qt 5.5.0
  143. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  144. - Update for official RC1 released packages
  145. * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  146. - Qt 5.5.0 RC1
  147. * Thu Jun 04 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
  148. - 5.4.2
  149. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
  150. - Rebuilt for GCC 5 C++11 ABI change
  151. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
  152. - rebuild (gcc5)
  153. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  154. - 5.4.1
  155. * Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
  156. - rebuild (gcc5)
  157. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  158. - 5.4.0 (final)
  159. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
  160. - 5.4.0-rc
  161. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
  162. - out-of-tree build, use %%qmake_qt5, support %%docs macro
  163. * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
  164. - 5.4.0-beta
  165. * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
  166. - 5.3.2
  167. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
  168. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  169. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  170. - 5.3.1
  171. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  172. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  173. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
  174. - 5.3.0
  175. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  176. - 5.2.1
  177. * Sun Feb 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
  178. - Add AArch64 support to qtscript (#1056071)
  179. * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
  180. - -examples subpkg
  181. - -doc for all archs
  182. * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  183. - 5.2.0
  184. * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
  185. - 5.2.0-rc1
  186. * Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1
  187. - enable -doc only on primary archs (allow secondary bootstrap)
  188. * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
  189. - rebuild (arm/qreal)
  190. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
  191. - 5.2.0-beta1
  192. * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
  193. - bootstrap ppc
  194. * Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
  195. - 5.2.0-alpha
  196. - -doc subpkg
  197. * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
  198. - 5.1.1
  199. * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
  200. - update Source URL
  201. - %%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL
  202. * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
  203. - 5.0.2
  204. * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
  205. - first try