# - if other DE .desktop added, fill them with OnlyShowIn fields
Summary: Insync - Your Google Docs backup and sync tool
Name: insync
-Version: 0.9.41
+Version: 0.10.5
Release: 0.4
License: ?
Group: X11/Applications
# DownloadUrl: https://www.insynchq.com/linux
-Source0: http://s.insynchq.com/builds/%{name}-beta-mate_%{version}_i386.deb
-# NoSource0-md5: 68299418714c494a7d80f6e1c2bc3c0d
+Source0: http://s.insynchq.com/builds/%{name}-beta_%{version}_i386.deb
+# NoSource0-md5: 1b5f38aa68c8495d51c83d92202b9ce6
NoSource: 0
-Source1: http://s.insynchq.com/builds/%{name}-beta-mate_%{version}_amd64.deb
-# NoSource1-md5: 8126bb7915b77a88cc0f098d2398aeff
+Source1: http://s.insynchq.com/builds/%{name}-beta_%{version}_amd64.deb
+# NoSource1-md5: 0397e2edafc3391179c9762254d95789
NoSource: 0
+Source2: http://s.insynchq.com/builds/%{name}-beta-mate_%{version}_i386.deb
+# NoSource2-md5: f6297b2109d2064c8ad95055e5690f66
+NoSource: 2
+Source3: http://s.insynchq.com/builds/%{name}-beta-mate_%{version}_amd64.deb
+# NoSource3-md5: 5d13065677de9d60eec8050efd5cce5b
+NoSource: 2
URL: https://www.insynchq.com/
BuildRequires: rpm-utils
BuildRequires: sed >= 4.0
# a zip and executable at the same time
%define _noautostrip .*/library.zip\\|.*/insync\\|.*/py
+# bunch of Python symbols
+%define skip_post_check_so libpyglib-gi-2.0-python2.7.so.0
+
# Filter GLIBC_PRIVATE Requires
%define _noautoreq (GLIBC_PRIVATE)
%prep
%setup -qcT
%ifarch %{ix86}
-SOURCE=%{SOURCE0}
+SOURCE1=%{SOURCE0}
+SOURCE2=%{SOURCE2}
%endif
%ifarch %{x8664}
-SOURCE=%{SOURCE1}
+SOURCE1=%{SOURCE1}
+SOURCE2=%{SOURCE3}
%endif
%if 0
rpm2cpio $SOURCE | cpio -i -d
%else
-ar x $SOURCE
+ar x $SOURCE1
+tar xzf data.tar.gz
+ar x $SOURCE2
tar xzf data.tar.gz
%endif
%attr(755,root,root) %{_appdir}/*.so*
%attr(755,root,root) %{_appdir}/insync
%{_appdir}/library.zip
-%{_iconsdir}/hicolor/*/emblems/*.png
+#%{_iconsdir}/hicolor/*/emblems/*.png
%dir %{_iconsdir}/insync
%{_iconsdir}/insync/icons
-%{_iconsdir}/insync/Francesco-icons
+#%{_iconsdir}/insync/Francesco-icons
+
+%{_appdir}/res
+%dir %{_appdir}/gevent-0.13.8-py*.egg
+%{_appdir}/gevent-0.13.8-py*.egg/EGG-INFO
+%dir %{_appdir}/gevent-0.13.8-py*.egg/gevent
+%{_appdir}/gevent-0.13.8-py*.egg/gevent/*.py[co]
+%attr(755,root,root) %{_appdir}/gevent-0.13.8-py*.egg/gevent/core.so
+
+%dir %{_appdir}/greenlet-0.4.0-py*.egg
+%{_appdir}/greenlet-0.4.0-py*.egg/EGG-INFO
+%{_appdir}/greenlet-0.4.0-py*.egg/greenlet.py[co]
+%attr(755,root,root) %{_appdir}/greenlet-0.4.0-py*.egg/greenlet.so
+
+%dir %{_appdir}/faulthandler-2.1-py*.egg
+%{_appdir}/faulthandler-2.1-py*.egg/EGG-INFO
+%{_appdir}/faulthandler-2.1-py*.egg/*.py[co]
+%attr(755,root,root) %{_appdir}/faulthandler-2.1-py*.egg/faulthandler.so
+
+%dir %{_appdir}/notify2-0.3-py*.egg
+%{_appdir}/notify2-0.3-py*.egg/notify2.py[co]
+%{_appdir}/notify2-0.3-py*.egg/EGG-INFO
+
+%dir %{_appdir}/pycrypto-2.6-py*.egg
+%{_appdir}/pycrypto-2.6-py*.egg/Crypto
+%{_appdir}/pycrypto-2.6-py*.egg/EGG-INFO
-%dir %{_libdir}/insync/gevent-0.13.8-py*.egg
-%{_libdir}/insync/gevent-0.13.8-py*.egg/EGG-INFO
-%dir %{_libdir}/insync/gevent-0.13.8-py*.egg/gevent
-%{_libdir}/insync/gevent-0.13.8-py*.egg/gevent/*.py[co]
-%attr(755,root,root) %{_libdir}/insync/gevent-0.13.8-py*.egg/gevent/core.so
+%dir %{_appdir}/python_ntlm-1.0.1-py*.egg
+%{_appdir}/python_ntlm-1.0.1-py*.egg/ntlm
+%{_appdir}/python_ntlm-1.0.1-py*.egg/EGG-INFO
-%dir %{_libdir}/insync/greenlet-0.4.0-py*.egg
-%{_libdir}/insync/greenlet-0.4.0-py*.egg/EGG-INFO
-%{_libdir}/insync/greenlet-0.4.0-py*.egg/greenlet.py[co]
-%attr(755,root,root) %{_libdir}/insync/greenlet-0.4.0-py*.egg/greenlet.so
+%dir %{_appdir}/raven-3.1.0-py*.egg
+%{_appdir}/raven-3.1.0-py*.egg/raven
+%{_appdir}/raven-3.1.0-py*.egg/EGG-INFO
%files -n caja-insync
%defattr(644,root,root,755)
%{_desktopdir}/insync-mate.desktop
%{caja_pyextdir}/insync-caja-plugin.py
-%dir %{caja_pyextdir}/libgio
-%{caja_pyextdir}/libgio/__init__.py
+#%dir %{caja_pyextdir}/libgio
+#%{caja_pyextdir}/libgio/__init__.py
# FIXME
%dir %{caja_pyextdir}
-%dir /usr/share/caja-python
+%dir %{_datadir}/caja-python