python-Flask-SQLAlchemy/python-Flask-SQLAlchemy.spec

76 lines
2.4 KiB
RPMSpec
Raw Normal View History

2020-06-29 11:27:35 +08:00
%global _empty_manifest_terminate_build 0
Name: python-Flask-SQLAlchemy
2023-03-17 13:38:29 +08:00
Version: 3.0.3
Release: 2
2020-06-29 11:27:35 +08:00
Summary: Adds SQLAlchemy support to your Flask application.
License: BSD-3-Clause
URL: https://github.com/pallets/flask-sqlalchemy
Source0: %{pypi_source Flask-SQLAlchemy}
2020-06-29 11:27:35 +08:00
BuildArch: noarch
BuildRequires: python3-pip python3-wheel python3-pdm-pep517
2020-06-29 11:27:35 +08:00
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
2020-06-29 11:27:35 +08:00
%install
%pyproject_install
2020-06-29 11:27:35 +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
%files -n python3-Flask-SQLAlchemy
2022-06-29 14:38:37 +08:00
%license LICENSE.rst
%{python3_sitelib}/*
2020-06-29 11:27:35 +08:00
%files help
2020-06-29 11:27:35 +08:00
%{_pkgdocdir}
%changelog
* Thu May 11 2023 wulei <wu_lei@hoperun.com> - 3.0.3-2
- Adapting to the pyproject.toml compilation mode
2023-03-17 13:38:29 +08:00
* Fri Mar 17 2023 wubijie <wubijie@kylinos.cn> - 3.0.3-1
- Update package to version 3.0.3
2022-12-15 14:59:52 +08:00
* Thu Dec 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.0.2-1
- Update package to version 3.0.2
2022-06-29 14:38:37 +08:00
* Wed Jun 29 2022 yaoxin <yaoxin30@h-partners.com> - 2.5.1-1
- Update to 2.5.1
2020-06-29 11:27:35 +08:00
* Mon Jun 22 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated