|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
Summary: Qt5 - Support for rendering and displaying SVG
|
|
|
|
|
Name: qt5-%{qt_module}
|
|
|
|
|
Version: 5.15.9
|
|
|
|
|
Version: 5.15.3
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
|
|
@ -13,9 +13,11 @@ Url: http://www.qt.io
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Patch0: qtsvg-CVE-2023-32573.patch
|
|
|
|
|
# upstream fix
|
|
|
|
|
Patch0: qtsvg-5.15.2-clamp-parsed-doubles-to-float-representtable-values.patch
|
|
|
|
|
Patch1: qtsvg-5.15.2-do-strict-error-checking-when-parsing-path-nodes.patch
|
|
|
|
|
Patch2: qtsvg-CVE-2023-32573.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
|
|
|
|
@ -49,6 +51,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%{summary}.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
|
|
|
|
|
|
|
|
@ -59,16 +62,27 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%if 0%{?build_tests}
|
|
|
|
|
%qt5_build_tests
|
|
|
|
|
make sub-tests %{?_smp_mflags} -k ||:
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
%if 0%{?build_tests}
|
|
|
|
|
%qt5_install_tests
|
|
|
|
|
# Install tests for gating
|
|
|
|
|
mkdir -p %{buildroot}%{_qt5_libdir}/qt5
|
|
|
|
|
find ./tests -not -path '*/\.*' -type d | while read LINE
|
|
|
|
|
do
|
|
|
|
|
mkdir -p "%{buildroot}%{_qt5_libdir}/qt5/$LINE"
|
|
|
|
|
done
|
|
|
|
|
find ./tests -not -path '*/\.*' -not -name '*.h' -not -name '*.cpp' -not -name '*.pro' -not -name 'uic_wrapper.sh' -not -name 'Makefile' -not -name 'target_wrapper.sh' -type f | while read LINE
|
|
|
|
|
do
|
|
|
|
|
cp -r --parents "$LINE" %{buildroot}%{_qt5_libdir}/qt5/
|
|
|
|
|
done
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## .prl/.la file love
|
|
|
|
|
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
|
|
|
|
pushd %{buildroot}%{_qt5_libdir}
|
|
|
|
@ -89,13 +103,13 @@ popd
|
|
|
|
|
%{_qt5_libdir}/libQt5Svg.so.5*
|
|
|
|
|
%{_qt5_plugindir}/iconengines/libqsvgicon.so
|
|
|
|
|
%{_qt5_plugindir}/imageformats/libqsvg.so
|
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QSvg*Plugin.cmake
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_qt5_headerdir}/QtSvg/
|
|
|
|
|
%{_qt5_libdir}/libQt5Svg.so
|
|
|
|
|
%{_qt5_libdir}/libQt5Svg.prl
|
|
|
|
|
%dir %{_qt5_libdir}/cmake/Qt5Svg/
|
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QSvg*Plugin.cmake
|
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Svg/Qt5SvgConfig*.cmake
|
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Svg.pc
|
|
|
|
|
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_svg*.pri
|
|
|
|
@ -108,99 +122,46 @@ popd
|
|
|
|
|
%{_qt5_libdir}/qt5/tests
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu May 18 2023 Jan Grulich <jgrulich@redhat.com> - 5.15.9-2
|
|
|
|
|
- Fix uninitialized variable usage in m_unitsPerEm (CVE-2023-32573)
|
|
|
|
|
Resolves: bz#2208140
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 5.15.3-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Tue Apr 18 2023 Jan Grulich <jgrulich@redhat.com> - 5.15.9-1
|
|
|
|
|
- 5.15.9
|
|
|
|
|
Resolves: bz#2175742
|
|
|
|
|
* Thu May 18 2023 Jan Grulich <jgrulich@redhat.com> - 5.15.3-2
|
|
|
|
|
- Fix uninitialized variable usage in m_unitsPerEm (CVE-2023-32573)
|
|
|
|
|
Resolves: bz#2208141
|
|
|
|
|
|
|
|
|
|
* Mon Mar 28 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
|
|
|
|
|
- 5.15.3
|
|
|
|
|
Resolves: bz#2061369
|
|
|
|
|
Resolves: bz#2061405
|
|
|
|
|
|
|
|
|
|
* Tue Jan 11 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.2-8
|
|
|
|
|
* Wed Jan 12 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.2-4
|
|
|
|
|
- Fix out-of-bound write that may lead to DoS
|
|
|
|
|
Resolves: bz#2038488
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-6
|
|
|
|
|
- Add gating tests
|
|
|
|
|
Resolves: bz#1968474
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Mar 09 2021 Than Ngo <than@redhat.com> - 5.15.2-4
|
|
|
|
|
- Resolves: #1931447, Out of bounds read in function QRadialFetchSimd from crafted svg file
|
|
|
|
|
Resolves: bz#2038487
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
* Wed Apr 28 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-3
|
|
|
|
|
- Rebuild (binutils)
|
|
|
|
|
Resolves: bz#1930055
|
|
|
|
|
|
|
|
|
|
* Tue Nov 24 07:54:16 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
|
|
|
|
|
- Rebuild for qtbase with -no-reduce-relocations option
|
|
|
|
|
* Thu Apr 08 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
|
|
|
|
|
- Fix out of bounds read in function QRadialFetchSimd from crafted svg file
|
|
|
|
|
Resolves: bz#1945643
|
|
|
|
|
|
|
|
|
|
* Fri Nov 20 09:30:47 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
|
|
|
|
|
* Mon Apr 05 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
|
|
|
|
|
- 5.15.2
|
|
|
|
|
Resolves: bz#1930055
|
|
|
|
|
|
|
|
|
|
* Thu Sep 10 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.1-1
|
|
|
|
|
- 5.15.1
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-3
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Apr 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.14.2-1
|
|
|
|
|
- 5.14.2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 09 2019 Jan Grulich <jgrulich@redhat.com> - 5.13.2-1
|
|
|
|
|
- 5.13.2
|
|
|
|
|
|
|
|
|
|
* Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
|
|
|
|
|
* Mon Nov 18 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
|
|
|
|
|
- 5.12.5
|
|
|
|
|
Resolves: bz#1733151
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 14 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
|
|
|
|
|
- 5.12.4
|
|
|
|
|
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
|
|
|
|
|
- Rebuild to fix CET notes
|
|
|
|
|
Resolves: bz#1657241
|
|
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
|
|
|
|
|
- 5.12.3
|
|
|
|
|
|
|
|
|
|
* Fri Feb 15 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
|
|
|
|
|
- 5.12.1
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
|
|
|
|
|
- 5.11.3
|
|
|
|
|
|
|
|
|
|
* Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
|
|
|
|
|
- 5.11.2
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 20 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
|
|
|
|
|
* Tue Jul 03 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-1
|
|
|
|
|
- 5.11.1
|
|
|
|
|
|
|
|
|
|
* Sun May 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
|
|
|
|
|
- 5.11.0
|
|
|
|
|
- use %%make_build %%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
|
|
|
|
|
- 5.10.1
|
|
|
|
|
|
|
|
|
|