|
|
e7df1e3 |
%if 0%{?fedora}
|
|
|
e7df1e3 |
%global with_python3 1
|
|
|
e7df1e3 |
%endif
|
|
|
e7df1e3 |
|
|
|
e421d63 |
%global srcname Flask-Mako
|
|
|
e421d63 |
%global eggname Flask_Mako
|
|
|
e421d63 |
|
|
|
e421d63 |
Name: python-flask-mako
|
|
|
9293972 |
Version: 0.4
|
|
|
1dc6ba7 |
Release: 2%{?dist}
|
|
|
e421d63 |
Summary: Mako templating support for Flask applications
|
|
|
e421d63 |
Group: Development/Libraries
|
|
|
e421d63 |
License: BSD
|
|
|
e421d63 |
URL: http://pypi.python.org/pypi/%{srcname}
|
|
|
e421d63 |
Source0: http://pypi.python.org/packages/source/F/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
e421d63 |
|
|
|
e421d63 |
BuildArch: noarch
|
|
|
e421d63 |
|
|
|
e421d63 |
BuildRequires: python2-devel
|
|
|
e7df1e3 |
BuildRequires: python2-setuptools
|
|
|
e421d63 |
BuildRequires: python-flask
|
|
|
e421d63 |
BuildRequires: python-mako
|
|
|
e421d63 |
|
|
|
e7df1e3 |
%if 0%{?with_python3}
|
|
|
e7df1e3 |
BuildRequires: python3-devel
|
|
|
e7df1e3 |
BuildRequires: python3-setuptools
|
|
|
e7df1e3 |
BuildRequires: python3-flask
|
|
|
e7df1e3 |
BuildRequires: python3-mako
|
|
|
e7df1e3 |
%endif
|
|
|
e7df1e3 |
|
|
|
e7df1e3 |
%description
|
|
|
e7df1e3 |
This extension for the Flask micro web framework allows developers
|
|
|
e7df1e3 |
to use Mako Templates instead of the default Jinja2 templating engine.
|
|
|
e7df1e3 |
|
|
|
e7df1e3 |
|
|
|
e7df1e3 |
%package -n python2-flask-mako
|
|
|
e7df1e3 |
Summary: Mako templating support for Flask applications
|
|
|
e7df1e3 |
%{?python_provide:%python_provide python2-flask-mako}
|
|
|
e7df1e3 |
|
|
|
e421d63 |
Requires: python-flask
|
|
|
e421d63 |
Requires: python-mako
|
|
|
e421d63 |
|
|
|
e7df1e3 |
%description -n python2-flask-mako
|
|
|
e421d63 |
This extension for the Flask micro web framework allows developers
|
|
|
e421d63 |
to use Mako Templates instead of the default Jinja2 templating engine.
|
|
|
e421d63 |
|
|
|
e7df1e3 |
%if 0%{?with_python3}
|
|
|
e7df1e3 |
%package -n python3-flask-mako
|
|
|
e7df1e3 |
Summary: Mako templating support for Flask applications
|
|
|
e7df1e3 |
%{?python_provide:%python_provide python3-flask-mako}
|
|
|
e7df1e3 |
|
|
|
e7df1e3 |
Requires: python3-flask
|
|
|
e7df1e3 |
Requires: python3-mako
|
|
|
e7df1e3 |
|
|
|
e7df1e3 |
%description -n python3-flask-mako
|
|
|
e7df1e3 |
This extension for the Flask micro web framework allows developers
|
|
|
e7df1e3 |
to use Mako Templates instead of the default Jinja2 templating engine.
|
|
|
e7df1e3 |
%endif
|
|
|
e421d63 |
|
|
|
e421d63 |
|
|
|
e7df1e3 |
%prep
|
|
|
e7df1e3 |
%autosetup -n %{srcname}-%{version}
|
|
|
e421d63 |
|
|
|
e421d63 |
%build
|
|
|
e7df1e3 |
%py2_build
|
|
|
e7df1e3 |
%if 0%{?with_python3}
|
|
|
e7df1e3 |
%py3_build
|
|
|
e7df1e3 |
%endif
|
|
|
e421d63 |
|
|
|
e421d63 |
%install
|
|
|
e7df1e3 |
%py2_install
|
|
|
e7df1e3 |
%if 0%{?with_python3}
|
|
|
e7df1e3 |
%py3_install
|
|
|
e7df1e3 |
%endif
|
|
|
e421d63 |
|
|
|
e7df1e3 |
%files -n python2-flask-mako
|
|
|
e421d63 |
%doc PKG-INFO
|
|
|
e7df1e3 |
%{python2_sitelib}/flask_mako.py*
|
|
|
e7df1e3 |
%{python2_sitelib}/%{eggname}-%{version}*
|
|
|
e7df1e3 |
|
|
|
1ad0633 |
%if 0%{?with_python3}
|
|
|
e7df1e3 |
%files -n python3-flask-mako
|
|
|
e7df1e3 |
%doc PKG-INFO
|
|
|
e7df1e3 |
%{python3_sitelib}/flask_mako.py*
|
|
|
e7df1e3 |
%{python3_sitelib}/%{eggname}-%{version}*
|
|
|
d8934f9 |
%{python3_sitelib}/__pycache__/flask_mako*
|
|
|
1ad0633 |
%endif
|
|
|
e421d63 |
|
|
|
e421d63 |
%changelog
|
|
|
1dc6ba7 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
|
|
|
1dc6ba7 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
1dc6ba7 |
|
|
|
9293972 |
* Fri Feb 19 2016 Ralph Bean <rbean@redhat.com> - 0.4-1
|
|
|
9293972 |
- new version
|
|
|
9293972 |
|
|
|
1ad0633 |
* Fri Feb 19 2016 Ralph Bean <rbean@redhat.com> - 0.3-6
|
|
|
1ad0633 |
- Add conditional to python3 files section.
|
|
|
1ad0633 |
|
|
|
8ae81d6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-5
|
|
|
8ae81d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8ae81d6 |
|
|
|
e7df1e3 |
* Sat Nov 14 2015 Ralph Bean <rbean@redhat.com> - 0.3-4
|
|
|
e7df1e3 |
- Added python3 subpackage and modernized python macros.
|
|
|
e7df1e3 |
|
|
|
d67990c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-3
|
|
|
d67990c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d67990c |
|
|
|
2f917dc |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
|
|
|
2f917dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2f917dc |
|
|
|
9317a70 |
* Wed Feb 12 2014 Ralph Bean <rbean@redhat.com> - 0.3-1
|
|
|
9317a70 |
- Latest upstream.
|
|
|
9317a70 |
- Reenabled tests.
|
|
|
9317a70 |
|
|
|
72db547 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
|
|
|
72db547 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
72db547 |
|
|
|
e421d63 |
* Thu Apr 04 2013 Ralph Bean <rbean@redhat.com> - 0.2-1
|
|
|
e421d63 |
- Initial package for Fedora
|