commit 8b6b28a8e1b21e066b0df1a8befcc8260f763da33ad3ccf408f229eeaf7a60c2 Author: Todd R Date: Mon Nov 5 19:31:53 2018 +0000 Python bindings for OpenAl OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyOpenAL?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PyOpenAL-0.7.3a1.tar.gz b/PyOpenAL-0.7.3a1.tar.gz new file mode 100644 index 0000000..27ccce3 --- /dev/null +++ b/PyOpenAL-0.7.3a1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9507f9729a3babc4b39a488954e7046e018f69dddd80c33aff8d4734a31e564 +size 26408 diff --git a/python-PyOpenAL.changes b/python-PyOpenAL.changes new file mode 100644 index 0000000..195eb1f --- /dev/null +++ b/python-PyOpenAL.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Nov 2 02:35:00 UTC 2018 - Todd R + +- Initial version diff --git a/python-PyOpenAL.spec b/python-PyOpenAL.spec new file mode 100644 index 0000000..cf29a30 --- /dev/null +++ b/python-PyOpenAL.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-PyOpenAL +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-PyOpenAL +Version: 0.7.3a1 +Release: 0 +Summary: Python bindings for OpenAL +License: SUSE-Public-Domain +Group: Development/Languages/Python +Url: https://github.com/Zuzu-Typ/PyOpenAL +Source: https://files.pythonhosted.org/packages/source/P/PyOpenAL/PyOpenAL-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module numpy} +# /SECTION +Requires: python-numpy +Requires: config(openal-soft) +Recommends: python-PyOgg +BuildArch: noarch + +%python_subpackages + +%description +PyOpenAL provides OpenAL bindings for python as well as an interface +to them. + +It also provides a simple way to play WAVE and, if PyOgg is +installed, OGG Vorbis, OGG Opus and FLAC files. + +%prep +%setup -q -n PyOpenAL-%{version} +# wrong-file-end-of-line-encoding +sed -i 's/\r$//' README.md + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%license COPYING LICENSE +%{python_sitelib}/* + +%changelog