2020-06-29 10:06:59 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-flask-session
|
2023-05-25 15:58:27 +08:00
|
|
|
Version: 0.5.0
|
2022-11-01 16:22:26 +08:00
|
|
|
Release: 1
|
2020-06-29 10:06:59 +08:00
|
|
|
Summary: Adds server-side session support to your Flask application
|
2022-05-10 16:09:24 +08:00
|
|
|
License: BSD-3-Clause
|
2020-06-29 10:06:59 +08:00
|
|
|
URL: https://github.com/fengsp/flask-session
|
2023-05-25 15:58:27 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/19/bf/b8b3e20cf03d3938ef7e94970e43491a49386c65e07aca7e6a4e583be28f/Flask-Session-0.5.0.tar.gz
|
2020-06-29 10:06:59 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Flask-Session is an extension for Flask that adds support for
|
|
|
|
|
Server-side Session to your application.
|
|
|
|
|
|
|
|
|
|
%package -n python3-flask-session
|
|
|
|
|
Summary: Adds server-side session support to your Flask application
|
2022-11-01 16:22:26 +08:00
|
|
|
Provides: python-flask-session = %{version}-%{release}
|
2023-05-05 10:03:59 +08:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2023-05-25 15:58:27 +08:00
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-editables
|
|
|
|
|
BuildRequires: python3-hatch-vcs
|
|
|
|
|
BuildRequires: python3-hatchling
|
|
|
|
|
BuildRequires: python3-flit-core
|
2020-06-29 10:06:59 +08:00
|
|
|
%description -n python3-flask-session
|
|
|
|
|
Flask-Session is an extension for Flask that adds support for
|
|
|
|
|
Server-side Session to your application.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for Flask-Session
|
|
|
|
|
Provides: python3-Flask-Session-doc
|
2022-11-01 16:22:26 +08:00
|
|
|
|
2020-06-29 10:06:59 +08:00
|
|
|
%description help
|
|
|
|
|
Flask-Session is an extension for Flask that adds support for
|
|
|
|
|
Server-side Session to your application.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-05-05 10:03:59 +08:00
|
|
|
%autosetup -n Flask-Session-%{version}
|
2020-06-29 10:06:59 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-05-25 15:58:27 +08:00
|
|
|
%pyproject_build
|
2020-06-29 10:06:59 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-05-25 15:58:27 +08:00
|
|
|
%pyproject_install
|
2020-06-29 10:06:59 +08:00
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
pushd %{buildroot}
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
2023-05-25 15:58:27 +08:00
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
2020-06-29 10:06:59 +08:00
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
|
|
|
|
|
2023-05-25 15:58:27 +08:00
|
|
|
%files -n python3-flask-session
|
|
|
|
|
%{python3_sitelib}/flask_session
|
|
|
|
|
%{python3_sitelib}/flask_session-*.dist-info/
|
2020-06-29 10:06:59 +08:00
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
2023-05-05 10:03:59 +08:00
|
|
|
%{_docdir}/*
|
2020-06-29 10:06:59 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-05-25 15:58:27 +08:00
|
|
|
* Thu May 25 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.5.0-1
|
|
|
|
|
- Update package to version 0.5.0
|
|
|
|
|
|
2023-05-05 10:03:59 +08:00
|
|
|
* Fri May 05 2023 wubijie <wubijie@kylinos.cn> - 0.4.1-1
|
|
|
|
|
- Update package to version 0.4.1
|
|
|
|
|
|
2022-11-01 16:22:26 +08:00
|
|
|
* Tue Nov 01 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.4.0-1
|
|
|
|
|
- Update package to version 0.4.0
|
|
|
|
|
|
2022-05-10 16:09:24 +08:00
|
|
|
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 0.3.2-2
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2020-06-29 10:06:59 +08:00
|
|
|
* Mon Jun 29 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
|
|
|
- Package Spec generated
|
2022-11-01 16:22:26 +08:00
|
|
|
|