diff --git a/.gitignore b/.gitignore index 184ad1c..3f66d81 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /qtsvg-everywhere-src-6.1.0.tar.xz /qtsvg-everywhere-src-6.1.1.tar.xz /qtsvg-everywhere-src-6.1.2.tar.xz +/qtsvg-everywhere-src-6.2.0-beta4.tar.xz diff --git a/qt6-qtsvg.spec b/qt6-qtsvg.spec index d1f7d5c..25f0671 100644 --- a/qt6-qtsvg.spec +++ b/qt6-qtsvg.spec @@ -1,14 +1,29 @@ +# FIXME: qt6-qtdeclarative doesn't build on S390x +# BUG: https://bugreports.qt.io/browse/QTBUG-93101 +ExcludeArch: s390x + %global qt_module qtsvg +%global unstable 1 +%if 0%{unstable} +%global prerelease beta4 +%endif + Summary: Qt6 - Support for rendering and displaying SVG Name: qt6-%{qt_module} -Version: 6.1.2 +Version: 6.2.0%{?unstable:~%{prerelease}} Release: 1%{?dist} License: LGPLv3 or GPLv2+ Url: http://www.qt.io %global majmin %(echo %{version} | cut -d. -f1-2) +%global qt_version %(echo %{version} | cut -d~ -f1) + +%if 0%{unstable} +Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/submodules/%{qt_module}-everywhere-src-%{qt_version}-%{prerelease}.tar.xz +%else Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz +%endif # filter plugin provides %global __provides_exclude_from ^%{_qt6_plugindir}/.*\\.so$ @@ -36,7 +51,7 @@ Requires: qt6-qtbase-devel%{?_isa} %{summary}. %prep -%autosetup -n %{qt_module}-everywhere-src-%{version} -p1 +%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1 %build @@ -85,8 +100,12 @@ popd %{_qt6_libdir}/cmake/Qt6SvgWidgets/*.cmake %dir %{_qt6_libdir}/qt6/examples/svg %{_qt6_libdir}/qt6/examples/svg/* +%{_qt6_libdir}/metatypes/qt6*_metatypes.json %changelog +* Mon Sep 13 2021 Jan Grulich - 6.2.0~beta4-1 +- 6.2.0 - beta4 + * Thu Aug 12 2021 Jan Grulich - 6.1.2-1 - 6.1.2 diff --git a/sources b/sources index 5b4b0f5..20bde0b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtsvg-everywhere-src-6.1.2.tar.xz) = d5f447a11d5420fb769f95af5e089370176ec7406265d43a8e333deaf82fb57bb8d998aa0e4f89404f97e8355bf22766e753b156e4ea8017566ce6a5098b6716 +SHA512 (qtsvg-everywhere-src-6.2.0-beta4.tar.xz) = 85b0d126ec6c5ac3eb747ca8bd99eae74efeb2c2f0b15c3ff21fb3802f35c17cb11aa7896c8b154741135bb9feadf1ee06dd95ca838efeafd678b26bc3b83262