File SierraBreezeEnhanced.spec of Package SierraBreezeEnhanced
#
# spec file for package SierraBreezeEnhanced
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: SierraBreezeEnhanced
Version: 999.git
Release: 0
Summary: SierraBreezeEnhanced is a fork of KDE Breeze decoration with some enhancements
License: GPLv3
Group: System/GUI/KDE
Url: https://github.com/vickoc911/SierraBreezeEnhanced.git
Source0: %{name}-%{version}.tar.gz
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-gui-private-devel
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(KF6GuiAddons)
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KDecoration3)
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6ConfigWidgets)
BuildRequires: cmake(KF6IconThemes)
BuildRequires: cmake(KF6KCMUtils)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(fftw3)
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
SierraBreezeEnhanced is a fork of BreezeEnhanced decoration with the following changes:
* non-gray colors do not change.
* active window: show symbol on hovering.
* inactive window: always show symbol, show ring color on hovering.
* application menu button is considered special and stays as in vanilla breeze.
* no more option for non macOS-like buttons as it doesn't apply anymore.
%prep
%setup -q
%build
%cmake_kf6 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR='%{_lib}/' -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
%kf6_build
%install
%kf6_install
%fdupes -s %{buildroot}
%files
%defattr(-,root,root)
%{_kf6_applicationsdir}/
%dir %{_kf6_plugindir}/org.kde.kdecoration3.kcm
%{_kf6_plugindir}/org.kde.kdecoration3.kcm/kcm_sierrabreezeenhanceddecoration.so
%dir %{_kf6_plugindir}/org.kde.kdecoration3
%{_kf6_plugindir}/org.kde.kdecoration3/sierrabreezeenhanced.so
%{_libdir}/libsierrabreezeenhancedcommon6.so.*
%changelog