summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 04:40:19 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 04:40:19 +0000
commit2fee9725fe9e612d3142e37a0bbe743611e80889 (patch)
tree5bca29c689ffdf57aa323c4a9f3e17b5408ab1f3
parent6dca0ff09ea099aa22f90dcac56aaac3dc295bcc (diff)
automatic import of python-LexLabopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-lexlab.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4186789 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/LexLab-0.0.7.tar.gz
diff --git a/python-lexlab.spec b/python-lexlab.spec
new file mode 100644
index 0000000..9320c32
--- /dev/null
+++ b/python-lexlab.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-LexLab
+Version: 0.0.7
+Release: 1
+Summary: A Python package to simplify game development
+License: MIT License
+URL: https://github.com/Robert-DeForrest-Reynolds/LexLab
+Source0: https://mirrors.aliyun.com/pypi/web/packages/14/4f/8effbc4afb6b3d4c8447f6cbf7742fdc057dd24321a0048367cbb68d311e/LexLab-0.0.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-pygame
+
+%description
+
+
+%package -n python3-LexLab
+Summary: A Python package to simplify game development
+Provides: python-LexLab
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-LexLab
+
+
+%package help
+Summary: Development documents and examples for LexLab
+Provides: python3-LexLab-doc
+%description help
+
+
+%prep
+%autosetup -n LexLab-0.0.7
+
+%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-LexLab -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0fa3c5d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7ff88f42a938ed938c4bf28949bb2e30 LexLab-0.0.7.tar.gz