forked from openshift/python-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-openshift.spec
47 lines (32 loc) · 921 Bytes
/
python-openshift.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
44
45
46
Name: python-openshift
Version: 0.2
Release: 1%{?dist}
Summary: Openshift REST API client
BuildArch: noarch
Group: Development/Libraries
License: ASL 2.0
URL: https://github.com/openshift/python-interface
# Source is created by
# wget https://github.com/openshift/python-interface/archive/master.tar.gz
Source0: python-interface-master.tar.gz
BuildRequires: python-devel
BuildRequires: python-requests
Requires: python-requests
%description
This is a python interface for the new Openshift REST API.
%prep
%setup -q
%install
python setup.py install --skip-build --root %{buildroot}
mkdir -p %{buildroot}/%{python2_sitelib}/oshift
cp -ar oshift/* %{buildroot}/%{python2_sitelib}/oshift/
%check
#unit2 tests/*.py
%files
%license LICENSE
%doc README
%{python2_sitelib}
%{_bindir}/oshift
%changelog
* Mon Jan 11 2016 Jakub Kadlčík <[email protected]> 0.2-1
- Initial .spec file