Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit 6514fad

Browse files
committed
Add initial .spec file
1 parent 0629363 commit 6514fad

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

python-openshift.spec

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Name: python-openshift
2+
Version: 0.2
3+
Release: 1%{?dist}
4+
Summary: Openshift REST API client
5+
6+
BuildArch: noarch
7+
Group: Development/Libraries
8+
License: ASL 2.0
9+
URL: https://github.com/openshift/python-interface
10+
11+
# Source is created by
12+
# wget https://github.com/openshift/python-interface/archive/master.tar.gz
13+
Source0: python-interface-master.tar.gz
14+
15+
BuildRequires: python-devel
16+
BuildRequires: python-requests
17+
Requires: python-requests
18+
19+
%description
20+
This is a python interface for the new Openshift REST API.
21+
22+
23+
%prep
24+
%setup -q
25+
26+
27+
%install
28+
python setup.py install --skip-build --root %{buildroot}
29+
mkdir -p %{buildroot}/%{python2_sitelib}/oshift
30+
cp -ar oshift/* %{buildroot}/%{python2_sitelib}/oshift/
31+
32+
33+
%check
34+
#unit2 tests/*.py
35+
36+
37+
%files
38+
%license LICENSE
39+
%doc README
40+
%{python2_sitelib}
41+
%{_bindir}/oshift
42+
43+
44+
%changelog
45+
* Mon Jan 11 2016 Jakub Kadlčík <[email protected]> 0.2-1
46+
- Initial .spec file
47+

0 commit comments

Comments
 (0)