%define stable %([ "$(echo %{version} |cut -d. -f2)" -ge 80 -o "$(echo %{version} |cut -d. -f3)" -ge 80 ] && echo -n un; echo -n stable) %undefine _debugsource_packages #define git 20240222 %define gitbranch Plasma/6.0 %define gitbranchd %(echo %{gitbranch} |sed -e "s,/,-,g") Summary: The Breeze theme for GTK+ windows Name: breeze-gtk Version: 6.5.4 Release: %{?git:0.%{git}.}1 License: GPL Group: Graphical desktop/KDE Url: https://www.kde.org %if 0%{?git:1} Source0: https://invent.kde.org/plasma/breeze-gtk/-/archive/%{gitbranch}/breeze-gtk-%{gitbranchd}.tar.bz2#/breeze-gtk-%{git}.tar.bz2 %else Source0: http://download.kde.org/%{stable}/plasma/%(echo %{version} |cut -d. -f1-3)/breeze-gtk-%{version}.tar.xz %endif # FIXME this is a really weird issue: On aarch64, the # build fails with a crash in pycairo, but as soon as # any sort of debugging is enabled, the problem goes # away. # This is obviously not the right "fix" - but in the # mean time, it does allow the package to be built and # if the problem returns, at least we'll get some # information about it. Patch0: debug.patch BuildRequires: cmake(ECM) BuildRequires: cmake(Breeze) BuildRequires: cmake(Qt6) BuildRequires: cmake(Qt6Core) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(python3) BuildRequires: python3dist(pycairo) BuildRequires: gtk2-modules BuildRequires: sassc #Supplements: gtk+2.0 #Supplements: gtk2-modules BuildSystem: cmake BuildOption: -DBUILD_QCH:BOOL=ON BuildOption: -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON # Renamed 2025-05-01 after 6.0 %rename plasma6-breeze-gtk %description This package contains a version of the KDE Breeze theme for GTK applications and environments, such as GNOME. %files %{_datadir}/themes/Breeze %{_datadir}/themes/Breeze-Dark