Blob Blame History Raw
%global srcname flask-sphinx-themes

Name:		python-sphinx-theme-flask
Version:	1.0.2
Release:	1%{?dist}
Summary:	Sphinx Themes for Flask related projects and Flask itself

License:	BSD
URL:		https://github.com/pallets/%{srcname}
Source0:	%{url}/archive/%{version}.tar.gz

BuildArch:	noarch

%global _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.\


%description %_description

%package -n python2-sphinx-theme-flask
Summary: %summary
BuildRequires:	python2-devel
BuildRequires:	python2-setuptools
Requires:	python2-sphinx
%{?python_provide:%python_provide python2-sphinx-theme-flask}

%description -n python2-sphinx-theme-flask %_description

%package -n python3-sphinx-theme-flask
Summary:	%summary
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
Requires:	python3-sphinx
%{?python_provide:%python_provide python3-sphinx-theme-flask}

%description -n python3-sphinx-theme-flask
%{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
%autosetup -p1 -n %{srcname}-%{version}


%build
%py2_build
%py3_build


%install
%py2_install
%py3_install




%files -n python2-sphinx-theme-flask
%license LICENSE
%doc README.rst
%{python2_sitelib}/Flask_Sphinx_Themes-*.egg-info/
%{python2_sitelib}/flask_sphinx_themes/

%files -n python3-sphinx-theme-flask
%license LICENSE
%doc README.rst
%{python3_sitelib}/Flask_Sphinx_Themes-*.egg-info/
%{python3_sitelib}/flask_sphinx_themes/

%changelog
* Mon Dec 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-1
- Update to 1.0.2
- Fix Python 2 installation

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - git20130715.1cc4468-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - git20130715.1cc4468-14
- Rebuilt for Python 3.7

* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - git20130715.1cc4468-13
- Update Python 2 dependency declarations to new packaging standards
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - git20130715.1cc4468-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - git20130715.1cc4468-11
- Python 2 binary package renamed to python2-sphinx-theme-flask
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - git20130715.1cc4468-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - git20130715.1cc4468-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - git20130715.1cc4468-8
- Rebuild for Python 3.6

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - git20130715.1cc4468-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - git20130715.1cc4468-6
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - git20130715.1cc4468-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - git20130715.1cc4468-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - git20130715.1cc4468-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4

* Mon Aug 12 2013 Björn Esser <bjoern.esser@gmail.com> - git20130715.1cc4468-2
- added python3-package

* Mon Aug 12 2013 Björn Esser <bjoern.esser@gmail.com> - git20130715.1cc4468-1
- Initial rpm release (#996061)