# # spec file for package kdeconnect-kde # # Copyright (c) 2015 SUSE LINUX 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.9g # dirver only needed for this "fixed" version, shouldn't be needed in next release %define dirver 0.9 Release: 0 Summary: KDE Android integration License: GPL-2.0+ Group: Productivity/Networking/Other Url: https://projects.kde.org/projects/playground/base/kdeconnect-kde Source: http://download.kde.org/unstable/kdeconnect/%{dirver}/src/%{name}-%{version}.tar.xz Source100: kdeconnect-kde.SuSEfirewall BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: kf5-filesystem BuildRequires: update-desktop-files BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5Declarative) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5Wayland) BuildRequires: cmake(Qca-qt5) BuildRequires: cmake(Qt5Quick) >= 5.2.0 BuildRequires: cmake(Qt5X11Extras) >= 5.2.0 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libfakekey) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xtst) Provides: %{name}-devel = %{version} Obsoletes: %{name}-devel < %{version} Conflicts: kdeconnect-kde4 Recommends: %{name}-lang = %{version} Requires: sshfs BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Integrate Android with the KDE Desktop. Current feature list: - Clipboard share: copy from or to your desktop - Notifications sync (4.3+): Read your Android notifications from KDE - Multimedia remote control: Use your phone as a remote control - WiFi connection: no usb wire or bluetooth needed - RSA Encryption: your information is safe Please note you will need to install KDE Connect on Android for this app to work: https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp %{lang_package} %prep %setup -q %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build for translation_file in kdeconnect-{cli,core,fileitemaction,kcm,kded,kio,plugins} plasma_applet_org.kde.kdeconnect; do %{find_lang} $translation_file %{name}.lang done # susefirewall config file install -D -m 0644 %{S:100} \ %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %suse_update_desktop_file %{buildroot}%{_kf5_applicationsdir}/org.kde.kdeconnect.nonplasma.desktop Network RemoteAccess %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING README* %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %{_kf5_libdir}/libkdeconnect*.so.* %{_kf5_plugindir}/ %{_kf5_applicationsdir}/*.desktop %dir %{_kf5_iconsdir}/hicolor/256x256 %dir %{_kf5_iconsdir}/hicolor/256x256/apps %{_kf5_iconsdir}/hicolor/*/apps/kdeconnect.* %{_kf5_libdir}/libexec/ %{_kf5_servicesdir}/ %{_kf5_notifydir}/ %{_kf5_servicetypesdir}/ %{_kf5_sharedir}/plasma/ %{_kf5_qmldir}/ %{_kf5_bindir}/kdeconnect-cli %{_kf5_sharedir}/dbus-1/services/org.kde.kdeconnect.service %{_kf5_configdir}/autostart/kdeconnectd.desktop %{_kf5_iconsdir}/hicolor/*/status/* # %{_kf5_htmldir}/en/kdeconnect/ %files lang -f %{name}.lang %defattr(-,root,root) %changelog