[python-sphinx-theme-flask/el5] Initial import (#996061)

Björn Esser besser82 at fedoraproject.org
Mon Aug 12 13:14:34 UTC 2013


commit 98de73a7ab0b485a685798d0d40552cd83c466be
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Mon Aug 12 15:08:50 2013 +0200

    Initial import (#996061)

 .gitignore                     |    4 ++
 python-sphinx-theme-flask.spec |   60 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 65 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-sphinx-theme-flask.spec b/python-sphinx-theme-flask.spec
new file mode 100644
index 0000000..061e4f6
--- /dev/null
+++ b/python-sphinx-theme-flask.spec
@@ -0,0 +1,60 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+%global upname flask-sphinx-themes
+%global commitdate 20130715
+%global commit 1cc44686f0f9dad27cce2c9d16cf42f97bc87dbd
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name:		python-sphinx-theme-flask
+Version:	git%{commitdate}.%{shortcommit}
+Release:	1%{?dist}
+Summary:	Sphinx Themes for Flask related projects and Flask itself
+%{?el5:Group:	Applications/Publishing}
+
+License:	BSD
+URL:		https://github.com/mitsuhiko/%{upname}
+Source0:	%{url}/archive/%{commit}/%{name}-%{version}.tar.gz
+
+%{?el5:BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)}
+BuildArch:	noarch
+BuildRequires:	python2-devel
+
+Requires:	python-sphinx
+
+%description
+%{name} contains
+%{summary}.
+
+The following themes exist:
+
+ * flask - the standard flask documentation theme for large projects
+ * flask_small - small one-page theme.  Intended to be used by very small
+addon libraries for flask.
+
+
+%prep
+%setup -qn %{upname}-%{commit}
+
+
+%build
+#noop
+
+
+%install
+%{?el5:rm -rf %{buildroot}}
+mkdir -p %{buildroot}%{python_sitelib}/sphinx/themes
+cp -pr flask* %{buildroot}%{python_sitelib}/sphinx/themes
+
+
+%clean
+%{?el5:rm -rf %{buildroot}}
+
+
+%files
+%doc LICENSE README
+%{python_sitelib}/sphinx/themes/*
+
+
+%changelog
+* Mon Aug 12 2013 Björn Esser <bjoern.esser at gmail.com> - git20130715.1cc4468-1
+- Initial rpm release (#996061)
diff --git a/sources b/sources
index e69de29..74b2052 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+640fed19f9f421015acdcd81bdbded02  python-sphinx-theme-flask-git20130715.1cc4468.tar.gz


More information about the scm-commits mailing list