diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1d2861e --- /dev/null +++ b/LICENSE @@ -0,0 +1,30 @@ +Copyright (c) 2016 Bastian Bechtold +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/SoundCard-0.2.2-py3-none-any.whl b/SoundCard-0.2.2-py3-none-any.whl deleted file mode 100644 index eaa33cc..0000000 --- a/SoundCard-0.2.2-py3-none-any.whl +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:064ac4ae9412fe1a33ef687c4928241fa60c79c3d2074791e8137e890804656d -size 36261 diff --git a/SoundCard-0.3.0.tar.gz b/SoundCard-0.3.0.tar.gz new file mode 100644 index 0000000..013d122 --- /dev/null +++ b/SoundCard-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69bf3cc710bbfc0d70ac5a76dd06cb6cb22bf97584399c72aaf1645203b91a23 +size 31156 diff --git a/python-SoundCard.changes b/python-SoundCard.changes index 7c7ad45..2610b79 100644 --- a/python-SoundCard.changes +++ b/python-SoundCard.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 28 14:09:10 UTC 2019 - Tomáš Chvátal + +- Switch to source release +- Update to 0.3.0: + * Various docu updates + * Support python 3.5 + ------------------------------------------------------------------- Thu Jan 3 21:34:01 UTC 2019 - Todd R diff --git a/python-SoundCard.spec b/python-SoundCard.spec index 1fcc191..e241eef 100644 --- a/python-SoundCard.spec +++ b/python-SoundCard.spec @@ -1,7 +1,7 @@ # # spec file for package python-SoundCard # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -19,25 +19,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-SoundCard -Version: 0.2.2 +Version: 0.3.0 Release: 0 Summary: Python package to play and record audio License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/bastibe/SoundCard -Source0: https://files.pythonhosted.org/packages/py3/S/SoundCard/SoundCard-%{version}-py3-none-any.whl +URL: https://github.com/bastibe/SoundCard +Source0: https://files.pythonhosted.org/packages/source/S/SoundCard/SoundCard-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/bastibe/SoundCard/master/LICENSE Source100: python-SoundCard-rpmlintrc BuildRequires: %{python_module cffi} BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pip} -BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: pulseaudio Requires: python-cffi Requires: python-numpy BuildArch: noarch - %python_subpackages %description @@ -51,18 +50,19 @@ across platforms, naming schemes and block sizes can vary between devices and platforms. %prep -%setup -T -c +%setup -q -n SoundCard-%{version} +cp %{SOURCE1} . %build -# Not Needed +%python_build %install -%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0} +%python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%license %{python_sitelib}/SoundCard-%{version}.dist-info/LICENSE -%{python_sitelib}/SoundCard-%{version}.dist-info -%{python_sitelib}/soundcard/ +%license LICENSE +%doc README.rst +%{python_sitelib}/* %changelog