diff --git a/.gitignore b/.gitignore index 20cd935..697653b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /qtshadertools-everywhere-src-6.1.0.tar.xz /qtshadertools-everywhere-src-6.1.1.tar.xz /qtshadertools-everywhere-src-6.1.2.tar.xz +/qtshadertools-everywhere-src-6.2.0-beta3.tar.xz diff --git a/qt6-qtshadertools.spec b/qt6-qtshadertools.spec index 46551ec..19c0ce2 100644 --- a/qt6-qtshadertools.spec +++ b/qt6-qtshadertools.spec @@ -1,14 +1,25 @@ %global qt_module qtshadertools +%global unstable 1 +%if 0%{unstable} +%global prerelease beta3 +%endif + Summary: Qt6 - Qt Shader Tools module builds on the SPIR-V Open Source Ecosystem Name: qt6-%{qt_module} -Version: 6.1.2 +Version: 6.2.0%{?unstable:~%{prerelease}} Release: 1%{?dist} License: LGPLv3 Url: http://www.qt.io -%global majmin %(echo %{version} | cut -d. -f1-2) +%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 # Upstream patches @@ -34,7 +45,7 @@ Requires: qt6-qtbase-devel%{?_isa} %prep -%autosetup -n %{qt_module}-everywhere-src-%{version} -p1 +%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1 %build @@ -94,8 +105,12 @@ popd %{_qt6_libdir}/cmake/Qt6ShaderTools/*.cmake %dir %{_qt6_libdir}/cmake/Qt6ShaderToolsTools/ %{_qt6_libdir}/cmake/Qt6ShaderToolsTools/*.cmake +%{_qt6_libdir}/metatypes/qt6*_metatypes.json %changelog +* Mon Aug 30 2021 Jan Grulich - 6.2.0~beta3-1 +- 6.2.0 - beta3 + * Thu Aug 12 2021 Jan Grulich - 6.1.2-1 - 6.1.2 diff --git a/sources b/sources index 37f8e41..91722db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtshadertools-everywhere-src-6.1.2.tar.xz) = 365cf902978593f0179e383d0fe54c70a1433ea9b69b106ad2f0299c823d06a73db5c7af54f99631d2f1d959fd562cbef0bf355728d0af468f62af762e332e41 +SHA512 (qtshadertools-everywhere-src-6.2.0-beta3.tar.xz) = b5bf46575362be20815f5a8c6cba6760c1511eb432ed3659cb87fbda03d1b7ada7cb289020471461480d6a2b1f3e92300869db92561e22fd9428a619428055fd