|
|
|
@ -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 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 <jgrulich@redhat.com> - 6.2.0~beta3-1
|
|
|
|
|
- 6.2.0 - beta3
|
|
|
|
|
|
|
|
|
|
* Thu Aug 12 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.2-1
|
|
|
|
|
- 6.1.2
|
|
|
|
|
|
|
|
|
|