%global pypi_name Flask-Bootstrap Name: python-%{pypi_name} Version: 3.3.7.0 Release: 1%{?dist} Summary: Python flask bootstrap License: BSD URL: http://github.com/mbr/flask-bootstrap Source0: https://files.pythonhosted.org/packages/source/F/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-setuptools BuildRequires: python2-devel BuildRequires: python3-setuptools BuildRequires: python3-devel %description FlaskBootstrap packages Bootstrap into an extension that mostly consists of a blueprint named 'bootstrap'. It can also create links to serve Bootstrap from a CDN and works with no boilerplate code in your application %package -n python2-%{pypi_name} Summary: Python Flask Bootstrap %{?python_provide:%python_provide python2-%{pypi_name}} Requires: python-flask >= 0.8 Requires: python-dominate Requires: python-visitor %description -n python2-%{pypi_name} FlaskBootstrap packages Bootstrap into an extension that mostly consists of a blueprint named 'bootstrap'. It can also create links to serve Bootstrap from a CDN and works with no boilerplate code in your application %package -n python3-%{pypi_name} Summary: An extension that includes Bootstrap in your project, without any boilerplate code %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3-flask >= 0.8 Requires: python3-dominate Requires: python3-visitor %description -n python3-%{pypi_name} FlaskBootstrap packages Bootstrap into an extension that mostly consists of a blueprint named 'bootstrap'. It can also create links to serve Bootstrap from a CDN and works with no boilerplate code in your application %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py2_build %py3_build %install %py3_install %py2_install %files -n python2-%{pypi_name} %doc README.rst %{python2_sitelib}/flask_bootstrap %{python2_sitelib}/Flask_Bootstrap-%{version}-py*egg-info %files -n python3-%{pypi_name} %doc README.rst %{python3_sitelib}/flask_bootstrap %{python3_sitelib}/Flask_Bootstrap-%{version}-py*egg-info %changelog * Wed Oct 05 2016 David Hannequin david.hannequin@gmail.com - 3.3.7.0-1 - Initial package.