From 94ba66f9f5a98d656e542ffcd97922092ccc69ec Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Thu, 21 Apr 2022 09:20:14 +0200 Subject: [PATCH] 6.3.0 --- .gitignore | 1 + qt6-qtsvg.spec | 26 +++++++++++++++++++++----- sources | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f94f205..d46a39f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /qtsvg-everywhere-src-6.2.1.tar.xz /qtsvg-everywhere-src-6.2.2.tar.xz /qtsvg-everywhere-src-6.2.3.tar.xz +/qtsvg-everywhere-src-6.3.0.tar.xz diff --git a/qt6-qtsvg.spec b/qt6-qtsvg.spec index 8cff23e..72d0b29 100644 --- a/qt6-qtsvg.spec +++ b/qt6-qtsvg.spec @@ -6,10 +6,12 @@ %global prerelease rc2 %endif +#global examples 1 + Summary: Qt6 - Support for rendering and displaying SVG Name: qt6-%{qt_module} -Version: 6.2.3 -Release: 3%{?dist} +Version: 6.3.0 +Release: 1%{?dist} License: LGPLv3 or GPLv2+ Url: http://www.qt.io @@ -47,12 +49,20 @@ Requires: qt6-qtbase-devel%{?_isa} %description devel %{summary}. +%if 0%{?examples} +%package examples +Summary: Programming examples for %{name} +Requires: %{name}-common = %{version}-%{release} +%description examples +%{summary}. +%endif + %prep %autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1 %build -%cmake_qt6 +%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} %cmake_build @@ -95,11 +105,17 @@ popd %{_qt6_libdir}/cmake/Qt6Svg/*.cmake %dir %{_qt6_libdir}/cmake/Qt6SvgWidgets/ %{_qt6_libdir}/cmake/Qt6SvgWidgets/*.cmake -%dir %{_qt6_libdir}/qt6/examples/svg -%{_qt6_libdir}/qt6/examples/svg/* %{_qt6_libdir}/metatypes/qt6*_metatypes.json +%if 0%{?examples} +%files examples +%{_qt6_examplesdir}/ +%endif + %changelog +* Wed Apr 13 2022 Jan Grulich - 6.3.0-1 +- 6.3.0 + * Fri Feb 25 2022 Jan Grulich - 6.2.3-3 - Enable s390x builds diff --git a/sources b/sources index ba5b775..d889059 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtsvg-everywhere-src-6.2.3.tar.xz) = 682354023aec615371bdca6cb295bd6c903fd81604949bf6233e5506afc21b92732593c5294f767851fd5aea8ea9436ee94cb3484e8f3ba03a0dfb47a3d94f84 +SHA512 (qtsvg-everywhere-src-6.3.0.tar.xz) = f00750df4eb43bcd69ccd20d3d1181252e19a19ddf94c8d5b4eb51e88d1005f67d35902942a795a6af434c4a9cad9754da2702248791e1e60feab54341514e98