diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 01:49:51 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 01:49:51 +0000 |
commit | 020be8f36f4024ed18cc2ad246029af576fea4f9 (patch) | |
tree | c88019367551bd7b2f3db09d5de099122fdc6d9a | |
parent | 9b0bc6f57fbe244649cee49be3f0e7c161d52a3b (diff) |
automatic import of python-sweetrpg-model-core
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sweetrpg-model-core.spec | 128 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 130 insertions, 0 deletions
@@ -0,0 +1 @@ +/sweetrpg-model-core-0.0.113.tar.gz diff --git a/python-sweetrpg-model-core.spec b/python-sweetrpg-model-core.spec new file mode 100644 index 0000000..64e5d6a --- /dev/null +++ b/python-sweetrpg-model-core.spec @@ -0,0 +1,128 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sweetrpg-model-core +Version: 0.0.113 +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/71/ff/cccba23a7a14c98a19fd717a2d6092dae2cbb739d74433fffd3eaaf62a09/sweetrpg-model-core-0.0.113.tar.gz +BuildArch: noarch + +Requires: python3-marshmallow +Requires: python3-PyMongo[srv] + +%description +# sweetrpg-model-core + +[](https://github.com/sweetrpg/model-core/actions/workflows/python-ci.yml) +[](https://github.com/sweetrpg/model-core) +[](https://pypi.org/project/sweetrpg-model-core) +[](https://img.shields.io/github/license/sweetrpg/model-core.svg) +[](https://img.shields.io/github/issues/sweetrpg/model-core.svg) +[](https://img.shields.io/github/issues-pr/sweetrpg/model-core.svg) +[](https://badgen.net/github/dependabot/sweetrpg/model-core) + +[](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white) +[](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/model-core). + + +%package -n python3-sweetrpg-model-core +Summary: please add a summary manually as the author left a blank one +Provides: python-sweetrpg-model-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sweetrpg-model-core +# sweetrpg-model-core + +[](https://github.com/sweetrpg/model-core/actions/workflows/python-ci.yml) +[](https://github.com/sweetrpg/model-core) +[](https://pypi.org/project/sweetrpg-model-core) +[](https://img.shields.io/github/license/sweetrpg/model-core.svg) +[](https://img.shields.io/github/issues/sweetrpg/model-core.svg) +[](https://img.shields.io/github/issues-pr/sweetrpg/model-core.svg) +[](https://badgen.net/github/dependabot/sweetrpg/model-core) + +[](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white) +[](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/model-core). + + +%package help +Summary: Development documents and examples for sweetrpg-model-core +Provides: python3-sweetrpg-model-core-doc +%description help +# sweetrpg-model-core + +[](https://github.com/sweetrpg/model-core/actions/workflows/python-ci.yml) +[](https://github.com/sweetrpg/model-core) +[](https://pypi.org/project/sweetrpg-model-core) +[](https://img.shields.io/github/license/sweetrpg/model-core.svg) +[](https://img.shields.io/github/issues/sweetrpg/model-core.svg) +[](https://img.shields.io/github/issues-pr/sweetrpg/model-core.svg) +[](https://badgen.net/github/dependabot/sweetrpg/model-core) + +[](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white) +[](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/model-core). + + +%prep +%autosetup -n sweetrpg-model-core-0.0.113 + +%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-model-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.113-1 +- Package Spec generated @@ -0,0 +1 @@ +095ed1a61f19674e69cf0f5a4b65857a sweetrpg-model-core-0.0.113.tar.gz |