2016-10-18 10:39:42 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio-gdrive
|
|
|
|
#
|
2021-01-06 15:51:44 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-10-18 10:39:42 +02: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-28 20:14:41 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-10-18 10:39:42 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-08-18 13:58:12 +02:00
|
|
|
%define kf5_version 5.71.0
|
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2016-10-18 10:39:42 +02:00
|
|
|
%bcond_without lang
|
|
|
|
Name: kio-gdrive
|
2021-08-07 13:17:20 +02:00
|
|
|
Version: 21.08.0
|
2016-10-18 10:39:42 +02:00
|
|
|
Release: 0
|
2017-08-24 18:35:06 +02:00
|
|
|
Summary: Google Drive KIO slave for KDE applications
|
2018-10-01 08:20:08 +02:00
|
|
|
License: GPL-2.0-or-later
|
2016-10-18 10:39:42 +02:00
|
|
|
Group: System/GUI/KDE
|
2020-08-18 13:58:12 +02:00
|
|
|
URL: https://www.kde.org
|
2021-08-07 13:17:20 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2020-08-18 13:58:12 +02:00
|
|
|
%if %{with lang}
|
2021-08-07 13:17:20 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2020-08-18 13:58:12 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
|
|
|
BuildRequires: extra-cmake-modules
|
2017-08-24 18:35:06 +02:00
|
|
|
BuildRequires: intltool
|
2021-03-28 09:27:16 +02:00
|
|
|
BuildRequires: cmake(KAccounts)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KPimGAPI)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2016-10-18 10:39:42 +02:00
|
|
|
# Used by the .desktop file
|
|
|
|
Recommends: dolphin
|
2019-08-23 11:08:52 +02:00
|
|
|
# libkgapi has no ABI stability
|
|
|
|
%requires_eq libKPimGAPICore5
|
2018-10-01 08:20:08 +02:00
|
|
|
|
2016-10-18 10:39:42 +02:00
|
|
|
%description
|
2017-08-24 18:35:06 +02:00
|
|
|
Google Drive KIO slave for KDE applications.
|
2016-10-18 10:39:42 +02:00
|
|
|
KIO GDrive requires a KIO-enabled file manager at runtime,
|
|
|
|
otherwise there is no way to setup a Google Drive account.
|
2017-05-22 10:48:45 +02:00
|
|
|
This can be Dolphin or Gwenview or Konqueror.
|
2016-10-18 10:39:42 +02:00
|
|
|
|
2021-04-19 15:30:59 +02:00
|
|
|
%lang_package
|
|
|
|
|
2016-10-18 10:39:42 +02:00
|
|
|
%prep
|
2021-04-19 15:30:59 +02:00
|
|
|
%autosetup -p1
|
2016-10-18 10:39:42 +02:00
|
|
|
|
|
|
|
%build
|
2020-11-21 13:58:13 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2016-10-18 10:39:42 +02:00
|
|
|
|
|
|
|
%install
|
2020-11-21 13:58:13 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang kio5_gdrive %{name}.lang
|
|
|
|
%kf5_find_htmldocs
|
|
|
|
%endif
|
2016-10-18 10:39:42 +02:00
|
|
|
|
|
|
|
%files
|
2018-10-01 08:20:08 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc README.md README.packagers
|
2017-02-16 17:06:25 +01:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kioslave5/gdrive/
|
2020-08-18 13:58:12 +02:00
|
|
|
%dir %{_kf5_sharedir}/remoteview
|
2020-04-27 23:32:16 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kio_gdrive.metainfo.xml
|
2017-08-24 18:35:06 +02:00
|
|
|
%{_kf5_notifydir}/gdrive.notifyrc
|
2020-08-18 13:58:12 +02:00
|
|
|
%{_kf5_plugindir}/kaccounts/
|
|
|
|
%{_kf5_plugindir}/kf5/
|
|
|
|
%{_kf5_sharedir}/accounts/
|
|
|
|
%{_kf5_sharedir}/remoteview/gdrive-network.desktop
|
2016-10-18 10:39:42 +02:00
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|