]> git.pld-linux.org Git - packages/onedrive-d.git/blob - onedrive-d.spec
new, version 0.7.0-alpha
[packages/onedrive-d.git] / onedrive-d.spec
1 Summary:        Microsoft OneDrive daemon on Ubuntu
2 Name:           onedrive-d
3 Version:        0.7.0
4 Release:        0.1
5 License:        LGPL v3
6 Group:          Daemons
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
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
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.
18
19 %prep
20 %setup -q -n %{name}-%{version}-alpha
21
22 %build
23 %{__python} setup.py build
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 %{__python} setup.py install \
28         --skip-build \
29         --optimize=2 \
30         --root=$RPM_BUILD_ROOT
31
32 %py_postclean
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README.md WIP.md
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
This page took 0.097584 seconds and 3 git commands to generate.