1 Summary: Microsoft OneDrive daemon on Ubuntu
7 Source0: https://github.com/xybu92/onedrive-d/archive/v%{version}-alpha/%{name}-%{version}-alpha.tar.gz
8 # Source0-md5: 2ab5ae73df9e04da7247afd9c4fd30ca
9 URL: http://xybu.me/projects/onedrive-d/
10 Requires: python-onedrive
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 onedrive-d project intends to develop an OneDrive (formerly SkyDrive)
16 daemon on (X)Ubuntu Linux. The program is mainly written in Python and
17 supplemented by Bash shell scripts.
20 %setup -q -n %{name}-%{version}-alpha
23 %{__python} setup.py build
26 rm -rf $RPM_BUILD_ROOT
27 %{__python} setup.py install \
30 --root=$RPM_BUILD_ROOT
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
40 %attr(755,root,root) %{_bindir}/onedrive-daemon
41 %attr(755,root,root) %{_bindir}/onedrive-utils
42 %{py_sitescriptdir}/onedrive
43 %{py_sitescriptdir}/onedrive_d-0.7-py*.egg-info