File applet-window-buttons.spec of Package applet-window-buttons
#
# spec file for applet-window-buttons
#
# Copyright (c) 2017 SUSE LINUX Products 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: applet-window-buttons
Version: 999.git
Release: 0
Summary: Plasma 5 applet in order to show window buttons in your panels
License: GPL-2.0
Group: System/GUI/KDE
Url: https://github.com/psifidotos/applet-window-buttons
Source: applet-window-buttons-%{version}.tar.gz
# https://github.com/psifidotos/applet-window-buttons/issues/190
Patch: 191.patch
BuildRequires: fdupes
BuildRequires: extra-cmake-modules
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5Plasma)
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KDecoration2)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Declarative)
Requires: plasma5-desktop
Requires: libKF5WindowSystem5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Plasma 5 applet in order to show window buttons in your panels
%prep
%setup -q
%patch -p1
%build
%cmake_kf5 -d build -- -Wnodev ..
%make_jobs
%install
%kf5_makeinstall -C build
%fdupes -s %{buildroot}
%files
%defattr(-,root,root)
%{_kf5_plasmadir}/plasmoids/
%{_kf5_appstreamdir}/org.kde.windowbuttons.appdata.xml
%{_kf5_servicesdir}/plasma-applet-org.kde.windowbuttons.desktop
%{_kf5_qmldir}/org/kde/appletdecoration/