diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 19:08:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 19:08:17 +0000 |
commit | d577973920354ad840819e9382d631200ec56d45 (patch) | |
tree | 46960233717385c55af8f0c13293dd50933a9150 | |
parent | 62e5769e4579692232d3afae3797344a49fcc033 (diff) |
automatic import of python-sweetrpg-web-coreopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sweetrpg-web-core.spec | 127 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 129 insertions, 0 deletions
@@ -0,0 +1 @@ +/sweetrpg-web-core-0.0.227.tar.gz diff --git a/python-sweetrpg-web-core.spec b/python-sweetrpg-web-core.spec new file mode 100644 index 0000000..a93ee58 --- /dev/null +++ b/python-sweetrpg-web-core.spec @@ -0,0 +1,127 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sweetrpg-web-core +Version: 0.0.227 +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/66/ce/44a37d4803635e77daebc1b85fa80800e8f61efafdd21a2c7cac5e276ccb/sweetrpg-web-core-0.0.227.tar.gz +BuildArch: noarch + +Requires: python3-Flask + +%description +# Web Core + +[](https://github.com/sweetrpg/web-core/actions/workflows/python-ci.yml) +[](https://github.com/sweetrpg/web-core) +[](https://pypi.org/project/sweetrpg-web-core) +[](https://img.shields.io/github/license/sweetrpg/web-core.svg) +[](https://img.shields.io/github/issues/sweetrpg/web-core.svg) +[](https://img.shields.io/github/issues-pr/sweetrpg/web-core.svg) +[](https://badgen.net/github/dependabot/sweetrpg/web-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/web-core). + + +%package -n python3-sweetrpg-web-core +Summary: please add a summary manually as the author left a blank one +Provides: python-sweetrpg-web-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sweetrpg-web-core +# Web Core + +[](https://github.com/sweetrpg/web-core/actions/workflows/python-ci.yml) +[](https://github.com/sweetrpg/web-core) +[](https://pypi.org/project/sweetrpg-web-core) +[](https://img.shields.io/github/license/sweetrpg/web-core.svg) +[](https://img.shields.io/github/issues/sweetrpg/web-core.svg) +[](https://img.shields.io/github/issues-pr/sweetrpg/web-core.svg) +[](https://badgen.net/github/dependabot/sweetrpg/web-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/web-core). + + +%package help +Summary: Development documents and examples for sweetrpg-web-core +Provides: python3-sweetrpg-web-core-doc +%description help +# Web Core + +[](https://github.com/sweetrpg/web-core/actions/workflows/python-ci.yml) +[](https://github.com/sweetrpg/web-core) +[](https://pypi.org/project/sweetrpg-web-core) +[](https://img.shields.io/github/license/sweetrpg/web-core.svg) +[](https://img.shields.io/github/issues/sweetrpg/web-core.svg) +[](https://img.shields.io/github/issues-pr/sweetrpg/web-core.svg) +[](https://badgen.net/github/dependabot/sweetrpg/web-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/web-core). + + +%prep +%autosetup -n sweetrpg-web-core-0.0.227 + +%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-web-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.227-1 +- Package Spec generated @@ -0,0 +1 @@ +f04737232b5701726a2a9cf4bc138045 sweetrpg-web-core-0.0.227.tar.gz |