4457236
%global pypi_name flask-compress
4457236
6f746ad
%global _description %{expand:
6f746ad
Flask-Compress allows you to easily compress your Flask application's
6f746ad
responses with gzip.
6f746ad
6f746ad
The preferred solution is to have a server (like Nginx) automatically
6f746ad
compress the static files for you. If you don't have that option
6f746ad
Flask-Compress will solve the problem for you.}
6f746ad
4457236
Name:           python-%{pypi_name}
c075de2
Version:        1.12
ee634a8
Release:        1%{?dist}
4457236
Summary:        Compress responses in your Flask app with gzip or brotli
4457236
4457236
License:        MIT
4457236
URL:            https://github.com/colour-science/flask-compress
4457236
Source0:        %{pypi_source Flask-Compress}
4457236
BuildArch:      noarch
4457236
1416739
BuildRequires:  make
4457236
BuildRequires:  python3-devel
e78098e
1416739
%if %{with tests}
1416739
BuildRequires:  python3dist(pytest)
1416739
BuildRequires:  python3dist(tox)
1416739
%endif
4457236
27a95d5
%description %_description
27a95d5
4457236
%package -n     python3-%{pypi_name}
4457236
Summary:        %{summary}
4457236
4457236
Requires:       python3dist(brotli)
4457236
Requires:       python3dist(flask)
6f746ad
%description -n python3-%{pypi_name} %_description
4457236
4457236
%prep
4457236
%autosetup -n Flask-Compress-%{version}
4457236
rm -rf %{pypi_name}.egg-info
4457236
1416739
%generate_buildrequires
1416739
%pyproject_buildrequires -r
1416739
4457236
%build
1416739
%pyproject_wheel
4457236
4457236
%install
1416739
%pyproject_install
1416739
%pyproject_save_files flask_compress
4457236
4457236
%check
1416739
%if %{with tests}
4457236
%{__python3} setup.py test
1416739
%endif
4457236
1416739
%files -n python3-%{pypi_name} -f %{pyproject_files}
4457236
%license LICENSE.txt
4457236
%doc README.md
4457236
4457236
%changelog
c075de2
* Sun May 1 2022 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.12-1
c075de2
- New upstream's release
c075de2
ee634a8
* Tue Mar 1 2022 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.11-1
ee634a8
- New upstream's release
ee634a8
ae99de8
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-5
ae99de8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ae99de8
1416739
* Sat Dec 11 2021 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.10.1-4
1416739
- Use pyproject-rpm-project
1416739
6f746ad
* Mon Dec 6 2021 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.10.1-3
6f746ad
- Use macro for descriptions
6f746ad
2cd145e
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
2cd145e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2cd145e
e78098e
* Wed Jun 16 2021 Rafael Fontenelle <rafaelff@gnome.org> - 1.10.1-1
e78098e
- Update to 1.10.1
e78098e
512b129
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.9.0-3
512b129
- Rebuilt for Python 3.10
512b129
3e66664
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
3e66664
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3e66664
b7d8402
* Sun Oct 11 2020 Rafael Fontenelle <rafaelff@gnome.org> - 1.7.0-1
b7d8402
- Update to 1.7.0
b7d8402
162fe5b
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
162fe5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
162fe5b
4457236
* Thu Jul 02 2020 Rafael Fontenelle <rafaelff@gnome.org> - 1.5.0-2
4457236
- use macro for source0
4457236
4457236
* Tue May 12 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.5.0-1
4457236
- Initial package.