qt5-qtconnectivity-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. %global qt_module qtconnectivity
  2. #define prerelease
  3. %global qt5_minorver 5.15
  4. %global qt5_version 5.15.2
  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-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. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  101. - new upstream release.
  102. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  103. - new upstream release.
  104. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  105. - new upstream release.
  106. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  107. - new upstream release.
  108. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  109. - update to 5.6.3
  110. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  111. - new upstream release.
  112. - initial build for Vine Linux.
  113. * Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
  114. - drop pkgconfig-style deps
  115. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  116. - Update to 5.6.1
  117. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
  118. - rebuild
  119. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  120. - rebuild
  121. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  122. - rebuild
  123. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  124. - 5.6.0 final release
  125. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
  126. - Update to final RC
  127. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
  128. - Update RC release
  129. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta
  130. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  131. * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
  132. - BR: cmake, use %%license, update Source URL
  133. * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
  134. - Update to final beta release
  135. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  136. - Official beta release
  137. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  138. - Start to implement 5.6.0 beta
  139. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  140. - Update to final release 5.5.1
  141. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  142. - Update to Qt 5.5.1 RC1
  143. * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
  144. - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping macros
  145. * Sun Jul 26 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-3
  146. - Enabled docs
  147. * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
  148. - cleaner qtbase dep, .spec cosmetics
  149. * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
  150. - New final upstream release Qt 5.5.0
  151. * Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  152. - Update for official RC1 released packages
  153. * Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  154. - Qt 5.5.0 RC1
  155. * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> -5.4.2-1
  156. - 5.4.2
  157. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
  158. - Rebuilt for GCC 5 C++11 ABI change
  159. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
  160. - rebuild (gcc5)
  161. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  162. - 5.4.1
  163. * Fri Jan 02 2015 Dan Horák <dan[at]danny.cz> 5.4.0-2
  164. - include the bswap patch in F-20 and F-21 builds too
  165. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  166. - 5.4.0 (final)
  167. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
  168. - 5.4.0-rc
  169. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
  170. - out-of-tree build, use %%qmake_qt5
  171. * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
  172. - 5.4.0-beta
  173. * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
  174. - 5.3.2
  175. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
  176. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  177. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  178. - 5.3.1
  179. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  180. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  181. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
  182. - 5.3.0
  183. * Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
  184. - sanitize .prl files
  185. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  186. - 5.2.1
  187. * Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  188. - first try