diff --git a/kio-gdrive-1.1.1.tar.xz b/kio-gdrive-1.1.1.tar.xz deleted file mode 100644 index 56a8530..0000000 --- a/kio-gdrive-1.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c840151e844f9c135ff575771c09ac78bd9c939b853af72b568c76aa1db540ea -size 24096 diff --git a/kio-gdrive-1.1.2.tar.xz b/kio-gdrive-1.1.2.tar.xz new file mode 100644 index 0000000..6dbb1f4 --- /dev/null +++ b/kio-gdrive-1.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90a1d0d670d1c5bd523516b2fa93a6280ed84aca88c23c0de31d2d27ca83f260 +size 28860 diff --git a/kio-gdrive.changes b/kio-gdrive.changes index 139dce6..3723b5d 100644 --- a/kio-gdrive.changes +++ b/kio-gdrive.changes @@ -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 diff --git a/kio-gdrive.spec b/kio-gdrive.spec index 0f2aead..323b6a4 100644 --- a/kio-gdrive.spec +++ b/kio-gdrive.spec @@ -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