File BreezeEnhanced.spec of Package BreezeEnhanced
#
# spec file for package BreezeEnhanced
#
# 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:           BreezeEnhanced
Version:        6.3.1739999687.8d15411
Release:        0
Summary:        BreezeEnhanced is a fork of KDE Breeze decoration with some enhancements
License:        GPLv3
Group:          System/GUI/KDE
Url:            https://github.com/tsujan/BreezeEnhanced
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  kf6-extra-cmake-modules
BuildRequires:  cmake(KDecoration3)
BuildRequires:  cmake(KF6CoreAddons)
BuildRequires:  cmake(KF6GuiAddons)
BuildRequires:  cmake(KF6ConfigWidgets)
BuildRequires:  cmake(KF6KCMUtils)
BuildRequires:  cmake(KF6WindowSystem)
BuildRequires:  cmake(KF6I18n)
BuildRequires:  cmake(Qt6DBus)
BuildRequires:  pkgconfig(xcb)
BuildRequires:  pkgconfig(fftw3)
BuildRequires:  fdupes
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%description
BreezeEnhanced is a fork of KDE Breeze decoration with the following changes:
* The optional title-bar gradient is smooth and has a configurable intensity.
* The title-bar opacity is configurable.
* A very mild light line is added to the top of title-bar (especially for dark color schemes) and the separator between title-bar and window is removed.
* The close, minimize and maximize buttons are macOS-like (but not clones) and their sizes change on mouse-over when animation is enabled.
* Opaqueness is added to the exception list properties.
* Title-bar font is set indpendent from the KDE font settings (for use outside KDE).
Please note that BreezeEnhanced is not related to the Breeze widget style. In fact, it is made to match various themes of the Kvantum widget style but it works with all styles.
%prep
%autosetup -p1
%build
%cmake_kf6 -DCMAKE_BUILD_TYPE=Release
%kf6_build
%install
%kf6_install
%fdupes -s %{buildroot}
%files
%dir %{_libdir}/qt6/plugins/org.kde.kdecoration3.kcm
%{_libdir}/qt6/plugins/org.kde.kdecoration3.kcm/kcm_breezeenhanced.so
%{_datadir}/applications/kcm_breezeenhanced.desktop
%{_kf6_plugindir}/org.kde.kdecoration3/
%{_libdir}/libbreezeenhancedcommon6.so.*
%changelog