%global gitdate 20231010.095318 %global cmakever 5.240.0 %global commit0 b5f1e2542b8c8e39af659943dcf2ebc27753ca2d %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global framework qqc2-desktop-style Name: kf6-%{framework} Version: %{cmakever}^%{gitdate}.%{shortcommit0} Release: 1%{?dist} Summary: QtQuickControls2 style for consistency between QWidget and QML apps License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KFQF-Accepted-GPL URL: https://invent.kde.org/frameworks/%{framework} Source0: https://invent.kde.org/frameworks/%{framework}/-/archive/%{commit0}/%{framework}-%{shortcommit0}.tar.gz BuildRequires: extra-cmake-modules >= %{cmakever} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: kf6-rpm-macros BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6Kirigami2) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6ColorScheme) BuildRequires: pkgconfig(Qt6Gui) BuildRequires: pkgconfig(Qt6Quick) BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: cmake(KF6Sonnet) BuildRequires: pkgconfig(xkbcommon) BuildRequires: qt6-qtbase-private-devel Requires: kf6-kirigami2 Requires: kf6-filesystem %description This is a style for QtQuickControls 2 that uses QWidget's QStyle for painting, making possible to achieve an higher degree of consistency between QWidget-based and QML-based apps. %prep %autosetup -n %{framework}-%{commit0} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %files %doc README.md %license LICENSES/*.txt %{_kf6_libdir}/cmake/KF6QQC2DesktopStyle/ %{_qt6_qmldir}/org/kde/desktop/ %{_qt6_qmldir}/org/kde/qqc2desktopstyle/ %{_kf6_plugindir}/kirigami/org.kde.desktop.so %changelog * Mon Oct 09 2023 Steve Cossette - 5.240.0^20231010.095318.b5f1e25-1 - Initial Import