2016-03-12 11:31:46 +00:00
|
|
|
#
|
|
|
|
# spec file for package kdeconnect-kde
|
|
|
|
#
|
2019-04-02 07:23:45 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-03-12 11:31:46 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-02 07:23:45 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-03-12 11:31:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kdeconnect-kde
|
2019-04-02 07:23:45 +00:00
|
|
|
Version: 1.3.4
|
2016-03-12 11:31:46 +00:00
|
|
|
Release: 0
|
2018-04-11 12:01:18 +00:00
|
|
|
Summary: Integrate Android with Linux desktops
|
2019-04-02 07:23:45 +00:00
|
|
|
License: GPL-2.0-or-later
|
2016-03-12 11:31:46 +00:00
|
|
|
Group: Productivity/Networking/Other
|
2019-04-02 07:23:45 +00:00
|
|
|
URL: https://community.kde.org/KDEConnect
|
|
|
|
Source: https://download.kde.org/stable/kdeconnect/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://download.kde.org/stable/kdeconnect/%{version}/%{name}-%{version}.tar.xz.sig
|
2016-03-12 11:31:46 +00:00
|
|
|
Source100: kdeconnect-kde.SuSEfirewall
|
2016-09-12 11:25:37 +00:00
|
|
|
Source101: kdeconnect-kde-firewalld.xml
|
2018-11-15 11:42:01 +00:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2019-04-02 07:23:45 +00:00
|
|
|
Patch0: 0001-Fix-build-on-Leap-42.3.patch
|
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch1: 0001-Revert-Retry-the-network-packet-if-it-failed-to-unse.patch
|
2018-10-23 18:38:02 +00:00
|
|
|
BuildRequires: cmake >= 3.0
|
2018-11-15 11:42:01 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
2016-03-12 11:31:46 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
2019-04-02 07:23:45 +00:00
|
|
|
BuildRequires: pkgconfig
|
2016-03-12 11:31:46 +00:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5Declarative)
|
2016-09-12 11:25:37 +00:00
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2016-03-12 11:31:46 +00:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
2018-11-15 11:42:01 +00:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
2016-03-12 11:31:46 +00:00
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Wayland)
|
|
|
|
BuildRequires: cmake(Qca-qt5)
|
2018-11-15 11:42:01 +00:00
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
2016-03-12 11:31:46 +00:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(libfakekey)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
Requires: sshfs
|
2019-04-02 07:23:45 +00:00
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
Conflicts: kdeconnect-kde4
|
2016-03-12 11:31:46 +00:00
|
|
|
|
|
|
|
%description
|
2018-04-11 12:01:18 +00:00
|
|
|
Integrate Android with Linux desktops.
|
2016-03-12 11:31:46 +00:00
|
|
|
|
|
|
|
Current feature list:
|
|
|
|
- Clipboard share: copy from or to your desktop
|
2018-04-11 12:01:18 +00:00
|
|
|
- Notifications sync (4.3+): Read your Android notifications
|
2016-03-12 11:31:46 +00:00
|
|
|
- Multimedia remote control: Use your phone as a remote control
|
2018-04-11 12:01:18 +00:00
|
|
|
- WiFi connection: no USB wire or Bluetooth needed
|
2016-03-12 11:31:46 +00:00
|
|
|
- RSA Encryption: your information is safe
|
|
|
|
|
|
|
|
Please note you will need to install KDE Connect on Android for this app to work:
|
2018-04-11 12:01:18 +00:00
|
|
|
https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp or
|
|
|
|
https://f-droid.org/en/packages/org.kde.kdeconnect_tp/
|
2016-03-12 11:31:46 +00:00
|
|
|
|
2019-04-02 07:23:45 +00:00
|
|
|
%lang_package
|
|
|
|
|
2016-03-12 11:31:46 +00:00
|
|
|
%prep
|
2019-04-02 07:23:45 +00:00
|
|
|
%setup -q
|
2018-11-15 11:42:01 +00:00
|
|
|
%if 0%{?suse_version} < 1500
|
2019-04-02 07:23:45 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2018-11-15 11:42:01 +00:00
|
|
|
%endif
|
2016-03-12 11:31:46 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2018-10-23 18:38:02 +00:00
|
|
|
for translation_file in kdeconnect-{cli,core,kcm,kded,kio,plugins,urlhandler} plasma_applet_org.kde.kdeconnect; do
|
2019-04-02 07:23:45 +00:00
|
|
|
%find_lang $translation_file %{name}.lang
|
2016-03-12 11:31:46 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
# susefirewall config file
|
2019-04-02 07:23:45 +00:00
|
|
|
install -D -m 0644 %{SOURCE100} \
|
2016-03-12 11:31:46 +00:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
2019-04-02 07:23:45 +00:00
|
|
|
install -D -m 0644 %{SOURCE101} \
|
2016-09-12 11:25:37 +00:00
|
|
|
%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
|
2016-03-12 11:31:46 +00:00
|
|
|
|
|
|
|
%suse_update_desktop_file %{buildroot}%{_kf5_applicationsdir}/org.kde.kdeconnect.nonplasma.desktop Network RemoteAccess
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2018-06-04 11:22:03 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc README*
|
2016-03-12 11:31:46 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
2018-04-11 12:01:18 +00:00
|
|
|
%dir %{_datadir}/nautilus-python
|
2016-09-12 11:25:37 +00:00
|
|
|
%dir %{_libexecdir}/firewalld
|
|
|
|
%dir %{_libexecdir}/firewalld/services
|
2018-04-11 12:01:18 +00:00
|
|
|
%{_datadir}/nautilus-python/extensions/
|
2016-09-12 11:25:37 +00:00
|
|
|
%{_libexecdir}/firewalld/services/%{name}.xml
|
2016-03-12 11:31:46 +00:00
|
|
|
%{_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
|
2017-10-24 20:22:26 +00:00
|
|
|
%{_kf5_bindir}/kdeconnect-handler
|
|
|
|
%{_kf5_bindir}/kdeconnect-indicator
|
2016-03-12 11:31:46 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kdeconnect.service
|
|
|
|
%{_kf5_configdir}/autostart/kdeconnectd.desktop
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/status/*
|
2017-10-24 20:22:26 +00:00
|
|
|
%{_kf5_htmldir}/en/kdeconnect/
|
2016-09-23 09:40:00 +00:00
|
|
|
%dir %{_kf5_appstreamdir}
|
|
|
|
%{_kf5_appstreamdir}/org.kde.kdeconnect.kcm.appdata.xml
|
2016-03-12 11:31:46 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|