File taskbarswitch.spec of Package taskbarswitch
#
# spec file for package taskbarswitch
#
# Copyright (c) 2010 Lubos Lunak <llunak@novell.com>
#
# 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.
Name: taskbarswitch
Version: 1.0.20200219
Release: 0
Summary: Switch One Taskbar Item to the Left/Right Using Shortcuts
License: GPL-2.0-or-later
Group: System/GUI/KDE
URL: https://github.com/llunak/taskbarswitch/
Source0: %{name}-%{version}.tar.bz2
BuildRequires: extra-cmake-modules
BuildRequires: kdbusaddons-devel
BuildRequires: kglobalaccel-devel
BuildRequires: ki18n-devel
BuildRequires: kwindowsystem-devel
BuildRequires: kxmlgui-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5X11Extras)
%description
This is a small KDED daemon that allows switching one taskbar item to the
left/right by pressing a shortcut (Meta+Left/Right by default, configurable in
Plasma System Settings).
%prep
%setup -q -n %{name}
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%files
%{_kf5_plugindir}/taskbarswitch.so
%dir %{_kf5_servicesdir}/kded/
%{_kf5_servicesdir}/kded/taskbarswitch.desktop
%changelog