]> git.pld-linux.org Git - SPECS.git/blob - python-onedrive.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-onedrive.spec
1 %define         pypi_name       onedrive
2 Summary:        Python and command-line interface for Microsoft LiveConnect OneDrive REST API v5.0
3 Name:           python-%{pypi_name}
4 Version:        14.04.3
5 Release:        1
6 License:        WTFPL
7 Group:          Libraries/Python
8 Source0:        https://pypi.python.org/packages/source/p/python-onedrive/%{name}-%{version}.tar.gz
9 # Source0-md5:  2da74c0fe68452bc84dd050617a33b3e
10 URL:            https://github.com/mk-fg/python-onedrive
11 BuildRequires:  rpmbuild(macros) >= 1.710
12 BuildRequires:  python-devel
13 Suggests:       python-PyYAML
14 Suggests:       python-chardet
15 Suggests:       python-requests >= 0.14.0
16 Obsoletes:      python-skydrive < 14.04.1
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Python and command-line interface for `OneDrive API (version 5.0)
22 (formerly known as SkyDrive).
23
24 This module allows to access data on Microsoft OneDrive cloud storage
25 from Python code, abstracting authentication, HTTP requests and
26 response processing to a simple Python methods.
27
28 %prep
29 %setup -q
30
31 %build
32 %py_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %py_install
37
38 %py_postclean
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README.txt
46 %attr(755,root,root) %{_bindir}/onedrive-cli
47 %{py_sitescriptdir}/onedrive
48 %{py_sitescriptdir}/python_onedrive-%{version}-py*.egg-info
This page took 0.124446 seconds and 3 git commands to generate.