-
Notifications
You must be signed in to change notification settings - Fork 5
/
krest.spec
43 lines (29 loc) · 975 Bytes
/
krest.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
38
39
40
41
42
43
%global pypi_name krest
Name: python-%{pypi_name}
Version: 1.3.6
Release: 1%{?dist}
Summary: Python client for Kaminario K2 REST interface
License: Proprietary
URL: https://github.com/krest/krest-py
Source0: https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
Requires: python-requests >= 2.0.0
%description
=============================================
Python client for Kaminario K2 REST interface
=============================================
%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%{__python} setup.py build
%install
%{__python} setup.py install --skip-build --root %{buildroot}
%files
%{python_sitelib}/%{pypi_name}.py*
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
* Tue Nov 19 2013 root - 0.1.2-1
- Initial package.