File kwin-smaragd.spec of Package kwin-smaragd

#
# spec file for package kwin-smaragd
#
# 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:           kwin-smaragd
Version:        0.1.1
Release:        0
Summary:        Window decorator for KWin to use Emerald themes
License:        GPL-2.0-or-later
Group:          System/GUI/KDE
URL:            https://cgit.kde.org/smaragd.git
Source:         smaragd-0.1.1.tar.gz
BuildRequires:  extra-cmake-modules >= 5.32.0
BuildRequires:  pkgconfig
BuildRequires:  cmake(KDecoration2) >= 5.8.0
BuildRequires:  cmake(KF5Config) >= 5.32.0
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5WidgetsAddons)
BuildRequires:  cmake(Qt5Core) >= 5.6.0
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  pkgconfig(cairo) >= 1.15.0
BuildRequires:  pkgconfig(glib-2.0) >= 2.48.0

%description
Emerald was a popular window decorator for the Compiz window compositor.
Smaragd is a port of Emerald to the KWin window manager for the Plasma
desktop. It supports any Emerald theme, as long as it is decompressed as
~/.emerald/theme/theme.ini

%prep
%setup -q -n smaragd-%{version}

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build

%files
%license COPYING
%doc README NOTES
%dir %{_kf5_plugindir}/org.kde.kdecoration2
%{_kf5_plugindir}/org.kde.kdecoration2/kwin_smaragd.so
%exclude %{_sysconfdir}/xdg/smaragd.knsrc

%changelog
openSUSE Build Service is sponsored by