diff --git a/_service b/_service
new file mode 100644
index 0000000..22006a9
--- /dev/null
+++ b/_service
@@ -0,0 +1,12 @@
+
+
+ git://anongit.kde.org/bluedevil.git
+ git
+ 5.7.90git~%ci~%h
+
+
+ *.tar
+ xz
+
+
+
\ No newline at end of file
diff --git a/_service:recompress:tar_scm:bluedevil-5.7.90git~20160915T095217~d26b50c.tar.xz b/_service:recompress:tar_scm:bluedevil-5.7.90git~20160915T095217~d26b50c.tar.xz
new file mode 100644
index 0000000..bc435df
--- /dev/null
+++ b/_service:recompress:tar_scm:bluedevil-5.7.90git~20160915T095217~d26b50c.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a82a7b76e35f8db7634195a5a2d58026b2bdb7f991602faa5145ac40baaf8e65
+size 62492
diff --git a/_service:set_version:bluedevil5.spec b/_service:set_version:bluedevil5.spec
new file mode 100644
index 0000000..4a2aefa
--- /dev/null
+++ b/_service:set_version:bluedevil5.spec
@@ -0,0 +1,103 @@
+#
+# spec file for package bluedevil5
+#
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 Raymond Wooninck
+#
+# 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/
+#
+
+
+%bcond_without lang
+Name: bluedevil5
+Version: 5.7.90git~20160915T095217~d26b50c
+Release: 0
+Summary: Bluetooth Manager for KDE
+License: GPL-2.0+
+Group: Hardware/Other
+Url: http://www.kde.org/
+Source: bluedevil-%{version}.tar.xz
+Source99: %{name}-rpmlintrc
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: extra-cmake-modules
+BuildRequires: kf5-filesystem
+BuildRequires: shared-mime-info
+BuildRequires: cmake(KDED)
+BuildRequires: cmake(KF5BluezQt)
+BuildRequires: cmake(KF5CoreAddons)
+BuildRequires: cmake(KF5DBusAddons)
+BuildRequires: cmake(KF5I18n)
+BuildRequires: cmake(KF5IconThemes)
+BuildRequires: cmake(KF5KIO)
+BuildRequires: cmake(KF5Notifications)
+BuildRequires: cmake(KF5Plasma)
+BuildRequires: cmake(KF5WidgetsAddons)
+BuildRequires: cmake(KF5WindowSystem)
+BuildRequires: cmake(Qt5Core) >= 5.4.0
+BuildRequires: cmake(Qt5DBus) >= 5.4.0
+BuildRequires: cmake(Qt5Qml) >= 5.4.0
+BuildRequires: cmake(Qt5Widgets) >= 5.4.0
+Requires: bluez-qt-imports >= %{_plasma5_version}
+Requires: bluez-qt-udev >= %{_plasma5_version}
+# atop of the bluez itself, we also need bluez-obexd for kio_obexftp and both send/receive
+Requires: bluez
+# for connecting A2DP profile
+Recommends: pulseaudio-module-bluetooth
+%if %{with lang}
+Recommends: %{name}-lang
+%endif
+Supplements: packageand(bluez:plasma5-workspace)
+Conflicts: bluedevil
+Requires(post): shared-mime-info
+Requires(postun): shared-mime-info
+
+%description
+Bluetooth daemon for KDE, handling connections.
+
+%lang_package
+%prep
+%setup -q -n bluedevil-%{version}
+
+%build
+%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
+%make_jobs
+
+%install
+%kf5_makeinstall -C build
+
+%post
+/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
+
+%postun
+/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
+
+%files
+%defattr(-,root,root,-)
+%doc README
+%{_kf5_sharedir}/mime/packages/bluedevil-mime.xml
+%{_kf5_applicationsdir}/org.kde.bluedevil*.desktop
+%{_kf5_sharedir}/bluedevilwizard/
+%{_kf5_bindir}/bluedevil-*
+%{_kf5_sharedir}/remoteview/
+%{_kf5_notifydir}/
+%{_kf5_plugindir}/
+%{_kf5_servicesdir}/
+%{_kf5_qmldir}/
+%{_kf5_plasmadir}/
+
+%if %{with lang}
+%files lang
+%defattr(-,root,root)
+%{_kf5_localedir}/
+%endif
+
+%changelog
diff --git a/bluedevil-5.7.4.tar.xz b/bluedevil-5.7.4.tar.xz
deleted file mode 100644
index 6b2b2d0..0000000
--- a/bluedevil-5.7.4.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c9566f70f92759a332542be2c691e0d9f26164708f26a81f9ccad9f40b6dd038
-size 139356
diff --git a/bluedevil5-rpmlintrc b/bluedevil5-rpmlintrc
new file mode 100644
index 0000000..cc4ae51
--- /dev/null
+++ b/bluedevil5-rpmlintrc
@@ -0,0 +1,2 @@
+# we don't use find_lang macro as it doesn't searches in subdirectories
+addFilter("file-not-in-%lang .*")
\ No newline at end of file
diff --git a/bluedevil5.changes b/bluedevil5.changes
index 17ad791..8966986 100644
--- a/bluedevil5.changes
+++ b/bluedevil5.changes
@@ -1,87 +1,3 @@
--------------------------------------------------------------------
-Fri Aug 26 20:36:41 UTC 2016 - fabian@ritter-vogt.de
-
-- Update to 5.7.4
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.7.4.php
-
--------------------------------------------------------------------
-Fri Aug 12 23:34:51 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Adjust filelist for the plasmoid appdata, installed with KF > 5.25.0
-
--------------------------------------------------------------------
-Tue Aug 2 11:35:49 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.7.3
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.7.3.php
-
--------------------------------------------------------------------
-Wed Jul 20 08:54:13 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.7.2
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.7.2.php
-
--------------------------------------------------------------------
-Wed Jul 13 06:13:22 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.7.1
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.7.1.php
-
--------------------------------------------------------------------
-Tue Jul 5 11:08:22 UTC 2016 - wbauer@tmo.at
-
-- Use the new %kf5_find_lang macro to create the file list for the
- lang package
-- Remove rpmlintrc file, it is not needed any more now
-
--------------------------------------------------------------------
-Thu Jun 30 12:02:16 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.7.0
- * New feature release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.7.0.php
-
--------------------------------------------------------------------
-Sun May 15 16:50:09 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.6.4
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.6.4.php
-
--------------------------------------------------------------------
-Tue Apr 19 20:45:24 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.6.3
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.6.3.php
-
--------------------------------------------------------------------
-Tue Apr 5 15:53:40 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.6.2
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.6.2.php
-
--------------------------------------------------------------------
-Tue Mar 29 16:20:32 UTC 2016 - hrvoje.senjan@gmail.com
-
-- Update to 5.6.1
- * New bugfix release
- * For more details please see:
- https://www.kde.org/announcements/plasma-5.6.1.php
-
-------------------------------------------------------------------
Sun Mar 20 09:19:17 UTC 2016 - hrvoje.senjan@gmail.com
diff --git a/bluedevil5.spec b/bluedevil5.spec
index 9580159..f256886 100644
--- a/bluedevil5.spec
+++ b/bluedevil5.spec
@@ -2,6 +2,7 @@
# spec file for package bluedevil5
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 Raymond Wooninck
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,34 +19,35 @@
%bcond_without lang
Name: bluedevil5
-Version: 5.7.4
+Version: 5.6.0
Release: 0
Summary: Bluetooth Manager for KDE
License: GPL-2.0+
Group: Hardware/Other
Url: http://www.kde.org/
Source: bluedevil-%{version}.tar.xz
+Source99: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: shared-mime-info
-BuildRequires: cmake(KDED) >= 5.25.0
-BuildRequires: cmake(KF5BluezQt) >= 5.25.0
-BuildRequires: cmake(KF5CoreAddons) >= 5.25.0
-BuildRequires: cmake(KF5DBusAddons) >= 5.25.0
-BuildRequires: cmake(KF5I18n) >= 5.25.0
-BuildRequires: cmake(KF5IconThemes) >= 5.25.0
-BuildRequires: cmake(KF5KIO) >= 5.25.0
-BuildRequires: cmake(KF5Notifications) >= 5.25.0
-BuildRequires: cmake(KF5Plasma) >= 5.25.0
-BuildRequires: cmake(KF5WidgetsAddons) >= 5.25.0
-BuildRequires: cmake(KF5WindowSystem) >= 5.25.0
+BuildRequires: cmake(KDED)
+BuildRequires: cmake(KF5BluezQt)
+BuildRequires: cmake(KF5CoreAddons)
+BuildRequires: cmake(KF5DBusAddons)
+BuildRequires: cmake(KF5I18n)
+BuildRequires: cmake(KF5IconThemes)
+BuildRequires: cmake(KF5KIO)
+BuildRequires: cmake(KF5Notifications)
+BuildRequires: cmake(KF5Plasma)
+BuildRequires: cmake(KF5WidgetsAddons)
+BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(Qt5Core) >= 5.4.0
BuildRequires: cmake(Qt5DBus) >= 5.4.0
BuildRequires: cmake(Qt5Qml) >= 5.4.0
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
-Requires: bluez-qt-imports >= %{version}
-Requires: bluez-qt-udev >= %{version}
+Requires: bluez-qt-imports >= %{_plasma5_version}
+Requires: bluez-qt-udev >= %{_plasma5_version}
# atop of the bluez itself, we also need bluez-obexd for kio_obexftp and both send/receive
Requires: bluez
# for connecting A2DP profile
@@ -66,20 +68,17 @@ Bluetooth daemon for KDE, handling connections.
%setup -q -n bluedevil-%{version}
%build
-%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
+%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
%make_jobs
%install
%kf5_makeinstall -C build
-%if %{with lang}
-%kf5_find_lang
-%endif
%post
-%mime_database_post
+/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
%postun
-%mime_database_postun
+/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
%files
%defattr(-,root,root,-)
@@ -94,10 +93,11 @@ Bluetooth daemon for KDE, handling connections.
%{_kf5_servicesdir}/
%{_kf5_qmldir}/
%{_kf5_plasmadir}/
-%{_kf5_appstreamdir}/
%if %{with lang}
-%files lang -f %{name}.lang
+%files lang
+%defattr(-,root,root)
+%{_kf5_localedir}/
%endif
%changelog