From 98de73a7ab0b485a685798d0d40552cd83c466be Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Aug 12 2013 13:13:52 +0000 Subject: Initial import (#996061) --- 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 - 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