76 lines
2.4 KiB
RPMSpec
76 lines
2.4 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
Name: python-Flask-SQLAlchemy
|
|
Version: 3.0.3
|
|
Release: 2
|
|
Summary: Adds SQLAlchemy support to your Flask application.
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/pallets/flask-sqlalchemy
|
|
Source0: %{pypi_source Flask-SQLAlchemy}
|
|
BuildArch: noarch
|
|
BuildRequires: python3-pip python3-wheel python3-pdm-pep517
|
|
Requires: python3-Flask
|
|
Requires: python3-SQLAlchemy
|
|
|
|
%description
|
|
Flask-SQLAlchemy is an extension for Flask that adds support for
|
|
SQLAlchemy to your application. It aims to simplify using SQLAlchemy
|
|
with Flask by providing useful defaults and extra helpers that make it
|
|
easier to accomplish common tasks.
|
|
|
|
%package -n python3-Flask-SQLAlchemy
|
|
Summary: Adds SQLAlchemy support to your Flask application.
|
|
Provides: python-Flask-SQLAlchemy
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
%description -n python3-Flask-SQLAlchemy
|
|
Flask-SQLAlchemy is an extension for Flask that adds support for
|
|
SQLAlchemy to your application. It aims to simplify using SQLAlchemy
|
|
with Flask by providing useful defaults and extra helpers that make it
|
|
easier to accomplish common tasks.
|
|
|
|
%package help
|
|
Summary: Development documents and examples for Flask-SQLAlchemy
|
|
Provides: python3-Flask-SQLAlchemy-doc
|
|
%description help
|
|
Flask-SQLAlchemy is an extension for Flask that adds support for
|
|
SQLAlchemy to your application. It aims to simplify using SQLAlchemy
|
|
with Flask by providing useful defaults and extra helpers that make it
|
|
easier to accomplish common tasks.
|
|
|
|
%prep
|
|
%autosetup -n Flask-SQLAlchemy-%{version} -p1
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
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
|
|
|
|
%files -n python3-Flask-SQLAlchemy
|
|
%license LICENSE.rst
|
|
%{python3_sitelib}/*
|
|
|
|
%files help
|
|
%{_pkgdocdir}
|
|
|
|
%changelog
|
|
* Thu May 11 2023 wulei <wu_lei@hoperun.com> - 3.0.3-2
|
|
- Adapting to the pyproject.toml compilation mode
|
|
|
|
* Fri Mar 17 2023 wubijie <wubijie@kylinos.cn> - 3.0.3-1
|
|
- Update package to version 3.0.3
|
|
|
|
* Thu Dec 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.0.2-1
|
|
- Update package to version 3.0.2
|
|
|
|
* Wed Jun 29 2022 yaoxin <yaoxin30@h-partners.com> - 2.5.1-1
|
|
- Update to 2.5.1
|
|
|
|
* Mon Jun 22 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
- Package Spec generated
|