diff --git a/.gitignore b/.gitignore index 206e5a5..c8d6160 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /qtlottie-everywhere-src-6.1.1.tar.xz /qtlottie-everywhere-src-6.1.2.tar.xz +/qtlottie-everywhere-src-6.2.0-beta4.tar.xz diff --git a/qt6-qtlottie.spec b/qt6-qtlottie.spec index 01206ae..1d8a126 100644 --- a/qt6-qtlottie.spec +++ b/qt6-qtlottie.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 qtlottie +%global unstable 1 +%if 0%{unstable} +%global prerelease beta4 +%endif + Summary: Qt6 - Lottie Animation Name: qt6-%{qt_module} -Version: 6.1.2 +Version: 6.2.0%{?unstable:~%{prerelease}} Release: 1%{?dist} License: GPLv3 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 BuildRequires: cmake BuildRequires: gcc-c++ @@ -33,7 +48,7 @@ Requires: qt6-qtbase-devel%{?_isa} %prep -%setup -q -n %{qt_module}-everywhere-src-%{version} +%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1 %build @@ -51,19 +66,23 @@ Requires: qt6-qtbase-devel%{?_isa} %{_qt6_qmldir}/Qt/labs/lottieqt/ %files devel -%dir %{_qt6_libdir}/cmake/Qt6Bodymovin +%dir %{_qt6_libdir}/cmake/Qt6BodymovinPrivate %dir %{_qt6_headerdir}/QtBodymovin %{_qt6_headerdir}/QtBodymovin %{_qt6_libdir}/libQt6Bodymovin.so %{_qt6_libdir}/libQt6Bodymovin.prl -%{_qt6_libdir}/cmake/Qt6Bodymovin/*.cmake +%{_qt6_libdir}/cmake/Qt6BodymovinPrivate/*.cmake %{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtLottieTestsConfig.cmake %{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtplugin*.cmake %{_qt6_datadir}/modules/*.json %{_qt6_archdatadir}/mkspecs/modules/* +%{_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 90f31c0..2b4fc05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtlottie-everywhere-src-6.1.2.tar.xz) = 286d241f3c6fe0134d7bbe83bbcfb17efe72d187e7a6a0dcb7c5de6dfbfc7c0bb430ead3e4e9d9faf1cc3e850a291a5be09dfd830912f12e3004a05aa28d0add +SHA512 (qtlottie-everywhere-src-6.2.0-beta4.tar.xz) = 0f7936960b7e703b219af101308cc78182573d0956b0a836c7800ce446f356f0e01047aa379576d6c31fe10ef2bd44094173d88758962d26f0f0851d99f8db86