qt5-qtconnectivity-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. %global qt_module qtconnectivity
  2. #define prerelease
  3. %global qt5_minorver 5.15
  4. %global qt5_version 5.15.7
  5. #global qt5_patchlevel 1
  6. Summary: Qt5 - Connectivity components
  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 LICENSE.GPL3, respectively, for exception details
  14. License: LGPLv2 with exceptions or GPLv3 with exceptions
  15. Url: https://qt.io/
  16. Source0: http://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: qt5-rpm-macros
  19. BuildRequires: qt5-srpm-macros
  20. BuildRequires: qt5-qtbase-devel >= %{version}
  21. BuildRequires: qt5-qtbase-private-devel
  22. %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
  23. BuildRequires: qt5-qtdeclarative-devel >= %{version}
  24. BuildRequires: pkgconfig(bluez)
  25. %description
  26. %{summary}.
  27. %package devel
  28. Summary: Development files for %{name}
  29. Group: programming
  30. Requires: %{name}%{?_isa} = %{version}-%{release}
  31. Requires: qt5-qtbase-devel%{?_isa}
  32. %description devel
  33. %{summary}.
  34. %package examples
  35. Summary: Programming examples for %{name}
  36. Group: programming
  37. Requires: %{name}%{?_isa} = %{version}-%{release}
  38. %description examples
  39. %{summary}.
  40. %debug_package
  41. %prep
  42. %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
  43. %build
  44. mkdir %{_target_platform}
  45. pushd %{_target_platform}
  46. %{qmake_qt5} ..
  47. make %{?_smp_mflags}
  48. %install
  49. make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  50. # hardlink files to {_bindir}, add -qt5 postfix to not conflict
  51. mkdir %{buildroot}%{_bindir}
  52. pushd %{buildroot}%{_qt5_bindir}
  53. for i in * ; do
  54. case "${i}" in
  55. *)
  56. ln -v ${i} %{buildroot}%{_bindir}/${i}
  57. ;;
  58. esac
  59. done
  60. popd
  61. ## .prl/.la file love
  62. # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
  63. pushd %{buildroot}%{_qt5_libdir}
  64. for prl_file in libQt5*.prl ; do
  65. sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
  66. if [ -f "$(basename ${prl_file} .prl).so" ]; then
  67. rm -fv "$(basename ${prl_file} .prl).la"
  68. sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
  69. fi
  70. done
  71. popd
  72. %files
  73. %license LICENSE.GPL* LICENSE.LGPL*
  74. %{_bindir}/sdpscanner
  75. %{_qt5_bindir}/sdpscanner
  76. %{_qt5_libdir}/libQt5Bluetooth.so.5*
  77. %{_qt5_archdatadir}/qml/QtBluetooth/
  78. %{_qt5_libdir}/libQt5Nfc.so.5*
  79. %{_qt5_archdatadir}/qml/QtNfc/
  80. %files devel
  81. %{_qt5_headerdir}/QtBluetooth/
  82. %{_qt5_libdir}/libQt5Bluetooth.so
  83. %{_qt5_libdir}/libQt5Bluetooth.prl
  84. %dir %{_qt5_libdir}/cmake/Qt5Bluetooth/
  85. %{_qt5_libdir}/cmake/Qt5Bluetooth/Qt5BluetoothConfig*.cmake
  86. %{_qt5_libdir}/pkgconfig/Qt5Bluetooth.pc
  87. %{_qt5_archdatadir}/mkspecs/modules/qt_lib_bluetooth*.pri
  88. %{_qt5_headerdir}/QtNfc/
  89. %{_qt5_libdir}/libQt5Nfc.so
  90. %{_qt5_libdir}/libQt5Nfc.prl
  91. %dir %{_qt5_libdir}/cmake/Qt5Nfc/
  92. %{_qt5_libdir}/cmake/Qt5Nfc/Qt5NfcConfig*.cmake
  93. %{_qt5_libdir}/pkgconfig/Qt5Nfc.pc
  94. %{_qt5_archdatadir}/mkspecs/modules/qt_lib_nfc*.pri
  95. %if 0%{?_qt5_examplesdir:1}
  96. %files examples
  97. %{_qt5_examplesdir}/
  98. %endif
  99. %changelog
  100. * Sat Oct 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.7-1
  101. - new upstream release.
  102. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  103. - new upstream release.
  104. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  105. - new upstream release.
  106. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  107. - new upstream release.
  108. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  109. - new upstream release.
  110. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  111. - update to 5.6.3
  112. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  113. - new upstream release.
  114. - initial build for Vine Linux.
  115. * Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
  116. - drop pkgconfig-style deps
  117. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  118. - Update to 5.6.1
  119. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
  120. - rebuild
  121. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  122. - rebuild
  123. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  124. - rebuild
  125. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  126. - 5.6.0 final release
  127. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
  128. - Update to final RC
  129. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
  130. - Update RC release
  131. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta
  132. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  133. * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
  134. - BR: cmake, use %%license, update Source URL
  135. * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
  136. - Update to final beta release
  137. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  138. - Official beta release
  139. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  140. - Start to implement 5.6.0 beta
  141. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  142. - Update to final release 5.5.1
  143. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  144. - Update to Qt 5.5.1 RC1
  145. * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
  146. - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping macros
  147. * Sun Jul 26 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-3
  148. - Enabled docs
  149. * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
  150. - cleaner qtbase dep, .spec cosmetics
  151. * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
  152. - New final upstream release Qt 5.5.0
  153. * Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  154. - Update for official RC1 released packages
  155. * Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  156. - Qt 5.5.0 RC1
  157. * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> -5.4.2-1
  158. - 5.4.2
  159. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
  160. - Rebuilt for GCC 5 C++11 ABI change
  161. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
  162. - rebuild (gcc5)
  163. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  164. - 5.4.1
  165. * Fri Jan 02 2015 Dan Horák <dan[at]danny.cz> 5.4.0-2
  166. - include the bswap patch in F-20 and F-21 builds too
  167. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  168. - 5.4.0 (final)
  169. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
  170. - 5.4.0-rc
  171. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
  172. - out-of-tree build, use %%qmake_qt5
  173. * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
  174. - 5.4.0-beta
  175. * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
  176. - 5.3.2
  177. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
  178. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  179. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  180. - 5.3.1
  181. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  182. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  183. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
  184. - 5.3.0
  185. * Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
  186. - sanitize .prl files
  187. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  188. - 5.2.1
  189. * Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  190. - first try