forked from pool/kdeconnect-kde
Accepting request 690439 from KDE:Extra
- Update to 1.3.4 * Always play when call ended (kde#400787) * [cli] Show all reachable devices (kde#402088) * [sftp] Get device ID from URL * Retry the network packet if it failed to unserialize * Fix sending keys via CLI * [kio] Fix file browsing with non-KIO file managers - Run spec-cleaner - Refresh 0001-Fix-build-on-Leap-42.3.patch - Add 0001-Revert-Retry-the-network-packet-if-it-failed-to-unse.patch to make it build on Leap 42.3 - Drop Provides/Obsoletes for kdeconnect-kde-devel, that package doesn't exist anymore since 2015 and nothing should need it OBS-URL: https://build.opensuse.org/request/show/690439 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdeconnect-kde?expand=0&rev=14
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kdeconnect-kde
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -12,26 +12,29 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: kdeconnect-kde
|
||||
Version: 1.3.3
|
||||
Version: 1.3.4
|
||||
Release: 0
|
||||
Summary: Integrate Android with Linux desktops
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Other
|
||||
Url: https://community.kde.org/KDEConnect
|
||||
Source: https://download.kde.org/stable/kdeconnect/%{version}/src/%{name}-%{version}.tar.xz
|
||||
Source1: https://download.kde.org/stable/kdeconnect/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||
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
|
||||
Source100: kdeconnect-kde.SuSEfirewall
|
||||
Source101: kdeconnect-kde-firewalld.xml
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch: 0001-Fix-build-on-Leap-42.3.patch
|
||||
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
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(KF5ConfigWidgets)
|
||||
BuildRequires: cmake(KF5DBusAddons)
|
||||
@@ -50,12 +53,9 @@ 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
|
||||
Recommends: %{name}-lang = %{version}
|
||||
Conflicts: kdeconnect-kde4
|
||||
|
||||
%description
|
||||
Integrate Android with Linux desktops.
|
||||
@@ -71,11 +71,13 @@ 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 or
|
||||
https://f-droid.org/en/packages/org.kde.kdeconnect_tp/
|
||||
|
||||
%{lang_package}
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
%if 0%{?suse_version} < 1500
|
||||
%patch -p1
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
@@ -86,13 +88,13 @@ https://f-droid.org/en/packages/org.kde.kdeconnect_tp/
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
for translation_file in kdeconnect-{cli,core,kcm,kded,kio,plugins,urlhandler} plasma_applet_org.kde.kdeconnect; do
|
||||
%{find_lang} $translation_file %{name}.lang
|
||||
%find_lang $translation_file %{name}.lang
|
||||
done
|
||||
|
||||
# susefirewall config file
|
||||
install -D -m 0644 %{S:100} \
|
||||
install -D -m 0644 %{SOURCE100} \
|
||||
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
install -D -m 0644 %{S:101} \
|
||||
install -D -m 0644 %{SOURCE101} \
|
||||
%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
|
||||
|
||||
%suse_update_desktop_file %{buildroot}%{_kf5_applicationsdir}/org.kde.kdeconnect.nonplasma.desktop Network RemoteAccess
|
||||
@@ -101,7 +103,6 @@ install -D -m 0644 %{S:101} \
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%doc README*
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
@@ -133,6 +134,5 @@ install -D -m 0644 %{S:101} \
|
||||
%{_kf5_appstreamdir}/org.kde.kdeconnect.kcm.appdata.xml
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user