2016-10-18 10:39:42 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio-gdrive
|
|
|
|
#
|
2017-02-16 17:06:25 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_without lang
|
|
|
|
Name: kio-gdrive
|
2017-08-24 18:35:06 +02:00
|
|
|
Version: 1.2.0.1
|
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
|
2016-10-18 10:39:42 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
|
|
|
Source: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules
|
2017-08-24 18:35:06 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: kaccounts-integration-devel
|
2016-10-18 10:39:42 +02:00
|
|
|
BuildRequires: ki18n-devel >= 5.14.0
|
|
|
|
BuildRequires: kio-devel >= 5.14.0
|
2017-08-24 18:35:06 +02:00
|
|
|
BuildRequires: libaccounts-glib-devel
|
|
|
|
BuildRequires: libsignon-qt5-devel
|
2016-10-18 10:39:42 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
2017-08-24 18:35:06 +02:00
|
|
|
BuildRequires: cmake(KPimGAPI) >= 5.5.0
|
2016-10-18 10:39:42 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
|
|
# Used by the .desktop file
|
|
|
|
Recommends: dolphin
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang kio5_gdrive %{name}.lang
|
2017-05-22 10:48:45 +02:00
|
|
|
%kf5_find_htmldocs
|
2016-10-18 10:39:42 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING README.md README.packagers
|
2017-02-16 17:06:25 +01:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kioslave5/gdrive/
|
2017-08-24 18:35:06 +02:00
|
|
|
%{_kf5_plugindir}/kaccounts/
|
2016-10-18 10:39:42 +02:00
|
|
|
%{_kf5_plugindir}/kf5/
|
2017-02-16 17:06:25 +01:00
|
|
|
%dir %{_datadir}/remoteview
|
|
|
|
%{_datadir}/remoteview/gdrive-network.desktop
|
2017-08-24 18:35:06 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kio-gdrive.appdata.xml
|
|
|
|
%{_datadir}/accounts/
|
|
|
|
%{_kf5_notifydir}/gdrive.notifyrc
|
2016-10-18 10:39:42 +02:00
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|