Browse code

Adding python-sphinx package

Change-Id: I8be6fabe30f705300471d17c5523707a40e39a75
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1890
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

DheerajSShetty authored on 2016/12/20 06:34:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,43 @@
0
+Summary:       Python documentation generator
1
+Name:          python-sphinx
2
+Version:       1.5.1
3
+Release:       1%{?dist}
4
+Group:         Development/Tools
5
+Vendor:        VMware, Inc.
6
+License:       BSD-2-Clause
7
+URL:           http://www.vmware.com
8
+Source0:       https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
9
+%define sha1 Sphinx=4c413bd6310f4452c5fbeb9493065fc3dd968210
10
+Distribution:  Photon
11
+BuildRequires: python2
12
+BuildRequires: python2-libs
13
+BuildRequires: python2-devel
14
+BuildRequires: python-setuptools
15
+
16
+Requires:       python2
17
+
18
+%description
19
+Sphinx is a tool that makes it easy to create intelligent and
20
+beautiful documentation for Python projects (or other documents
21
+consisting of multiple reStructuredText sources), written by Georg
22
+Brandl. It was originally created to translate the new Python
23
+documentation, but has now been cleaned up in the hope that it will be
24
+useful to many other projects.
25
+
26
+%prep
27
+%setup -q -n Sphinx-%{version}
28
+
29
+%build
30
+python setup.py build
31
+
32
+%install
33
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
34
+
35
+%files
36
+%defattr(-,root,root)
37
+%{_bindir}/*
38
+%{python_sitelib}/*
39
+
40
+%changelog
41
+*   Fri Dec 16 2016 Dheeraj Shetty <dheerajs@vmware.com> 1.5.1-1
42
+-   Initial