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/tsujan/SierraBreezeEnhanced
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  cmake(KDecoration2)
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5GuiAddons)
BuildRequires:  cmake(KF5IconThemes)
BuildRequires:  cmake(KF5ConfigWidgets)
BuildRequires:  cmake(KF5WindowSystem)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5X11Extras)
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_kf5 -d build -- -DCMAKE_BUILD_TYPE=Release
%make_jobs
%install
%kf5_makeinstall -C build
%fdupes -s %{buildroot}

%files
%defattr(-,root,root)
%{_kf5_servicesdir}/
%{_kf5_plugindir}/org.kde.kdecoration2/
%{_libdir}/libsierrabreezeenhancedcommon5.so.*

%changelog
openSUSE Build Service is sponsored by