qt5-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. %bcond_with deps
  2. Summary: Qt5 meta package
  3. Name: qt5
  4. Version: 5.15.7
  5. Release: 1%{?_dist_release}
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv3
  9. Source0: macros.qt5
  10. Source1: macros.qt5-srpm
  11. Source2: qmake-qt5.sh
  12. BuildArch: noarch
  13. Requires: qt5-qdbusviewer
  14. Requires: qt5-qt3d
  15. Requires: qt5-qtbase
  16. Requires: qt5-qtbase-gui
  17. Requires: qt5-qtbase-mysql
  18. Requires: qt5-qtbase-postgresql
  19. Requires: qt5-qtconnectivity
  20. #Requires: qt5-qtdeclarative
  21. Requires: qt5-qtdoc
  22. Requires: qt5-qtgraphicaleffects
  23. Requires: qt5-qtimageformats
  24. Requires: qt5-qtlocation
  25. Requires: qt5-qtmultimedia
  26. Requires: qt5-qtquickcontrols
  27. Requires: qt5-qtquickcontrols2
  28. #Requires: qt5-qtscript
  29. Requires: qt5-qtsensors
  30. Requires: qt5-qtserialport
  31. Requires: qt5-qtsvg
  32. Requires: qt5-qttools
  33. #Requires: qt5-qtwayland
  34. Requires: qt5-qtwebchannel
  35. Requires: qt5-qtwebengine
  36. #Requires: qt5-qtwebkit
  37. Requires: qt5-qtwebsockets
  38. Requires: qt5-qtx11extras
  39. Requires: qt5-qtxmlpatterns
  40. %description
  41. %{summary}.
  42. %package devel
  43. Summary: Qt5 meta devel package
  44. Requires: qt5-rpm-macros
  45. Requires: qt5-qttools-static
  46. #Requires: qt5-qtdeclarative-static
  47. Requires: qt5-qtbase-static
  48. Requires: qt5-designer
  49. Requires: qt5-qdoc
  50. Requires: qt5-qhelpgenerator
  51. Requires: qt5-linguist
  52. Requires: qt5-qt3d-devel
  53. Requires: qt5-qtbase-devel
  54. Requires: qt5-qtconnectivity-devel
  55. #Requires: qt5-qtdeclarative-devel
  56. #Requires: qt5-qtenginio-devel
  57. Requires: qt5-qtlocation-devel
  58. Requires: qt5-qtmultimedia-devel
  59. #Requires: qt5-qtscript-devel
  60. Requires: qt5-qtsensors-devel
  61. Requires: qt5-qtserialport-devel
  62. Requires: qt5-qtsvg-devel
  63. Requires: qt5-qttools-devel
  64. #Requires: qt5-qtwayland-devel
  65. Requires: qt5-qtwebchannel-devel
  66. Requires: qt5-qtwebengine-devel
  67. #Requires: qt5-qtwebkit-devel
  68. Requires: qt5-qtwebsockets-devel
  69. Requires: qt5-qtx11extras-devel
  70. Requires: qt5-qtxmlpatterns-devel
  71. %description devel
  72. %{summary}.
  73. %package rpm-macros
  74. Summary: RPM macros for building Qt5 packages
  75. Conflicts: qt5-qtbase-devel < 5.15.0
  76. Requires: cmake >= 3
  77. Requires: gcc-c++
  78. %description rpm-macros
  79. %{summary}.
  80. %package srpm-macros
  81. Summary: RPM macros for source Qt5 packages
  82. %description srpm-macros
  83. %{summary}.
  84. %install
  85. install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
  86. install -Dpm644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5-srpm
  87. install -Dpm755 %{SOURCE2} %{buildroot}%{_bindir}/qmake-qt5.sh
  88. mkdir -p %{buildroot}%{_datadir}/qt5/wrappers
  89. ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake-qt5
  90. ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake
  91. # substitute custom flags, and the path to binaries: binaries referenced from
  92. # macros should not change if an application is built with a different prefix.
  93. # %_libdir is left as /usr/%{_lib} (e.g.) so that the resulting macros are
  94. # architecture independent, and don't hardcode /usr/lib or /usr/lib64.
  95. sed -i \
  96. -e "s|@@QT5_CFLAGS@@|%{?qt5_cflags}|g" \
  97. -e "s|@@QT5_CXXFLAGS@@|%{?qt5_cxxflags}|g" \
  98. -e "s|@@QT5_RPM_LD_FLAGS@@|%{?qt5_rpm_ld_flags}|g" \
  99. -e "s|@@QT5_RPM_OPT_FLAGS@@|%{?qt5_rpm_opt_flags}|g" \
  100. -e "s|@@QMAKE@@|%{_prefix}/%%{_lib}/qt5/bin/qmake|g" \
  101. -e "s|@@QMAKE_QT5_WRAPPER@@|%{_bindir}/qmake-qt5.sh|g" \
  102. %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
  103. %if %{with deps}
  104. mkdir -p %{buildroot}%{_docdir}/qt5
  105. mkdir -p %{buildroot}%{_docdir}/qt5-devel
  106. echo "- Qt5 meta package" > %{buildroot}%{_docdir}/qt5/README
  107. echo "- Qt5 devel meta package" > %{buildroot}%{_docdir}/qt5-devel/README
  108. %endif
  109. %if %{with deps}
  110. %files
  111. %{_docdir}/qt5/README
  112. %files devel
  113. %{_docdir}/qt5-devel/README
  114. %endif
  115. %files rpm-macros
  116. %{_rpmconfigdir}/macros.d/macros.qt5
  117. %{_bindir}/qmake-qt5.sh
  118. %{_datadir}/qt5/wrappers/
  119. %files srpm-macros
  120. %{_rpmconfigdir}/macros.d/macros.qt5-srpm
  121. %changelog
  122. * Sat Oct 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.7-1
  123. - built for Qt 5.15.7.
  124. * Mon Apr 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  125. - built for Qt 5.15.2.
  126. * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  127. - built for Qt 5.12.8.
  128. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  129. - built for Qt 5.12.7.
  130. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-2
  131. - initial build for Vine Linux.
  132. * Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
  133. - 5.12.5
  134. * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
  135. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  136. * Tue Jun 11 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
  137. - 5.12.4
  138. * Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
  139. - 5.12.3
  140. * Thu Feb 14 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
  141. - 5.12.1
  142. * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
  143. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  144. * Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
  145. - 5.11.3
  146. * Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
  147. - 5.11.2
  148. * Tue Aug 21 2018 Owen Taylor <otaylor@redhat.com> - 5.11.1-4
  149. - rpm-macros: always refer to binaries in their installed location, even if %%_libdir
  150. and %%_bindir are redefined.
  151. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-3
  152. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  153. * Fri Jun 29 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-2
  154. - %%_qt5_prefix=%%_prefix (was %%_libdir/qt5}
  155. * Tue Jun 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
  156. - 5.11.1
  157. * Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-2
  158. - rpm-macros: do not define _qt5_archdatadir, _qt5_bindir in terms of _qt5_prefix anymore
  159. * Sat May 26 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
  160. - 5.11.0
  161. * Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.1-1
  162. - 5.10.1
  163. - rpm-macros: Requires: gcc-c++
  164. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-5
  165. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  166. * Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-4
  167. - macros.qt5: fix path to qmake-qt5.sh wrapper
  168. * Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-3
  169. - use noarch-friendly paths for qmake-qt5.sh wrapper
  170. * Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-2
  171. - provide qmake-qt5.sh wrapper and new macro: %%qmake_qt5_wrapper
  172. * Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-1
  173. - 5.10.0
  174. * Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.9.3-1
  175. - 5.9.3
  176. * Tue Oct 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-1
  177. - 5.9.2
  178. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
  179. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  180. * Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
  181. - 5.9.1
  182. * Thu Jun 01 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
  183. - drop -fno-delete-null-pointer-checks hack/workaround
  184. * Sat Apr 15 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
  185. - Up to match upcoming 5.9.0
  186. * Fri Mar 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
  187. - rebuild
  188. * Fri Jan 27 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
  189. - Tie to new upstream release
  190. * Mon Jan 02 2017 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-2
  191. - drop Requires: qt5-gstreamer qt5-qtacountsservice qt5-qtconfiguration (not from qtproject.org)
  192. * Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
  193. - Prepare for new release
  194. * Tue Sep 27 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-10
  195. - s/%%rhel/%%epel/ , cmake3 is only available in epel
  196. * Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-9
  197. - install the right macros.qt5-srpm file
  198. * Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-8
  199. - introduce -srpm-macros (initially defines %%qt5_qtwebengine_arches)
  200. - -devel: drop Requires: qt5-qtwebengine-devel (since not all archs are supported)
  201. * Sat Jul 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-7
  202. - drop Requires: qt5-qtwebengine (not available on all archs)
  203. * Tue Jul 12 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-6
  204. - Fix macros with invalid substitutions.
  205. * Wed Jul 06 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-5
  206. - Fix typo. Thanks to Diego Herrera.
  207. - Add macro qt5_includedir as more logical than headerdir. Old one still available
  208. * Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-4
  209. - Clang is not default anymore. End of experimentation phase
  210. * Wed Jun 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-3
  211. - Move package to be qt5 and create meta packages
  212. - Add new macro for qml dir
  213. * Mon Jun 13 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
  214. - Test repositories using clang by default
  215. * Thu Jun 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
  216. - Decouple macros from main qtbase package