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