Description: Provide versioned so files for kdeconnectcore lib
 This avoids lintian complain about shipped development files into the
 main package.
 .
 For now, we aren't shiping a development package, but in the future
 this could change. This way, we make our way more easy.

Author: David Suárez <david.sephirot@gmail.com>
Forwarded: https://git.reviewboard.kde.org/r/119013/
Last-Update: 2014-06-29

Index: kdeconnect/core/CMakeLists.txt
===================================================================
--- kdeconnect.orig/core/CMakeLists.txt
+++ kdeconnect/core/CMakeLists.txt
@@ -1,5 +1,10 @@
 project(KDEConnectCore)
 
+set(KDECONNECT_VERSION_MAJOR 1)
+set(KDECONNECT_VERSION_MINOR 0)
+set(KDECONNECT_VERSION_PATCH 1)
+set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KDECONNECT_VERSION_PATCH}")
+
 include_directories(
     ${KDE4_KIO_LIBS}
     ${QJSON_INCLUDE_DIR}
@@ -27,6 +32,11 @@ set(kded_kdeconnect_SRCS
 )
 
 kde4_add_library(kdeconnectcore SHARED ${kded_kdeconnect_SRCS})
+set_target_properties(kdeconnectcore PROPERTIES
+    VERSION ${KDECONNECT_VERSION}
+    SOVERSION ${KDECONNECT_VERSION_MAJOR}
+)
+
 target_link_libraries(kdeconnectcore
 LINK_PUBLIC
     ${KDE4_KDECORE_LIBS}
