File plasmoid-active-window-control.spec of Package plasmoid-active-window-control

# spec file for package plasmoid-active-window-control
# 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

Name:           plasmoid-active-window-control
Version:        1.7.3+git20181024.bb680e8
Release:        0
Summary:        Plasma 5 applet for controlling currently active window
License:        GPL-2.0-only
Group:          System/GUI/KDE
Source:         plasma-applet-active-window-control-%{version}.tar.gz
# PATCH-FIX-OPENSUSE qdbus is libqt4, use qdbus-qt5
Patch0:         use-qdbus-qt5.diff
# PATCH-FIX-UPSTREAM: fix for lyx menus (kde#399975)
Patch1:         fix-appmenu.patch
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  kconfig-devel
BuildRequires:  kconfigwidgets-devel
BuildRequires:  kdeclarative-devel
BuildRequires:  kdoctools-devel
BuildRequires:  kglobalaccel-devel
BuildRequires:  ki18n-devel
BuildRequires:  kwindowsystem-devel
BuildRequires:  kxmlgui-devel
BuildRequires:  libSM-devel
BuildRequires:  plasma-framework-devel
BuildRequires:  plasma5-workspace-devel
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Quick)
BuildRequires:  cmake(Qt5QuickWidgets)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  cmake(Qt5X11Extras)

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Plasma 5 applet for controlling currently active window. It can integrate the
window titlebar in the panel and has support for a global menu.

%setup -q -n plasma-applet-active-window-control-%{version}
%autopatch -p1

%cmake_kf5 -d build

%kf5_makeinstall -C build
%fdupes -s %{buildroot}

%license COPYING

openSUSE Build Service is sponsored by