%global framework qqc2-desktop-style Name: %{framework} Version: 5.112.0 Release: 1%{?dist} Summary: QtQuickControls2 style for consistency between QWidget and QML apps # kirigami-plasmadesktop-integration: LGPLv2+ # plugin,org.kde.desktop: LGPLv3 or GPLv3 License: (LGPLv3 or GPLv3) and LGPLv2+ URL: https://cgit.kde.org/%{framework}.git %global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source1: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz.sig Source2: gpgkey-53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB.gpg ## upstream patches BuildRequires: gnupg2 BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: kf5-rpm-macros BuildRequires: kf5-kirigami2-devel >= %{majmin} Requires: kf5-kirigami2%{?_isa} >= %{majmin} BuildRequires: kf5-kconfigwidgets-devel >= %{majmin} BuildRequires: kf5-kiconthemes-devel >= %{majmin} # cmake() style BuildRequires: cmake(KF5Kirigami2) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5IconThemes) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Widgets) # not sure if this is *really* needed or not -- rex # CMakeLists.txt:# When building as a static plugin, dependencies may add a -lQt5X11Extras BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: qt5-qtquickcontrols2-devel Requires: qt5-qtquickcontrols2%{?_isa} %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 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n %{framework}-%{version} -p1 %build %cmake_kf5 %cmake_build %install %cmake_install %files %doc README.md %license LICENSE* %dir %{_kf5_plugindir}/kirigami/ %{_kf5_plugindir}/kirigami/org.kde.desktop.so %{_qt5_qmldir}/QtQuick/Controls.2/org.kde.desktop/ %{_qt5_qmldir}/org/kde/qqc2desktopstyle/ # yes, here %{_kf5_libdir}/cmake/KF5QQC2DeskopStyle/ %{_kf5_libdir}/cmake/KF5QQC2DesktopStyle/ %changelog * Sun Nov 12 2023 Yaroslav Sidlovsky - 5.112.0-1 - 5.112.0 * Thu Oct 19 2023 Yaroslav Sidlovsky - 5.111.0-1 - 5.111.0 * Sun Sep 10 2023 Yaroslav Sidlovsky - 5.110.0-1 - 5.110.0 * Fri Aug 18 2023 Yaroslav Sidlovsky - 5.109.0-1 - 5.109.0 * Sun Jul 09 2023 Yaroslav Sidlovsky - 5.108.0-1 - 5.108.0 * Sat Jun 10 2023 Yaroslav Sidlovsky - 5.107.0-1 - 5.107.0 * Sat May 13 2023 Yaroslav Sidlovsky - 5.106.0-1 - 5.106.0 * Sat Apr 08 2023 Yaroslav Sidlovsky - 5.105.0-1 - 5.105.0 * Sat Mar 11 2023 Yaroslav Sidlovsky - 5.104.0-1 - 5.104.0 * Sun Feb 12 2023 Yaroslav Sidlovsky - 5.103.0-1 - 5.103.0