File kdeconnect-kde.spec of Package kdeconnect-kde

#
# spec file for package 
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#

Name:           kdeconnect-kde
Version:        0.7.2
Release:        2
License:        GPL-3.0+
Summary:        KDE Connect is a project that aims to communicate all your devices
Url:            https://projects.kde.org/projects/playground/base/kdeconnect-kde
Group:          System/GUI/KDE
Source:         %{name}-%{version}.tar.xz
BuildRequires:  -post-build-checks
BuildRequires: libkde4-devel
BuildRequires: libqjson-devel
BuildRequires: libqca2-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires 

%description
KDE Connect is a project that aims to communicate all your devices. For example, with KDE Connect you can receive your phone notifications on your computer, or just use your phone as a remote control for your desktop.
To achieve this, KDE Connect implements a secure communication protocol over the network, and allows any developer to create plugins on top of it.
Currently there are KDE Connect clients on KDE, Android and Blackberry, and soon we will have iPhone too!

%prep
%setup 

%build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} .
make 

%install
%make_install

%suse_update_desktop_file kdeconnect HardwareSettings

%kde_post_install

%post  -p /sbin/ldconfig

%postun  -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_kde4_bindir}/kdeconnect-cli
%dir %{_kde4_includedir}/kdeconnect
%{_kde4_includedir}/kdeconnect/daemoninterface.h
%{_kde4_includedir}/kdeconnect/dbusinterfaces.h
%{_kde4_includedir}/kdeconnect/devicebatteryinterface.h
%{_kde4_includedir}/kdeconnect/deviceinterface.h
%{_kde4_includedir}/kdeconnect/devicenotificationsinterface.h
%{_kde4_includedir}/kdeconnect/devicesftpinterface.h
%dir %{_kde4_includedir}/KDEConnect
%{_kde4_includedir}/KDEConnect/DevicesModel
%{_kde4_includedir}/kdeconnect/devicesmodel.h
%{_kde4_includedir}/kdeconnect/kdeconnectinterfaces_export.h
%{_kde4_includedir}/kdeconnect/notificationinterface.h
%{_kde4_includedir}/KDEConnect/NotificationsModel
%{_kde4_includedir}/kdeconnect/notificationsmodel.h
%dir %{_kde4_libdir}/cmake/KDEConnect
%{_kde4_libdir}/cmake/KDEConnect/KDEConnectConfig.cmake
%{_kde4_libdir}/cmake/KDEConnect/KDEConnectConfigVersion.cmake
%dir %{_kde4_libdir}/kde4/imports/org/kde/kdeconnect
%{_kde4_libdir}/kde4/imports/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so
%{_kde4_libdir}/kde4/imports/org/kde/kdeconnect/qmldir
%{_kde4_libdir}/kde4/kcm_kdeconnect.so
%{_kde4_libdir}/kde4/kdeconnect_battery.so
%{_kde4_libdir}/kde4/kdeconnect_clipboard.so
%{_kde4_libdir}/kde4/kdeconnectfiletiemaction.so
%{_kde4_libdir}/kde4/kdeconnect_mousepad.so
%{_kde4_libdir}/kde4/kdeconnect_mpriscontrol.so
%{_kde4_libdir}/kde4/kdeconnect_notifications.so
%{_kde4_libdir}/kde4/kdeconnect_pausemusic_config.so
%{_kde4_libdir}/kde4/kdeconnect_pausemusic.so
%{_kde4_libdir}/kde4/kdeconnect_ping.so
%{_kde4_libdir}/kde4/kdeconnect_sftp_config.so
%{_kde4_libdir}/kde4/kdeconnect_sftp.so
%{_kde4_libdir}/kde4/kdeconnect_share_config.so
%{_kde4_libdir}/kde4/kdeconnect_share.so
%{_kde4_libdir}/kde4/kdeconnect_telephony.so
%{_kde4_libdir}/kde4/kded_kdeconnect.so
%{_kde4_libdir}/kde4/kio_kdeconnect.so
%{_kde4_libdir}/kde4/libexec/kdeconnectd
%{_kde4_libdir}/libkdeconnectcore.so
%{_kde4_libdir}/libkdeconnectcore.so.1
%{_kde4_libdir}/libkdeconnectcore.so.1.0.1
%{_kde4_libdir}/libkdeconnectinterfaces.so
%{_kde4_libdir}/libkdeconnectinterfaces.so.1
%{_kde4_libdir}/libkdeconnectinterfaces.so.1.0.1
%{_kde4_applicationsdir}/kdeconnect.desktop
%dir %{_kde4_appsdir}/kdeconnect
%{_kde4_appsdir}/kdeconnect/kdeconnect.notifyrc
%dir %{_kde4_appsdir}/plasma/plasmoids/kdeconnect/contents/ui
%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/contents/ui/Battery.qml
%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/contents/ui/CompactRepresentation.qml
%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/contents/ui/DeviceDelegate.qml
%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/contents/ui/kdeconnect.qml
%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/contents/ui/Sftp.qml
%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/metadata.desktop
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kdeconnect.daemon.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.battery.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.notifications.notification.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.notifications.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.sftp.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.xml
%{_kde4_iconsdir}/hicolor/128x128/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/16x16/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/22x22/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/256x256/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/32x32/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/48x48/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/64x64/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/8x8/apps/kdeconnect.png
%{_kde4_iconsdir}/hicolor/scalable/apps/kdeconnect.svgz
%{_kde4_sharedir}/services/kcm_kdeconnect.desktop
%{_kde4_sharedir}/services/kdeconnect_battery.desktop
%{_kde4_sharedir}/services/kdeconnect_clipboard.desktop
%{_kde4_sharedir}/services/kdeconnect_mousepad.desktop
%{_kde4_sharedir}/services/kdeconnect_mpriscontrol.desktop
%{_kde4_sharedir}/services/kdeconnect_notifications.desktop
%{_kde4_sharedir}/services/kdeconnect_pausemusic_config.desktop
%{_kde4_sharedir}/services/kdeconnect_pausemusic.desktop
%{_kde4_sharedir}/services/kdeconnect_ping.desktop
%{_kde4_sharedir}/services/kdeconnect.protocol
%{_kde4_sharedir}/services/kdeconnectsendfile.desktop
%{_kde4_sharedir}/services/kdeconnect_sftp_config.desktop
%{_kde4_sharedir}/services/kdeconnect_sftp.desktop
%{_kde4_sharedir}/services/kdeconnect_share_config.desktop
%{_kde4_sharedir}/services/kdeconnect_share.desktop
%{_kde4_sharedir}/services/kdeconnect_telephony.desktop
%{_kde4_sharedir}/services/kded/kdeconnect.desktop
%{_kde4_sharedir}/services/plasma-kdeconnect.desktop
%{_kde4_sharedir}/servicetypes/kdeconnect_plugin.desktop
%{_kde4_datadir}/locale/bg/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/bg/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/bg/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/bs/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/bs/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/bs/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/ca/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/cs/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/da/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/de/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/de/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/de/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/de/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/es/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/fi/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/fr/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/fr/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/fr/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/fr/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/gl/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/hu/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/hu/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/hu/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/hu/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/it/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/it/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/it/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/ja/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/ja/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/ja/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/ja/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/ko/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/ko/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/ko/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/ko/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/lt/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/lt/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/lt/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/nl/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/pl/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/pt_BR/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/pt/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/ro/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/ro/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/ro/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/ro/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/ru/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/ru/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/ru/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/sk/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/sv/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/tr/LC_MESSAGES/plasma_applet_kdeconnect.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-cli.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-core.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-filetiemaction.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-kcm.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-kded.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-kio.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/kdeconnect-plugins.mo
%{_kde4_datadir}/locale/uk/LC_MESSAGES/plasma_applet_kdeconnect.mo

'%changelog
openSUSE Build Service is sponsored by