From 8e675ff6b369f496e65a74049eb4f3f182e2ab787ec8b6ca73a0e746c966a4ae Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 18 Oct 2016 08:39:42 +0000 Subject: [PATCH] Accepting request 433864 from KDE:Extra New package: KIO Gdrive, to allow KIO-based applications such as Dolphin to access Google Drive OBS-URL: https://build.opensuse.org/request/show/433864 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kio-gdrive?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ kio-gdrive-1.0.2.tar.xz | 3 ++ kio-gdrive.changes | 17 ++++++++++ kio-gdrive.spec | 75 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 118 insertions(+) create mode 100644 .gitattributes create mode 100644 kio-gdrive-1.0.2.tar.xz create mode 100644 kio-gdrive.changes create mode 100644 kio-gdrive.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/kio-gdrive-1.0.2.tar.xz b/kio-gdrive-1.0.2.tar.xz new file mode 100644 index 0000000..a99a1c6 --- /dev/null +++ b/kio-gdrive-1.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cf250d84a97a7bdf97ae5c5cdfc06d38bbbae76266d79e436b48931d0dcecaa +size 22512 diff --git a/kio-gdrive.changes b/kio-gdrive.changes new file mode 100644 index 0000000..cfa13f6 --- /dev/null +++ b/kio-gdrive.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Fri Oct 7 22:19:14 UTC 2016 - wbauer@tmo.at + +- Update to 1.0.2 + * Fix copy-pasting from gdrive:// URLs to local disk (kde#369619) + +------------------------------------------------------------------- +Sun Oct 2 14:48:22 UTC 2016 - hrvoje.senjan@gmail.com + +- Update to 1.0.1 + * Fix broken QUrl construction (kde#367988, kde#369581) + +------------------------------------------------------------------- +Fri Sep 30 18:28:22 UTC 2016 - fabian@ritter-vogt.de + +- Update to stable version 1.0.0 + diff --git a/kio-gdrive.spec b/kio-gdrive.spec new file mode 100644 index 0000000..9be1700 --- /dev/null +++ b/kio-gdrive.spec @@ -0,0 +1,75 @@ +# +# spec file for package kio-gdrive +# +# Copyright (c) 2016 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/ +# + + +%bcond_without lang +Name: kio-gdrive +Version: 1.0.2 +Release: 0 +Summary: Google Drive KIO-slave for KDE applications +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 +BuildRequires: ki18n-devel >= 5.14.0 +BuildRequires: kio-devel >= 5.14.0 +BuildRequires: libkgapi-devel >= 5.3.1 +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: cmake(Qt5Keychain) >= 0.6.0 +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 +Google Drive KIO-slave for KDE applications. +KIO GDrive requires a KIO-enabled file manager at runtime, +otherwise there is no way to setup a Google Drive account. +This can be Dolphin or Gwenview or (the unreleased) Konqueror. + +%prep +%setup -q + +%build + %cmake_kf5 -d build + %make_jobs + +%install + %kf5_makeinstall -C build + %suse_update_desktop_file org.kde.kio-gdrive Network FileTransfer KDE + %if %{with lang} + %find_lang kio5_gdrive %{name}.lang + %endif + +%files +%defattr(-,root,root) +%doc COPYING README.md README.packagers +%{_kf5_plugindir}/kf5/ +%{_kf5_applicationsdir}/org.kde.kio-gdrive.desktop + +%if %{with lang} +%files lang -f %{name}.lang +%defattr(-,root,root,-) +%endif + +%changelog