Summary: Sync and backup files between computers
Name: dropbox
# https://www.dropboxforum.com/hc/en-us/community/posts/206682016-New-Versioning-Scheme
-Version: 61.4.95
+Version: 66.4.84
Release: 1
License: Proprietary
Group: Daemons
Source0: https://clientupdates.dropboxstatic.com/dbx-releng/client/%{name}-lnx.x86-%{version}.tar.gz
-# NoSource0-md5: efaa5f37452dd2e8700c0c29dda168c2
+# NoSource0-md5: 95a25bc9e57e053defc133e67e590c5c
NoSource: 0
Source1: https://clientupdates.dropboxstatic.com/dbx-releng/client/%{name}-lnx.x86_64-%{version}.tar.gz
-# NoSource1-md5: 1e02a01aaeb55177a58f30f8e2df7ffd
+# NoSource1-md5: 3a28db85d941c5d8628964684370e788
NoSource: 1
URL: https://www.dropbox.com/
BuildRequires: rpmbuild(macros) >= 1.566
%if 1
# fun, let's delete non-linux files from archive
-unzip -l python-packages-35.zip | \
+d=.delete-lib.txt
+unzip -l python-packages-36.zip | \
grep -E '(arch|dropbox)/(mac|win32)|_(win32|mac)\.py|pymac|ui/cocoa|unittest' | \
grep -vE 'pymac/(__init__|constants|types|lazydll|lazyframework)\.py' | \
- grep -vE 'dropbox/mac/(version|__init__).py' | \
- awk '{print $NF}' > lib.delete
-zip python-packages-35.zip -d $(cat lib.delete)
-rm lib.delete
+ grep -vE 'dropbox/mac/(version|__init__)\.py' | \
+ grep -vF 'dropbox/client/features/files/local/operations/_mac.py' | \
+ awk '{print $NF}' > $d
+zip python-packages-36.zip -d $(cat $d)
%endif
%install
# install everything else
install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
-cp -a . $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -a * $RPM_BUILD_ROOT%{_libdir}/%{name}
# in doc
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{ACKNOWLEDGEMENTS,VERSION,README}