-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathrgwadmin.spec
37 lines (30 loc) · 918 Bytes
/
rgwadmin.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%define name rgwadmin
%define unmangled_name rgwadmin
%define release 1
Summary: Python Rados Gateway Admin API
Name: %{python}-%{name}
Version: %{version}
Release: %{release}
Source0: %{unmangled_name}-%{version}.tar.gz
License: LGPL v2.1
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{unmangled_name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: UMIACS Staff <[email protected]>
Requires: python3
Requires: python3-requests
Requires: python3-requests-aws4auth
Url: https://github.com/UMIACS/rgwadmin
%description
rgwadmin is a Python library to access the Ceph Object Storage Admin API.
%prep
%setup -n %{unmangled_name}-%{version}
%build
%{python} setup.py build
%install
%{python} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)