|
|
2bf6bc |
|
|
|
2bf6bc |
%global qt_module qtimageformats
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%define docs 1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
# where to enable webp support
|
|
|
433c55 |
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
2bf6bc |
%global webp 1
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
Summary: Qt5 - QtImageFormats component
|
|
|
2bf6bc |
Name: qt5-%{qt_module}
|
|
|
52b32a |
Version: 5.9.7
|
|
|
169d7f |
Release: 2%{?dist}
|
|
|
2bf6bc |
|
|
|
2bf6bc |
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for details
|
|
|
2bf6bc |
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
2bf6bc |
Url: http://www.qt.io
|
|
|
433c55 |
Source0: http://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
433c55 |
|
|
|
433c55 |
Patch1: qtimageformats-disable-neon.patch
|
|
|
2bf6bc |
|
|
|
169d7f |
# Security fixes
|
|
|
169d7f |
Patch100: qtimageformats-CVE-2018-25011.patch
|
|
|
169d7f |
Patch101: qtimageformats-CVE-2018-25014.patch
|
|
|
169d7f |
Patch102: qtimageformats-CVE-2020-36328.patch
|
|
|
169d7f |
Patch103: qtimageformats-CVE-2020-36329.patch
|
|
|
169d7f |
|
|
|
2bf6bc |
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
2bf6bc |
BuildRequires: libmng-devel
|
|
|
2bf6bc |
BuildRequires: libtiff-devel
|
|
|
2bf6bc |
BuildRequires: jasper-devel
|
|
|
2bf6bc |
%if 0%{?webp}
|
|
|
2bf6bc |
BuildRequires: libwebp-devel
|
|
|
2bf6bc |
%else
|
|
|
2bf6bc |
Provides: bundled(libwebp)
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
# prior -devel subpkg contained only runtime cmake bits
|
|
|
2bf6bc |
Obsoletes: qt5-qtimageformats-devel < 5.4.0
|
|
|
2bf6bc |
Provides: qt5-qtimageformats-devel = %{version}-%{release}
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
2bf6bc |
|
|
|
433c55 |
# filter plugin provides
|
|
|
433c55 |
%global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$
|
|
|
433c55 |
|
|
|
2bf6bc |
%description
|
|
|
2bf6bc |
The core Qt Gui library by default supports reading and writing image
|
|
|
2bf6bc |
files of the most common file formats: PNG, JPEG, BMP, GIF and a few more,
|
|
|
2bf6bc |
ref. Reading and Writing Image Files. The Qt Image Formats add-on module
|
|
|
2bf6bc |
provides optional support for other image file formats, including:
|
|
|
2bf6bc |
MNG, TGA, TIFF, WBMP.
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%if 0%{?docs}
|
|
|
2bf6bc |
%package doc
|
|
|
2bf6bc |
Summary: API documentation for %{name}
|
|
|
2bf6bc |
License: GFDL
|
|
|
2bf6bc |
Requires: %{name} = %{version}-%{release}
|
|
|
2bf6bc |
BuildRequires: qt5-qdoc
|
|
|
2bf6bc |
BuildRequires: qt5-qhelpgenerator
|
|
|
2bf6bc |
BuildArch: noarch
|
|
|
2bf6bc |
%description doc
|
|
|
2bf6bc |
%{summary}.
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%prep
|
|
|
58513a |
%setup -q -n %{qt_module}-opensource-src-%{version}
|
|
|
433c55 |
|
|
|
433c55 |
%patch1 -p1 -b .qtimageformats-disable-neon
|
|
|
433c55 |
|
|
|
169d7f |
%patch100 -p1 -b .qtimageformats-CVE-2018-25011
|
|
|
169d7f |
%patch101 -p1 -b .qtimageformats-CVE-2018-25014
|
|
|
169d7f |
%patch102 -p1 -b .qtimageformats-CVE-2020-36328
|
|
|
169d7f |
%patch103 -p1 -b .qtimageformats-CVE-2020-36329
|
|
|
169d7f |
|
|
|
2bf6bc |
%if 0%{?webp}
|
|
|
2bf6bc |
rm -rv src/3rdparty
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%build
|
|
|
433c55 |
%{qmake_qt5}
|
|
|
2bf6bc |
|
|
|
2bf6bc |
make %{?_smp_mflags}
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%if 0%{?docs}
|
|
|
2bf6bc |
make %{?_smp_mflags} docs
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%install
|
|
|
433c55 |
make install INSTALL_ROOT=%{buildroot}
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%if 0%{?docs}
|
|
|
433c55 |
make install_docs INSTALL_ROOT=%{buildroot}
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%files
|
|
|
2bf6bc |
%license LGPL_EXCEPTION.txt LICENSE.GPL* LICENSE.LGPL*
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqmng.so
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqtga.so
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqtiff.so
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqwbmp.so
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqicns.so
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqjp2.so
|
|
|
2bf6bc |
%{_qt5_plugindir}/imageformats/libqwebp.so
|
|
|
2bf6bc |
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%if 0%{?docs}
|
|
|
2bf6bc |
%files doc
|
|
|
2bf6bc |
%license LICENSE.FDL
|
|
|
2bf6bc |
%{_qt5_docdir}/qtimageformats.qch
|
|
|
2bf6bc |
%{_qt5_docdir}/qtimageformats/
|
|
|
2bf6bc |
%endif
|
|
|
2bf6bc |
|
|
|
2bf6bc |
|
|
|
2bf6bc |
%changelog
|
|
|
169d7f |
* Tue May 25 2021 Jan Grulich <jgrulich@redhat.com> - 5.9.7-2
|
|
|
169d7f |
- libwebp security fixes:
|
|
|
169d7f |
Resolves: bz#1961742
|
|
|
169d7f |
Resolves: bz#1961743
|
|
|
169d7f |
Resolves: bz#1961744
|
|
|
169d7f |
Resolves: bz#1961745
|
|
|
169d7f |
|
|
|
52b32a |
* Thu Feb 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.9.7-1
|
|
|
52b32a |
- Update to 5.9.7
|
|
|
52b32a |
Resolves: bz#1564007
|
|
|
52b32a |
|
|
|
433c55 |
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
|
|
|
433c55 |
- Update to 5.9.2
|
|
|
433c55 |
Resolves: bz#1482782
|
|
|
433c55 |
|
|
|
433c55 |
* Fri Aug 18 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
|
|
|
433c55 |
- Update to 5.9.1
|
|
|
433c55 |
Resolves: bz#1482782
|
|
|
433c55 |
|
|
|
58513a |
* Wed Jan 11 2017 Jan Grulich <jgrulich@redhat.com> - 5.6.2-1
|
|
|
58513a |
- Update to 5.6.2
|
|
|
58513a |
Resolves: bz#1384821
|
|
|
58513a |
|
|
|
2bf6bc |
* Tue Aug 30 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-10
|
|
|
2bf6bc |
- Increase build version to have newer version than in EPEL
|
|
|
2bf6bc |
Resolves: bz#1317404
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
|
|
|
2bf6bc |
- Update to 5.6.1
|
|
|
2bf6bc |
Resolves: bz#1317404
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Apr 13 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-5
|
|
|
2bf6bc |
- Enable documentation
|
|
|
2bf6bc |
Resolves: bz#1317404
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Apr 07 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-4
|
|
|
2bf6bc |
- Initial version for RHEL
|
|
|
2bf6bc |
Resolves: bz#1317404
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
|
|
|
2bf6bc |
- rebuild
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
|
|
|
2bf6bc |
- rebuild
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
|
|
|
2bf6bc |
- 5.6.0 final release
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
|
|
|
2bf6bc |
- Update to final RC
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
|
|
|
2bf6bc |
- Update RC release
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta
|
|
|
2bf6bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
|
|
|
2bf6bc |
- update source URL, use %%license
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 5.6.0-0.3
|
|
|
2bf6bc |
- Rebuilt for libwebp soname bump
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
|
|
|
2bf6bc |
- Official beta release
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
|
|
|
2bf6bc |
- Start to implement 5.6.0 beta
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
|
|
|
2bf6bc |
- Update to final release 5.5.1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
|
|
|
2bf6bc |
- Update to Qt 5.5.1 RC1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
|
|
|
2bf6bc |
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
|
|
|
2bf6bc |
- Update for official RC1 released packages
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
|
|
|
2bf6bc |
- Qt 5.5.0 RC1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1
|
|
|
2bf6bc |
- 5.4.2
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sat May 23 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-4
|
|
|
2bf6bc |
- Provides: qt5-qtimageformat-devel
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
|
|
|
2bf6bc |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
|
|
|
2bf6bc |
- rebuild (gcc5)
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
|
|
|
2bf6bc |
- 5.4.1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
|
|
|
2bf6bc |
- 5.4.0 (final)
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
|
|
|
2bf6bc |
- 5.4.0-rc
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
|
|
|
2bf6bc |
- out-of-tree build, use %%qmake_qt5
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
|
|
|
2bf6bc |
- 5.4.0-beta, Obsoletes: qt5-qtimageformats-devel
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
|
|
|
2bf6bc |
- 5.3.2
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
|
2bf6bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
|
|
|
2bf6bc |
- 5.3.1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
|
|
|
2bf6bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1
|
|
|
2bf6bc |
- 5.3.0
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Tue Mar 18 2014 Ville Skyttä <ville.skytta@iki.fi> - 5.2.1-2
|
|
|
2bf6bc |
- Fix libmng test, build with system one instead of bundled
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
|
|
2bf6bc |
- 5.2.1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
|
|
|
2bf6bc |
- 5.2.0
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
|
|
|
2bf6bc |
- 5.2.0-rc1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
|
|
|
2bf6bc |
- rebuild (arm/qreal)
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
|
|
|
2bf6bc |
- 5.2.0-beta1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
|
|
|
2bf6bc |
- ppc bootstrap
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
|
|
|
2bf6bc |
- 5.2.0-alpha
|
|
|
2bf6bc |
- -devel subpkg
|
|
|
2bf6bc |
- -doc subpkg
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Fri Aug 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
|
|
|
2bf6bc |
- 5.1.1
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
|
|
|
2bf6bc |
- update Source URL
|
|
|
2bf6bc |
- include license files
|
|
|
2bf6bc |
- improved description
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
|
|
|
2bf6bc |
- 5.0.2
|
|
|
2bf6bc |
|
|
|
2bf6bc |
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
|
|
|
2bf6bc |
- first try
|
|
|
2bf6bc |
|