From 9cd9aec5418c2c0ee67f1e8c87cadc6b5a0136b8082b5a55b071ef5b787ef27c Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 15 Jan 2013 14:14:04 +0000 Subject: [PATCH] Accepting request 148429 from home:posophe:branches:devel:languages:python Made required changes OBS-URL: https://build.opensuse.org/request/show/148429 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyalsaaudio?expand=0&rev=2 --- python-pyalsaaudio.changes | 5 ++++ python-pyalsaaudio.spec | 2 +- python3-pyalsaaudio.changes | 5 ++++ python3-pyalsaaudio.spec | 50 +++++++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 python3-pyalsaaudio.changes create mode 100644 python3-pyalsaaudio.spec diff --git a/python-pyalsaaudio.changes b/python-pyalsaaudio.changes index 7caf4ef..80e99a4 100644 --- a/python-pyalsaaudio.changes +++ b/python-pyalsaaudio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 13 15:07:02 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + ------------------------------------------------------------------- Fri Sep 2 07:59:58 UTC 2011 - saschpe@suse.de diff --git a/python-pyalsaaudio.spec b/python-pyalsaaudio.spec index ccbebb9..9059be9 100644 --- a/python-pyalsaaudio.spec +++ b/python-pyalsaaudio.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyalsaaudio # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/python3-pyalsaaudio.changes b/python3-pyalsaaudio.changes new file mode 100644 index 0000000..336dcee --- /dev/null +++ b/python3-pyalsaaudio.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Jan 13 15:07:16 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + diff --git a/python3-pyalsaaudio.spec b/python3-pyalsaaudio.spec new file mode 100644 index 0000000..85c744b --- /dev/null +++ b/python3-pyalsaaudio.spec @@ -0,0 +1,50 @@ +# +# spec file for package python3-pyalsaaudio +# +# Copyright (c) 2013 SUSE LINUX Products 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 http://bugs.opensuse.org/ +# + +Name: python3-pyalsaaudio +Version: 0.7 +Release: 0 +Url: http://pyalsaaudio.sourceforge.net/ +Summary: ALSA bindings +License: Python-2.0 +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/p/pyalsaaudio/pyalsaaudio-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-distribute +BuildRequires: alsa-devel + +%description +This package contains wrappers for accessing the ALSA API from Python. +It is fairly complete for PCM devices and Mixer access. + +%prep +%setup -q -n pyalsaaudio-%{version} + +%build +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc CHANGES LICENSE README TODO doc/html +%{python3_sitearch}/* + +%changelog