--- kalternatives-0.13.orig/debian/copyright
+++ kalternatives-0.13/debian/copyright
@@ -0,0 +1,36 @@
+It was downloaded from http://kde-apps.org/content/show.php/Kalternatives?content=16016
+
+Upstream authors are:
+
+    Pino Toscano <pino@kde.org>
+
+Previous upstream authors are:
+
+    Juanjo Alvarez Martinez <juanjo@juanjoalvarez.net>
+    Mario Bensi <nef@ipsquad.net>
+
+Copyright:
+
+    Copyright © 2004 Juanjo Alvarez Martinez <juanjo@juanjoalvarez.net>
+    Copyright © 2004 Mario Bensi <nef@ipsquad.net>
+    Copyright © 2008 Pino Toscano <pino@kde.org>
+
+License:
+
+    | This program is free software; you can redistribute it and/or modify
+    | it under the terms of the GNU General Public License as published by
+    | the Free Software Foundation; either version 2 of the License, or
+    | (at your option) any later version.
+    |
+    | This program is distributed in the hope that it will be useful,
+    | but WITHOUT ANY WARRANTY; without even the implied warranty of
+    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    | GNU General Public License for more details.
+    |
+    | You should have received a copy of the GNU General Public License
+    | along with this program; if not, write to the
+    | Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+    | MA 02110-1301, USA.
+
+    You can find the complete text of the license GPL v2 at 
+    /usr/share/common-licenses/GPL-2
--- kalternatives-0.13.orig/debian/changelog
+++ kalternatives-0.13/debian/changelog
@@ -0,0 +1,26 @@
+kalternatives (0.13-2) unstable; urgency=low
+
+  * Add the cmake build dependency, as it is no more provided by kdelibs5-dev.
+    (Closes: #581295)
+  * Convert to dh7:
+    - bump debhelper build dependency to > 7.3.16
+    - bump pkg-kde-tools build dependency to >= 0.5
+    - remove cdbs build dependency
+    - install AUTHORS, NEWS, and README using docs file
+  * Bump Standards-Version to 3.8.4, no changes required.
+  * Set the source format to 1.0, for now.
+
+ -- Pino Toscano <pino@kde.org>  Wed, 12 May 2010 13:50:03 +0200
+
+kalternatives (0.13-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add watch file.
+
+ -- Pino Toscano <pino@kde.org>  Fri, 14 Aug 2009 00:12:34 +0200
+
+kalternatives (0.12-1) unstable; urgency=low
+
+  * Initial release. (Closes: #534507)
+
+ -- Pino Toscano <pino@kde.org>  Fri, 26 Jun 2009 00:23:23 +0200
--- kalternatives-0.13.orig/debian/control
+++ kalternatives-0.13/debian/control
@@ -0,0 +1,21 @@
+Source: kalternatives
+Section: admin
+Priority: optional
+Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
+Uploaders: Pino Toscano <pino@kde.org>
+Build-Depends: debhelper (>= 7.3.16), pkg-kde-tools (>= 0.5),
+ cmake, kdelibs5-dev (>= 4:4.2.2)
+Standards-Version: 3.8.4
+
+Package: kalternatives
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: man-db
+Description: graphical alternatives system configuration tool
+ Kalternatives offers a GUI to configure the alternative systems (a
+ system that allows you to select one alternative file for many in the
+ filesystem).
+ Kalternatives is available as KDE configuration module, integrated by default
+ into KDE's System Settings.
+ .
+ This is an advanced GUI of the update-alternatives program shipped with dpkg.
--- kalternatives-0.13.orig/debian/rules
+++ kalternatives-0.13/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+%:
+	dh --with kde $@
+
+override_dh_auto_configure:
+	dh_auto_configure --buildsystem=kde -- \
+	    -DKALTERNATIVES_DISTRO=dpkg
+
--- kalternatives-0.13.orig/debian/compat
+++ kalternatives-0.13/debian/compat
@@ -0,0 +1 @@
+7
--- kalternatives-0.13.orig/debian/docs
+++ kalternatives-0.13/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
--- kalternatives-0.13.orig/debian/watch
+++ kalternatives-0.13/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/\?PHPSESSID=.*$//" \
+  http://kde-apps.org/content/download.php?content=16016&id=1 \
+  /CONTENT/content-files/16016-kalternatives_(.*)\.tar\.gz.*
--- kalternatives-0.13.orig/debian/source/format
+++ kalternatives-0.13/debian/source/format
@@ -0,0 +1 @@
+1.0
