diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:18:03 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:18:03 +0000 |
commit | 463cc6989166368e204c2fae692e413317d71426 (patch) | |
tree | 5acc387888f25978506b6db678cd64f2d2943984 | |
parent | acea2a73b5e43a82167dfa841ca2cfcc6e9d60ac (diff) |
automatic import of python-nightwindgamelib
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-nightwindgamelib.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/NightWindGameLib-0.8.5.tar.gz diff --git a/python-nightwindgamelib.spec b/python-nightwindgamelib.spec new file mode 100644 index 0000000..b53b27f --- /dev/null +++ b/python-nightwindgamelib.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-NightWindGameLib +Version: 0.8.5 +Release: 1 +Summary: Some little games +License: MIT License +URL: https://github.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b8/35/15325f6e837835d93ae2891f47e6f4dd3381f236d05658e97a2c1aaa1993/NightWindGameLib-0.8.5.tar.gz +BuildArch: noarch + +Requires: python3-arcade +Requires: python3-pygame +Requires: python3-PySide2 +Requires: python3-sympy +Requires: python3-Pillow + +%description + + +%package -n python3-NightWindGameLib +Summary: Some little games +Provides: python-NightWindGameLib +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-NightWindGameLib + + +%package help +Summary: Development documents and examples for NightWindGameLib +Provides: python3-NightWindGameLib-doc +%description help + + +%prep +%autosetup -n NightWindGameLib-0.8.5 + +%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-NightWindGameLib -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.5-1 +- Package Spec generated @@ -0,0 +1 @@ +f6e8439cdabcf080cd3947bc19009135 NightWindGameLib-0.8.5.tar.gz |