[python-sphinxcontrib-cheeseshop/el5] Initial import (#1021994)

Björn Esser besser82 at fedoraproject.org
Tue Oct 22 14:10:25 UTC 2013


commit 70b0aa8247fcfe560da77d80eaea973a2ab4133b
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Tue Oct 22 16:07:27 2013 +0200

    Initial import (#1021994)

 .gitignore                           |    4 ++
 python-sphinxcontrib-cheeseshop.spec |   59 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4a406bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*~
+*.rpm
+*.tar*
+results_*/
diff --git a/python-sphinxcontrib-cheeseshop.spec b/python-sphinxcontrib-cheeseshop.spec
new file mode 100644
index 0000000..79dfc4f
--- /dev/null
+++ b/python-sphinxcontrib-cheeseshop.spec
@@ -0,0 +1,59 @@
+%{!?__python2:%global __python2 %{__python}}
+%{!?python_sitelib:%global python_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitelib:%global python2_sitelib %{python_sitelib}}
+%global upname sphinxcontrib-cheeseshop
+
+Name:		python-%{upname}
+Version:	0.2
+Release:	1%{?dist}
+Summary:	Sphinx extension cheeseshop
+%{?el5:Group:	System Environment/Libraries}
+
+License:	BSD
+URL:		https://pypi.python.org/pypi/%{upname}
+Source0:	https://pypi.python.org/packages/source/s/%{upname}/%{upname}-%{version}.tar.gz
+
+BuildArch:	noarch
+%{?el5:BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)}
+
+BuildRequires:	python2-devel
+BuildRequires:	python-setuptools
+
+%if 0%{?fedora} || 0%{?rhel} >= 7
+Requires: python-sphinx
+%else
+Requires: python-sphinx10
+%endif
+
+%description
+This extension adds directives for easy linking to Cheese Shop
+(Python Package Index) packages.  It supports a directive and a
+role, as well as a new config value.
+
+
+%prep
+%setup -q -n %{upname}-%{version}
+rm -rf *.egg-info
+
+
+%build
+%{__python2} setup.py build
+
+
+%install
+%{?el5:rm -rf %{buildroot}}
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%clean
+%{?el5:rm -rf %{buildroot}}
+
+
+%files
+%doc README
+%{python2_sitelib}/*
+
+
+%changelog
+* Tue Oct 22 2013 Björn Esser <bjoern.esser at gmail.com> - 0.2-1
+- Initial rpm release (#1021994)
diff --git a/sources b/sources
index e69de29..f320237 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+56aff09d56d3e75236c024fcfe6ffa01  sphinxcontrib-cheeseshop-0.2.tar.gz


More information about the scm-commits mailing list