File project.diff of Package taskbarswitch

--- taskbarswitch.changes.orig
+++ taskbarswitch.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Wed Mar 15 10:21:49 UTC 2017 - l.lunak@centrum.cz
+
+- Update to version 2.0 (KF5/Qt5)
+
+-------------------------------------------------------------------
 Mon Jun 15 17:58:28 CEST 2009 - llunak@suse.cz
 
 - Initial version 1.0
--- taskbarswitch.spec.orig
+++ taskbarswitch.spec
@@ -15,16 +15,20 @@
 
 
 Name:           taskbarswitch
-BuildRequires:  libkde4-devel
-License:        GPL
+BuildRequires:  pkgconfig(Qt5X11Extras) >= 5.2.0
+BuildRequires:  kdbusaddons-devel
+BuildRequires:  kglobalaccel-devel
+BuildRequires:  ki18n-devel
+BuildRequires:  kwindowsystem-devel
+BuildRequires:  kxmlgui-devel
+License:        GPL-2.0+
 Url:            http://kde-apps.org/content/show.php/TaskbarSwitch?content=107610
 Group:          System/GUI/KDE
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Switch one taskbar item to the left/right using shortcuts
-Version:        1.0
+Version:        2.0
 Release:        1
 Source:         %{name}-%{version}.tar.gz
-%kde4_runtime_requires
 
 %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 Systemsettings->Keyboard&Mouse->Global Shortcuts->KDE daemon).
@@ -33,26 +37,26 @@ Note that the module is loaded during KD
 
 
 Author(s):
-  Lubos Lunak <l.lunak@suse.cz> 
+  Lubos Lunak <l.lunak@centrum.cz> 
 
 
 %prep
 %setup -n %{name}-%{version} -q
 
 %build
-  %cmake_kde4 -d build
+  %cmake_kf5 -d build
   %make_jobs
 
 %install
-  %kde4_makeinstall -C build
-  %kde_post_install
+  %kf5_makeinstall -C build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%{_kde4_modulesdir}/kded_taskbarswitch.so
-%{_kde4_servicesdir}/kded/taskbarswitch.desktop
+%{_kf5_plugindir}/taskbarswitch.so
+%{_kf5_servicesdir}/kded
+%{_kf5_servicesdir}/kded/taskbarswitch.desktop
 
 %changelog