1 |
Name: gsutil |
2 |
Version: 3.38 |
3 |
Release: %mkrel 1 |
4 |
Url: https://developers.google.com/storage/docs/gsutil |
5 |
Summary: Access Google Cloud Storage from the command line |
6 |
License: ASL 2.0 |
7 |
Group: Networking/Other |
8 |
Source: http://storage.googleapis.com/pub/%{name}_%{version}.tar.gz |
9 |
Patch0: gsutil_3.38-deps.patch |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
11 |
BuildArch: noarch |
12 |
BuildRequires: python-setuptools |
13 |
|
14 |
%description |
15 |
gsutil is a Python application that lets you access Google Cloud Storage |
16 |
from the command line. You can use gsutil to do a wide range of bucket and |
17 |
object management tasks, including: |
18 |
|
19 |
- Creating and deleting buckets. |
20 |
- Uploading, downloading, and deleting objects. |
21 |
- Listing buckets and objects. |
22 |
- Moving, copying, and renaming objects. |
23 |
- Editing object and bucket ACLs. |
24 |
|
25 |
%prep |
26 |
%setup -q -n %{name} |
27 |
%apply_patches |
28 |
|
29 |
%build |
30 |
%{__python} setup.py build |
31 |
|
32 |
%install |
33 |
%{__python} setup.py install --prefix %{_prefix} --root %{buildroot} |
34 |
|
35 |
%files |
36 |
%doc CHANGES.md README.md |
37 |
%{_bindir}/%{name} |
38 |
%{python_sitelib}/gslib |
39 |
%{python_sitelib}/%{name}-%{version}*.egg-info |