summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 16:52:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 16:52:17 +0000
commit17d21097cda4e6f7d54c43b05dcfc2c05d1a55fe (patch)
tree237e89efdd62125fcde8173d38174b31ac9ffc19
parent4f3c27a2cdc3b3b445746fa7768dd78c8d398e5a (diff)
automatic import of python-simpleaudio
-rw-r--r--.gitignore1
-rw-r--r--python-simpleaudio.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1f83270 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/simpleaudio-1.0.4.tar.gz
diff --git a/python-simpleaudio.spec b/python-simpleaudio.spec
new file mode 100644
index 0000000..2b173de
--- /dev/null
+++ b/python-simpleaudio.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-simpleaudio
+Version: 1.0.4
+Release: 1
+Summary: Simple, asynchronous audio playback for Python 3.
+License: MIT
+URL: https://github.com/hamiltron/py-simple-audio
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/94/1b/4dc29653733202b68c09d9c6ca085cf67ac54859ee860647ef21ac1ff3dc/simpleaudio-1.0.4.tar.gz
+
+
+%description
+The simplaudio package provides cross-platform, dependency-free audio playback
+capability for Python 3 on OSX, Windows, and Linux.
+MIT Licensed.
+
+%package -n python3-simpleaudio
+Summary: Simple, asynchronous audio playback for Python 3.
+Provides: python-simpleaudio
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-simpleaudio
+The simplaudio package provides cross-platform, dependency-free audio playback
+capability for Python 3 on OSX, Windows, and Linux.
+MIT Licensed.
+
+%package help
+Summary: Development documents and examples for simpleaudio
+Provides: python3-simpleaudio-doc
+%description help
+The simplaudio package provides cross-platform, dependency-free audio playback
+capability for Python 3 on OSX, Windows, and Linux.
+MIT Licensed.
+
+%prep
+%autosetup -n simpleaudio-1.0.4
+
+%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-simpleaudio -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..10f1a42
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8bd62157c286824e289e1f258419b98c simpleaudio-1.0.4.tar.gz