--- qtkeychain-0.7.0.orig/debian/control
+++ qtkeychain-0.7.0/debian/control
@@ -0,0 +1,18 @@
+Source: qt5keychain
+Section: unknown
+Priority: optional
+Maintainer: Thomas Müller <thomas.mueller@tmit.eu>
+Build-Depends: debhelper (>= 4.2.21), cmake, qtbase5-dev, qttools5-dev, qttools5-dev-tools
+
+Package: libqt5keychain1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Cross platform password store library
+ use qtkeychain to store passwords easy and secure on Linux, Windows and Mac.
+
+Package: qt5keychain-dev
+Architecture: any
+Depends: ${shlibs:Depends} libqt5keychain1
+Description: Cross platform password store library (development files)
+ use qtkeychain to store passwords easy and secure on Linux, Windows and Mac.
+ This is the development package.
--- qtkeychain-0.7.0.orig/debian/rules
+++ qtkeychain-0.7.0/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f 
+
+%:
+	dh --buildsystem=cmake $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_SKIP_RPATH=YES -DCMAKE_BUILD_TYPE=RelWithDebInfo
+
+override_dh_auto_install:
+	echo "debian/tmp/usr/include/qt5keychain/*" > debian/qt5keychain-dev.install
+
+ifndef DEB_HOST_MULTIARCH
+	echo "debian/tmp/usr/lib/libqt5keychain.so.*" >> debian/libqt5keychain1.install
+	echo "debian/tmp/usr/lib/cmake/Qt5Keychain" >> debian/qt5keychain-dev.install
+	echo "debian/tmp/usr/lib/libqt5keychain.so" >> debian/qt5keychain-dev.install
+else
+	echo "debian/tmp/usr/lib/*/libqt5keychain.so.*" >> debian/libqt5keychain1.install
+	echo "debian/tmp/usr/lib/*/cmake/Qt5Keychain" >> debian/qt5keychain-dev.install
+	echo "debian/tmp/usr/lib/*/libqt5keychain.so" >> debian/qt5keychain-dev.install
+endif
+	set -x; cat debian/qt5keychain-dev.install
+	set -x; cat debian/libqt5keychain1.install
+	dh_auto_install
+	
--- qtkeychain-0.7.0.orig/debian/changelog
+++ qtkeychain-0.7.0/debian/changelog
@@ -0,0 +1,80 @@
+qt5keychain (0.7.0-13.2) stable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 11 Oct 2016 21:21:37 +0000
+
+qt5keychain (0.7.0-0) stable; urgency=medium
+
+  * Update to upstream version 0.7.0
+  * Increment SO version, as the library is no longer binary compatible
+
+ -- Daniel Molkentin <danimo@owncloud.com>  Mon, 23 May 2016 21:53:03 +0200
+
+qt5keychain (0.6.2-1) stable; urgency=medium
+
+  * Update to upstream version 0.6.2
+  * KWallet: Fixes a crash when storing passwords, seen on Debian/KDE4
+
+ -- Daniel Molkentin <danimo@owncloud.com>  Thu, 21 Apr 2016 12:56:29 +0200
+
+qt5keychain (0.6.1-1) stable; urgency=medium
+
+  * Update to upstream release 0.6.1
+
+ -- Daniel Molkentin <danimo@owncloud.com>  Mon, 04 Apr 2016 10:02:10 +0200
+
+qt5keychain (0.5-1) stable; urgency=low
+
+  * Added DEBTRANSFORM-RELEASE: 1
+    https://github.com/owncloud/client/issues/4178
+
+ -- Jürgen Weigert <jw@owncloud.com> Tue, 01 Dec 2015 19:49:42 +0100
+
+qt5keychain (0.5-0) stable; urgency=low
+
+   * Added support for KWallet5 (KDE5/KF)
+
+ -- Klaas Freitag <freitag@owncloud.com>  Fri, 22 May 2015 19:10:15 +0100
+
+qt5keychain (0.4-2) stable; urgency=low
+
+  * fixed https://github.com/owncloud/client/issues/2471
+    debian.rules still assumed a lib* prefix on the *-dev package. 
+    Adapted debian.rules to match the new name. (again)
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 26 Jan 2015 19:10:15 +0100
+
+qt5keychain (0.4) stable; urgency=medium
+
+  * Detect GNOME keychain daemons presence using official API
+  * Fix kdewallet integration
+  * Don't request a new kwallet if there already is one
+
+ -- Daniel Molkentin <danimo@owncloud.com>  Tue, 02 Sep 2014 15:28:09 +0200
+
+qt5keychain (0.3-1) stable; urgency=low
+
+  * Rename libqtkeychain-dev to qtkeychain-dev
+  * Adapted debian.rules to match the new name.
+
+  -- Jürgen Weigert <jw@owncloud.com>  Tue, 16 Jul 2014 09:43:46 -0200
+
+qt5keychain (0.3-1) stable; urgency=low
+
+  * Source: name needs to be qt5keychain in both
+    debian.control and qt5keychain.dsc
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, Jul 14 2014 18:00:47 -0200
+
+qt5keychain (0.3-1) stable; urgency=low
+
+  * Rename libqt5keychain-dev to qt5keychain-dev
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, Jul  1 2014 16:53:29 -0200
+
+libqt5keychain (0.3-0) stable; urgency=low
+
+  * Introduce libqt5keychain
+
+ -- Daniel Molkentin <danimo@owncloud.com>  Fri, 14 Mar 2014 23:40:01 +0100
--- qtkeychain-0.7.0.orig/debian/compat
+++ qtkeychain-0.7.0/debian/compat
@@ -0,0 +1,1 @@
+5
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c86316e..29d7fb5 100644
--- qtkeychain-0.7.0.orig/CMakeLists.txt
+++ qtkeychain-0.7.0/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.6)
 project(qtkeychain)
 
 ###
