2018-11-05 19:31:53 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-PyOpenAL
|
|
|
|
|
#
|
2020-01-16 14:07:39 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-11-05 19:31:53 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
2020-01-16 14:07:39 +00:00
|
|
|
Version: 0.7.11a1
|
2018-11-05 19:31:53 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Python bindings for OpenAL
|
|
|
|
|
License: SUSE-Public-Domain
|
|
|
|
|
Group: Development/Languages/Python
|
2019-03-04 16:48:36 +00:00
|
|
|
URL: https://github.com/Zuzu-Typ/PyOpenAL
|
2018-11-05 19:31:53 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/P/PyOpenAL/PyOpenAL-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-03-14 14:45:26 +00:00
|
|
|
BuildRequires: dos2unix
|
2018-11-05 19:31:53 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: config(openal-soft)
|
|
|
|
|
Recommends: python-PyOgg
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2018-11-06 15:28:45 +00:00
|
|
|
PyOpenAL provides OpenAL bindings for Python as well as an interface
|
2018-11-05 19:31:53 +00:00
|
|
|
to them.
|
|
|
|
|
|
2018-11-06 15:28:45 +00:00
|
|
|
It also provides a way to play WAVE and, if PyOgg is
|
2018-11-05 19:31:53 +00:00
|
|
|
installed, OGG Vorbis, OGG Opus and FLAC files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n PyOpenAL-%{version}
|
2019-03-14 14:45:26 +00:00
|
|
|
dos2unix README.md
|
2018-11-05 19:31:53 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%doc README.md
|
2019-03-04 16:48:36 +00:00
|
|
|
%license COPYING LICENSE
|
2018-11-05 19:31:53 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|