From 7a826c3925fa1d7ce43f7e24235867c1026a4dc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 30 May 2013 00:33:16 +0300 Subject: [PATCH] up to 0.10.5 Insync for Linux Beta 16 (0.10.0) https://forums.insynchq.com/discussion/1964/insync-for-linux-beta-16-0-10-0/p1 packaged only, did not test anything --- insync.spec | 79 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 57 insertions(+), 22 deletions(-) diff --git a/insync.spec b/insync.spec index e14bc26..bb5211f 100644 --- a/insync.spec +++ b/insync.spec @@ -5,17 +5,23 @@ # - 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 @@ -33,6 +39,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # 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) @@ -57,15 +66,19 @@ Insync context menu and emblems for Mate File Manager (Caja). %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 @@ -118,29 +131,51 @@ rm -rf $RPM_BUILD_ROOT %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 -- 2.44.0