qt5-qtimageformats-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. %global qt_module qtimageformats
  2. #define docs 1
  3. # where to enable webp support
  4. %global webp 1
  5. #define prerelease
  6. %global qt5_minorver 5.15
  7. %global qt5_version 5.15.2
  8. #global qt5_patchlevel 1
  9. Summary: Qt5 - QtImageFormats component
  10. Name: qt5-%{qt_module}
  11. Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
  12. Release: 1%{?_dist_release}
  13. Group: system
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for details
  17. License: LGPLv2 with exceptions or GPLv3 with exceptions
  18. Url: https://www.qt.io/
  19. 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
  20. BuildRequires: cmake
  21. BuildRequires: qt5-rpm-macros
  22. BuildRequires: qt5-srpm-macros
  23. BuildRequires: qt5-qtbase-devel >= %{version}
  24. BuildRequires: qt5-qtbase-private-devel
  25. %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
  26. BuildRequires: libmng-devel
  27. BuildRequires: libtiff-devel
  28. BuildRequires: jasper-devel
  29. %if 0%{?webp}
  30. BuildRequires: libwebp-devel
  31. %else
  32. Provides: bundled(libwebp)
  33. %endif
  34. # prior -devel subpkg contained only runtime cmake bits
  35. Obsoletes: qt5-qtimageformats-devel < 5.4.0
  36. Provides: qt5-qtimageformats-devel = %{version}-%{release}
  37. # filter plugin provides
  38. %global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$
  39. %description
  40. The core Qt Gui library by default supports reading and writing image
  41. files of the most common file formats: PNG, JPEG, BMP, GIF and a few more,
  42. ref. Reading and Writing Image Files. The Qt Image Formats add-on module
  43. provides optional support for other image file formats, including:
  44. MNG, TGA, TIFF, WBMP.
  45. %if 0%{?docs}
  46. %package doc
  47. Summary: API documentation for %{name}
  48. Group: documentation
  49. License: GFDL
  50. Requires: %{name} = %{version}-%{release}
  51. BuildRequires: qt5-qdoc
  52. BuildRequires: qt5-qhelpgenerator
  53. BuildArch: noarch
  54. %description doc
  55. %{summary}.
  56. %endif
  57. %debug_package
  58. %prep
  59. %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
  60. %if 0%{?webp}
  61. rm -rv src/3rdparty
  62. %endif
  63. %build
  64. mkdir %{_target_platform}
  65. pushd %{_target_platform}
  66. %{qmake_qt5} ..
  67. make %{?_smp_mflags}
  68. %if 0%{?docs}
  69. make %{?_smp_mflags} docs
  70. %endif
  71. popd
  72. %install
  73. make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  74. %if 0%{?docs}
  75. make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  76. %endif
  77. %files
  78. %license LICENSE.GPL*
  79. %license LICENSE.LGPL*
  80. %{_qt5_plugindir}/imageformats/libqmng.so
  81. %{_qt5_plugindir}/imageformats/libqtga.so
  82. %{_qt5_plugindir}/imageformats/libqtiff.so
  83. %{_qt5_plugindir}/imageformats/libqwbmp.so
  84. %{_qt5_plugindir}/imageformats/libqicns.so
  85. %{_qt5_plugindir}/imageformats/libqjp2.so
  86. %{_qt5_plugindir}/imageformats/libqwebp.so
  87. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake
  88. %if 0%{?docs}
  89. %files doc
  90. %license LICENSE.FDL
  91. %{_qt5_docdir}/qtimageformats.qch
  92. %{_qt5_docdir}/qtimageformats/
  93. %endif
  94. %changelog
  95. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  96. - new upstream release.
  97. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  98. - new upstream release.
  99. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  100. - new upstream release.
  101. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  102. - new upstream release.
  103. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  104. - update to 5.6.3
  105. - delete %%{_qt5_plugindir}/imageformats/libqdds.so
  106. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  107. - new upstream release.
  108. - initial build for Vine Linux.
  109. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  110. - Update to 5.6.1
  111. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  112. - rebuild
  113. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  114. - rebuild
  115. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  116. - 5.6.0 final release
  117. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
  118. - Update to final RC
  119. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
  120. - Update RC release
  121. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.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.4.beta
  124. - update source URL, use %%license
  125. * Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 5.6.0-0.3
  126. - Rebuilt for libwebp soname bump
  127. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  128. - Official beta release
  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-2
  136. - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
  137. * Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  138. - Update for official RC1 released packages
  139. * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  140. - Qt 5.5.0 RC1
  141. * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1
  142. - 5.4.2
  143. * Sat May 23 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-4
  144. - Provides: qt5-qtimageformat-devel
  145. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
  146. - Rebuilt for GCC 5 C++11 ABI change
  147. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
  148. - rebuild (gcc5)
  149. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  150. - 5.4.1
  151. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  152. - 5.4.0 (final)
  153. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
  154. - 5.4.0-rc
  155. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
  156. - out-of-tree build, use %%qmake_qt5
  157. * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
  158. - 5.4.0-beta, Obsoletes: qt5-qtimageformats-devel
  159. * Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
  160. - 5.3.2
  161. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
  162. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  163. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  164. - 5.3.1
  165. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  166. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  167. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1
  168. - 5.3.0
  169. * Tue Mar 18 2014 Ville Skyttä <ville.skytta@iki.fi> - 5.2.1-2
  170. - Fix libmng test, build with system one instead of bundled
  171. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  172. - 5.2.1
  173. * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  174. - 5.2.0
  175. * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
  176. - 5.2.0-rc1
  177. * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
  178. - rebuild (arm/qreal)
  179. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
  180. - 5.2.0-beta1
  181. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
  182. - ppc bootstrap
  183. * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
  184. - 5.2.0-alpha
  185. - -devel subpkg
  186. - -doc subpkg
  187. * Fri Aug 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
  188. - 5.1.1
  189. * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
  190. - update Source URL
  191. - include license files
  192. - improved description
  193. * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
  194. - 5.0.2
  195. * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
  196. - first try