qt5-qtimageformats-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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.7
  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-opensource-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. * Sat Oct 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.7-1
  96. - new upstream release.
  97. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.15.2-1
  98. - new upstream release.
  99. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  100. - new upstream release.
  101. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  102. - new upstream release.
  103. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  104. - new upstream release.
  105. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  106. - update to 5.6.3
  107. - delete %%{_qt5_plugindir}/imageformats/libqdds.so
  108. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  109. - new upstream release.
  110. - initial build for Vine Linux.
  111. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  112. - Update to 5.6.1
  113. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  114. - rebuild
  115. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  116. - rebuild
  117. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  118. - 5.6.0 final release
  119. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
  120. - Update to final RC
  121. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
  122. - Update RC release
  123. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta
  124. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  125. * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
  126. - update source URL, use %%license
  127. * Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 5.6.0-0.3
  128. - Rebuilt for libwebp soname bump
  129. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  130. - Official beta release
  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-2
  138. - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
  139. * Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  140. - Update for official RC1 released packages
  141. * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  142. - Qt 5.5.0 RC1
  143. * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1
  144. - 5.4.2
  145. * Sat May 23 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-4
  146. - Provides: qt5-qtimageformat-devel
  147. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
  148. - Rebuilt for GCC 5 C++11 ABI change
  149. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
  150. - rebuild (gcc5)
  151. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  152. - 5.4.1
  153. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  154. - 5.4.0 (final)
  155. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
  156. - 5.4.0-rc
  157. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
  158. - out-of-tree build, use %%qmake_qt5
  159. * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
  160. - 5.4.0-beta, Obsoletes: qt5-qtimageformats-devel
  161. * Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
  162. - 5.3.2
  163. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
  164. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  165. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  166. - 5.3.1
  167. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  168. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  169. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1
  170. - 5.3.0
  171. * Tue Mar 18 2014 Ville Skyttä <ville.skytta@iki.fi> - 5.2.1-2
  172. - Fix libmng test, build with system one instead of bundled
  173. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  174. - 5.2.1
  175. * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  176. - 5.2.0
  177. * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
  178. - 5.2.0-rc1
  179. * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
  180. - rebuild (arm/qreal)
  181. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
  182. - 5.2.0-beta1
  183. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
  184. - ppc bootstrap
  185. * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
  186. - 5.2.0-alpha
  187. - -devel subpkg
  188. - -doc subpkg
  189. * Fri Aug 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
  190. - 5.1.1
  191. * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
  192. - update Source URL
  193. - include license files
  194. - improved description
  195. * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
  196. - 5.0.2
  197. * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
  198. - first try