%global _empty_manifest_terminate_build 0
Name: python-SoundCard
Version: 0.4.2
Release: 1
Summary: Play and record audio without resorting to CPython extensions
License: BSD 3-clause
URL: https://github.com/bastibe/SoundCard
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4e/d5/759c7bff86349b6da18e5d4ee97b6621532c810578288a2638d9fec433b9/SoundCard-0.4.2.tar.gz
BuildArch: noarch
Requires: python3-cffi
Requires: python3-numpy
%description
|version| |python| |status| |license|
|contributors| |downloads|
SoundCard is a library for playing and recording audio without resorting to a
CPython extension. Instead, it is implemented using the wonderful `CFFI
`__ and the native audio libraries of
Linux, Windows and macOS.
SoundCard is cross-platform, and supports Linux/pulseaudio, Mac/coreaudio, and
Windows/WASAPI. While the programming interface is identical across platforms,
sound card naming schemes and default block sizes can vary between devices and
platforms.
SoundCard is still in development. All major features work on all platforms, but
there are a few known issues that still need to be fixed. If you find a bug,
please open an Issue, and I will try to fix it. Or open a Pull Request, and I
will try to include your fix into SoundCard.
However, please be aware that this is a hobby project of mine that I am
developing for free, and in my spare time. While I try to be as accomodating as
possible, I can not guarantee a timely response to issues. Publishing Open
Source Software on Github does not imply an obligation to *fix your problem
right now*. Please be civil.
| SoundCard is licensed under the terms of the BSD 3-clause license
| (c) 2016 Bastian Bechtold
|open-issues| |closed-issues| |open-prs| |closed-prs|
%package -n python3-SoundCard
Summary: Play and record audio without resorting to CPython extensions
Provides: python-SoundCard
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-SoundCard
|version| |python| |status| |license|
|contributors| |downloads|
SoundCard is a library for playing and recording audio without resorting to a
CPython extension. Instead, it is implemented using the wonderful `CFFI
`__ and the native audio libraries of
Linux, Windows and macOS.
SoundCard is cross-platform, and supports Linux/pulseaudio, Mac/coreaudio, and
Windows/WASAPI. While the programming interface is identical across platforms,
sound card naming schemes and default block sizes can vary between devices and
platforms.
SoundCard is still in development. All major features work on all platforms, but
there are a few known issues that still need to be fixed. If you find a bug,
please open an Issue, and I will try to fix it. Or open a Pull Request, and I
will try to include your fix into SoundCard.
However, please be aware that this is a hobby project of mine that I am
developing for free, and in my spare time. While I try to be as accomodating as
possible, I can not guarantee a timely response to issues. Publishing Open
Source Software on Github does not imply an obligation to *fix your problem
right now*. Please be civil.
| SoundCard is licensed under the terms of the BSD 3-clause license
| (c) 2016 Bastian Bechtold
|open-issues| |closed-issues| |open-prs| |closed-prs|
%package help
Summary: Development documents and examples for SoundCard
Provides: python3-SoundCard-doc
%description help
|version| |python| |status| |license|
|contributors| |downloads|
SoundCard is a library for playing and recording audio without resorting to a
CPython extension. Instead, it is implemented using the wonderful `CFFI
`__ and the native audio libraries of
Linux, Windows and macOS.
SoundCard is cross-platform, and supports Linux/pulseaudio, Mac/coreaudio, and
Windows/WASAPI. While the programming interface is identical across platforms,
sound card naming schemes and default block sizes can vary between devices and
platforms.
SoundCard is still in development. All major features work on all platforms, but
there are a few known issues that still need to be fixed. If you find a bug,
please open an Issue, and I will try to fix it. Or open a Pull Request, and I
will try to include your fix into SoundCard.
However, please be aware that this is a hobby project of mine that I am
developing for free, and in my spare time. While I try to be as accomodating as
possible, I can not guarantee a timely response to issues. Publishing Open
Source Software on Github does not imply an obligation to *fix your problem
right now*. Please be civil.
| SoundCard is licensed under the terms of the BSD 3-clause license
| (c) 2016 Bastian Bechtold
|open-issues| |closed-issues| |open-prs| |closed-prs|
%prep
%autosetup -n SoundCard-0.4.2
%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-SoundCard -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue May 30 2023 Python_Bot - 0.4.2-1
- Package Spec generated