Dominique Leuenberger 2017-05-22 08:48:45 +00:00 committed by Git OBS Bridge
parent bf226364b2
commit d5a748213d
4 changed files with 28 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c840151e844f9c135ff575771c09ac78bd9c939b853af72b568c76aa1db540ea
size 24096

3
kio-gdrive-1.1.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90a1d0d670d1c5bd523516b2fa93a6280ed84aca88c23c0de31d2d27ca83f260
size 28860

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri May 19 14:52:49 UTC 2017 - wbauer@tmo.at
- Update to 1.1.2
* Updated translations, including translated documentation which
was previously missing.
-------------------------------------------------------------------
Tue Feb 14 20:52:33 UTC 2017 - wbauer@tmo.at

View File

@ -18,7 +18,7 @@
%bcond_without lang
Name: kio-gdrive
Version: 1.1.1
Version: 1.1.2
Release: 0
Summary: Google Drive KIO-slave for KDE applications
License: GPL-2.0+
@ -45,7 +45,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
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.
This can be Dolphin or Gwenview or Konqueror.
%prep
%setup -q
@ -58,6 +58,22 @@ This can be Dolphin or Gwenview or (the unreleased) Konqueror.
%kf5_makeinstall -C build
%if %{with lang}
%find_lang kio5_gdrive %{name}.lang
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
%kf5_find_htmldocs
%else
# %%kf5_find_htmldocs is only defined since Leap 42.3
CURDIR=`pwd`
pushd %{buildroot}%{_kf5_htmldir}
for i in *; do
if ! [ -d "/usr/share/locale/${i}" ]; then
echo "Removing unsupported translation %{_kf5_htmldir}/${i}"
rm -rf "$i"
elif [ "$i" != "en" ]; then
echo "%doc %lang($i) %{_kf5_htmldir}/${i}" >> $CURDIR/%{name}.lang
fi
done
popd
%endif
%endif
%files