summaryrefslogtreecommitdiff
path: root/python-sweetrpg-api-core.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-sweetrpg-api-core.spec')
-rw-r--r--python-sweetrpg-api-core.spec131
1 files changed, 131 insertions, 0 deletions
diff --git a/python-sweetrpg-api-core.spec b/python-sweetrpg-api-core.spec
new file mode 100644
index 0000000..ca3caa7
--- /dev/null
+++ b/python-sweetrpg-api-core.spec
@@ -0,0 +1,131 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sweetrpg-api-core
+Version: 0.0.120
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: MIT
+URL: https://sweetrpg.com
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b2/53/7b06ef334ce723dc0237c51245bd58e0cfe0d75aa61c307e9c0f500ca7ec/sweetrpg-api-core-0.0.120.tar.gz
+BuildArch: noarch
+
+Requires: python3-Flask
+Requires: python3-sweetrpg-db
+Requires: python3-sweetrpg-model-core
+Requires: python3-mongoengine
+Requires: python3-Flask-REST-JSONAPI
+
+%description
+# API Core
+
+[![Unit tests](https://github.com/sweetrpg/api-core/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/api-core/actions/workflows/python-ci.yml)
+[![Coverage](https://github.com/sweetrpg/api-core/blob/develop/coverage.svg)](https://github.com/sweetrpg/api-core)
+[![PyPI version](https://badgen.net/pypi/v/sweetrpg-api-core)](https://pypi.org/project/sweetrpg-api-core)
+[![License](https://img.shields.io/github/license/sweetrpg/api-core.svg)](https://img.shields.io/github/license/sweetrpg/api-core.svg)
+[![Issues](https://img.shields.io/github/issues/sweetrpg/api-core.svg)](https://img.shields.io/github/issues/sweetrpg/api-core.svg)
+[![PRs](https://img.shields.io/github/issues-pr/sweetrpg/api-core.svg)](https://img.shields.io/github/issues-pr/sweetrpg/api-core.svg)
+[![Dependabot](https://badgen.net/github/dependabot/sweetrpg/api-core)](https://badgen.net/github/dependabot/sweetrpg/api-core)
+
+[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
+[![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)
+
+Put something useful here.
+
+## Documentation
+
+Documentation for this package can be found [here](https://sweetrpg.github.io/api-core).
+
+
+%package -n python3-sweetrpg-api-core
+Summary: please add a summary manually as the author left a blank one
+Provides: python-sweetrpg-api-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sweetrpg-api-core
+# API Core
+
+[![Unit tests](https://github.com/sweetrpg/api-core/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/api-core/actions/workflows/python-ci.yml)
+[![Coverage](https://github.com/sweetrpg/api-core/blob/develop/coverage.svg)](https://github.com/sweetrpg/api-core)
+[![PyPI version](https://badgen.net/pypi/v/sweetrpg-api-core)](https://pypi.org/project/sweetrpg-api-core)
+[![License](https://img.shields.io/github/license/sweetrpg/api-core.svg)](https://img.shields.io/github/license/sweetrpg/api-core.svg)
+[![Issues](https://img.shields.io/github/issues/sweetrpg/api-core.svg)](https://img.shields.io/github/issues/sweetrpg/api-core.svg)
+[![PRs](https://img.shields.io/github/issues-pr/sweetrpg/api-core.svg)](https://img.shields.io/github/issues-pr/sweetrpg/api-core.svg)
+[![Dependabot](https://badgen.net/github/dependabot/sweetrpg/api-core)](https://badgen.net/github/dependabot/sweetrpg/api-core)
+
+[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
+[![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)
+
+Put something useful here.
+
+## Documentation
+
+Documentation for this package can be found [here](https://sweetrpg.github.io/api-core).
+
+
+%package help
+Summary: Development documents and examples for sweetrpg-api-core
+Provides: python3-sweetrpg-api-core-doc
+%description help
+# API Core
+
+[![Unit tests](https://github.com/sweetrpg/api-core/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/api-core/actions/workflows/python-ci.yml)
+[![Coverage](https://github.com/sweetrpg/api-core/blob/develop/coverage.svg)](https://github.com/sweetrpg/api-core)
+[![PyPI version](https://badgen.net/pypi/v/sweetrpg-api-core)](https://pypi.org/project/sweetrpg-api-core)
+[![License](https://img.shields.io/github/license/sweetrpg/api-core.svg)](https://img.shields.io/github/license/sweetrpg/api-core.svg)
+[![Issues](https://img.shields.io/github/issues/sweetrpg/api-core.svg)](https://img.shields.io/github/issues/sweetrpg/api-core.svg)
+[![PRs](https://img.shields.io/github/issues-pr/sweetrpg/api-core.svg)](https://img.shields.io/github/issues-pr/sweetrpg/api-core.svg)
+[![Dependabot](https://badgen.net/github/dependabot/sweetrpg/api-core)](https://badgen.net/github/dependabot/sweetrpg/api-core)
+
+[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
+[![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)
+
+Put something useful here.
+
+## Documentation
+
+Documentation for this package can be found [here](https://sweetrpg.github.io/api-core).
+
+
+%prep
+%autosetup -n sweetrpg-api-core-0.0.120
+
+%build
+%py3_build
+
+%install
+%py3_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
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-sweetrpg-api-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.120-1
+- Package Spec generated