Blame SPECS/qt5-qtsvg.spec

2e3332
%global qt_module qtsvg
2e3332
2e3332
%global build_tests 1
2e3332
2e3332
Summary: Qt5 - Support for rendering and displaying SVG
2e3332
Name:    qt5-%{qt_module}
404993
Version: 5.15.3
404993
Release: 1%{?dist}
2e3332
2e3332
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
2e3332
License: LGPLv2 with exceptions or GPLv3 with exceptions
2e3332
Url:     http://www.qt.io
2e3332
%global majmin %(echo %{version} | cut -d. -f1-2)
404993
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
2e3332
2e3332
# upstream fix
2e3332
Patch0: qtsvg-5.15.2-clamp-parsed-doubles-to-float-representtable-values.patch
404993
Patch1: qtsvg-5.15.2-do-strict-error-checking-when-parsing-path-nodes.patch
1d78ed
2e3332
BuildRequires: make
2e3332
BuildRequires: qt5-qtbase-devel >= %{version}
2e3332
BuildRequires: pkgconfig(zlib)
2e3332
2e3332
BuildRequires: qt5-qtbase-private-devel
2e3332
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
2e3332
2e3332
%description
2e3332
Scalable Vector Graphics (SVG) is an XML-based language for describing
2e3332
two-dimensional vector graphics. Qt provides classes for rendering and
2e3332
displaying SVG drawings in widgets and on other paint devices.
2e3332
2e3332
%package devel
2e3332
Summary: Development files for %{name}
2e3332
Requires: %{name}%{?_isa} = %{version}-%{release}
2e3332
Requires: qt5-qtbase-devel%{?_isa}
2e3332
%description devel
2e3332
%{summary}.
2e3332
2e3332
%package examples
2e3332
Summary: Programming examples for %{name}
2e3332
Requires: %{name}%{?_isa} = %{version}-%{release}
2e3332
%description examples
2e3332
%{summary}.
2e3332
2e3332
%if 0%{?build_tests}
2e3332
%package tests
2e3332
Summary: Unit tests for %{name}
2e3332
Requires: %{name}%{?_isa} = %{version}-%{release}
2e3332
2e3332
%description tests
2e3332
%{summary}.
2e3332
%endif
2e3332
2e3332
%prep
2e3332
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
2e3332
2e3332
2e3332
%build
2e3332
%{qmake_qt5}
2e3332
2e3332
%make_build
2e3332
2e3332
%if 0%{?build_tests}
2e3332
%qt5_build_tests
2e3332
%endif
2e3332
2e3332
%install
2e3332
make install INSTALL_ROOT=%{buildroot}
2e3332
2e3332
%if 0%{?build_tests}
2e3332
%qt5_install_tests
2e3332
%endif
2e3332
2e3332
## .prl/.la file love
2e3332
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
2e3332
pushd %{buildroot}%{_qt5_libdir}
2e3332
for prl_file in libQt5*.prl ; do
2e3332
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
2e3332
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
2e3332
    rm -fv "$(basename ${prl_file} .prl).la"
2e3332
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
2e3332
  fi
2e3332
done
2e3332
popd
2e3332
2e3332
2e3332
%ldconfig_scriptlets
2e3332
2e3332
%files
2e3332
%license LICENSE.*
2e3332
%{_qt5_libdir}/libQt5Svg.so.5*
2e3332
%{_qt5_plugindir}/iconengines/libqsvgicon.so
2e3332
%{_qt5_plugindir}/imageformats/libqsvg.so
2e3332
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QSvg*Plugin.cmake
2e3332
2e3332
%files devel
2e3332
%{_qt5_headerdir}/QtSvg/
2e3332
%{_qt5_libdir}/libQt5Svg.so
2e3332
%{_qt5_libdir}/libQt5Svg.prl
2e3332
%dir %{_qt5_libdir}/cmake/Qt5Svg/
2e3332
%{_qt5_libdir}/cmake/Qt5Svg/Qt5SvgConfig*.cmake
2e3332
%{_qt5_libdir}/pkgconfig/Qt5Svg.pc
2e3332
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_svg*.pri
2e3332
2e3332
%files examples
2e3332
%{_qt5_examplesdir}/
2e3332
2e3332
%if 0%{?build_tests}
2e3332
%files tests
2e3332
%{_qt5_libdir}/qt5/tests
2e3332
%endif
2e3332
2e3332
%changelog
404993
* Mon Mar 28 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
404993
- 5.15.3
404993
  Resolves: bz#2061369
404993
1d78ed
* Tue Jan 11 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.2-8
1d78ed
- Fix out-of-bound write that may lead to DoS
1d78ed
  Resolves: bz#2038488
1d78ed
2e3332
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-7
2e3332
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
2e3332
  Related: rhbz#1991688
2e3332
2e3332
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-6
2e3332
- Add gating tests
2e3332
  Resolves: bz#1968474
2e3332
2e3332
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-5
2e3332
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2e3332
2e3332
* Tue Mar 09 2021 Than Ngo <than@redhat.com> - 5.15.2-4
2e3332
- Resolves: #1931447, Out of bounds read in function QRadialFetchSimd from crafted svg file
2e3332
2e3332
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-3
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2e3332
2e3332
* Tue Nov 24 07:54:16 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
2e3332
- Rebuild for qtbase with -no-reduce-relocations option
2e3332
2e3332
* Fri Nov 20 09:30:47 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
2e3332
- 5.15.2
2e3332
2e3332
* Thu Sep 10 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.1-1
2e3332
- 5.15.1
2e3332
2e3332
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-3
2e3332
- Second attempt - Rebuilt for
2e3332
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2e3332
2e3332
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2e3332
2e3332
* Sat Apr 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.14.2-1
2e3332
- 5.14.2
2e3332
2e3332
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.2-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2e3332
2e3332
* Mon Dec 09 2019 Jan Grulich <jgrulich@redhat.com> - 5.13.2-1
2e3332
- 5.13.2
2e3332
2e3332
* Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
2e3332
- 5.12.5
2e3332
2e3332
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2e3332
2e3332
* Fri Jun 14 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
2e3332
- 5.12.4
2e3332
2e3332
* Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
2e3332
- 5.12.3
2e3332
2e3332
* Fri Feb 15 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
2e3332
- 5.12.1
2e3332
2e3332
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2e3332
2e3332
* Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
2e3332
- 5.11.3
2e3332
2e3332
* Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
2e3332
- 5.11.2
2e3332
2e3332
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2e3332
2e3332
* Wed Jun 20 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
2e3332
- 5.11.1
2e3332
2e3332
* Sun May 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
2e3332
- 5.11.0
2e3332
- use %%make_build %%ldconfig_scriptlets
2e3332
2e3332
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
2e3332
- 5.10.1
2e3332
2e3332
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2e3332
2e3332
* Tue Dec 19 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
2e3332
- 5.10.0
2e3332
2e3332
* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
2e3332
- 5.9.3
2e3332
2e3332
* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
2e3332
- 5.9.2
2e3332
2e3332
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-3
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2e3332
2e3332
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2e3332
2e3332
* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
2e3332
- 5.9.1
2e3332
2e3332
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-3
2e3332
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
2e3332
2e3332
* Fri Jun 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
2e3332
- use macros in Source0, apply examples patch, +whitespace between .spec sections
2e3332
2e3332
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
2e3332
- Upstream official release
2e3332
2e3332
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
2e3332
- Upstream Release Candidate retagged
2e3332
2e3332
* Wed May 24 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.rc.1
2e3332
- Upstream Release Candidate 1
2e3332
2e3332
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
2e3332
- New upstream beta3 release
2e3332
2e3332
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
2e3332
- New upstream beta release
2e3332
2e3332
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2
2e3332
- build -doc unconditionally
2e3332
2e3332
* Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
2e3332
- New upstream version
2e3332
2e3332
* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
2e3332
- 5.7.1 dec5 snapshot
2e3332
- drop BR: cmake (handled by qt5-rpm-macros now)
2e3332
- BR: qt5-qtbase-private-devel
2e3332
2e3332
* Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
2e3332
- New upstream version
2e3332
2e3332
* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
2e3332
- Compiled with gcc
2e3332
2e3332
* Tue Jun 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
2e3332
- Qt 5.7.0 release
2e3332
2e3332
* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
2e3332
- Update to 5.6.1
2e3332
2e3332
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
2e3332
- rebuild
2e3332
2e3332
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
2e3332
- rebuild
2e3332
2e3332
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
2e3332
- 5.6.0 final release
2e3332
2e3332
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8.rc
2e3332
- Update to final RC
2e3332
2e3332
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7
2e3332
- Update RC release
2e3332
2e3332
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta3
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2e3332
2e3332
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta3
2e3332
- update source URL, BR: cmake, use %%license
2e3332
2e3332
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
2e3332
- Update to final beta3 release
2e3332
2e3332
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
2e3332
- Official beta3 release
2e3332
2e3332
* Mon Dec 07 2015 Jan Grulich <jgrulich@redhat.com> - 5.6.0-0.2
2e3332
- (re)add bootstrap macro support
2e3332
2e3332
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
2e3332
- Start to implement 5.6.0 beta3
2e3332
2e3332
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
2e3332
- Update to final release 5.5.1
2e3332
2e3332
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
2e3332
- Update to Qt 5.5.1 RC1
2e3332
2e3332
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
2e3332
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
2e3332
2e3332
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
2e3332
- tighten qtbase dep (#1233829)
2e3332
2e3332
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
2e3332
- New final upstream release Qt 5.5.0
2e3332
2e3332
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
2e3332
- Update for official RC1 released packages
2e3332
2e3332
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
2e3332
- Qt 5.5.0 RC1
2e3332
2e3332
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
2e3332
- 5.4.2
2e3332
2e3332
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
2e3332
- Rebuilt for GCC 5 C++11 ABI change
2e3332
2e3332
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
2e3332
- rebuild (gcc5)
2e3332
2e3332
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
2e3332
- 5.4.1
2e3332
2e3332
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
2e3332
- 5.4.0 (final)
2e3332
2e3332
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
2e3332
- 5.4.0-rc
2e3332
2e3332
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta3
2e3332
- out-of-tree build, use %%qmake_qt5
2e3332
2e3332
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta3
2e3332
- 5.4.0-beta3
2e3332
2e3332
* Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
2e3332
- 5.3.2
2e3332
2e3332
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2e3332
2e3332
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
2e3332
- 5.3.1
2e3332
2e3332
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
2e3332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2e3332
2e3332
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
2e3332
- 5.3.0
2e3332
2e3332
* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
2e3332
- use standard (same as qtbase) .prl sanitation
2e3332
2e3332
* Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
2e3332
- 5.2.1
2e3332
2e3332
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
2e3332
- -examples subpkg
2e3332
2e3332
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
2e3332
- 5.2.0
2e3332
2e3332
* Fri Dec 06 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.11.rc1
2e3332
- rebuild
2e3332
2e3332
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
2e3332
- 5.2.0-rc1
2e3332
2e3332
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta31
2e3332
- rebuild (arm/qreal)
2e3332
2e3332
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta31
2e3332
- 5.2.0-beta31
2e3332
2e3332
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
2e3332
- ppc bootstrap
2e3332
2e3332
* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
2e3332
- 5.2.0-alpha
2e3332
- -doc subpkg
2e3332
2e3332
* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
2e3332
- 5.1.1
2e3332
2e3332
* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
2e3332
- 5.0.2
2e3332
2e3332
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
2e3332
- first try
2e3332