Summary: Dropbox extension for Caja file manager
Summary(pl.UTF-8): Rozszerzenie Dropbox dla zarządcy plików Caja
Name: caja-dropbox
-Version: 1.18.0
+Version: 1.26.0
Release: 1
License: GPL v3+ (code), CC-BY-ND v3.0 (images)
Group: X11/Applications
-Source0: http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz
-# Source0-md5: f35289c4e93831f8f65bfc6d06f68dfc
+Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
+# Source0-md5: 91a4a5e8b04fe7a710db07882b944405
Patch0: dropboxd-path.patch
-Patch1: python-gpgme-pkg.patch
+Patch1: python-gpg-pkg.patch
URL: http://getdropbox.com/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.9
BuildRequires: caja-devel >= 1.17.1
# rst2man
BuildRequires: docutils
-BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gettext-tools >= 0.19.8
+BuildRequires: glib2-devel >= 1:2.50.0
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: python
-BuildRequires: python-docutils
-BuildRequires: python-pygobject >= 2
-BuildRequires: python-pygtk-gtk >= 2:2
+BuildRequires: python3
+BuildRequires: python3-docutils
+BuildRequires: python3-pygobject3
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires: caja >= 1.17.1
-Requires: python-modules
-Requires: python-pygtk-gtk >= 2:2
+Requires: glib2 >= 1:2.50.0
+Requires: gtk+3
+Requires: python3-pygobject3
+Requires: python3-modules
Requires: xdg-utils
Suggests: dropbox
-Suggests: python-pygpgme
+Suggests: python3-gpg
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch0 -p1
%patch1 -p1
+%{__sed} -i -e '1s|#!/usr/bin/env python3$|#!%{__python3}|' caja-dropbox.in
+
%build
%{__libtoolize}
%{__aclocal} -I m4