b94e7e9
%global srcname0 JACK-Client
b94e7e9
%global srcname1 jackclient-python
b94e7e9
%global srcname2 JACK_Client
b94e7e9
b94e7e9
Name:          python-jack-client
b94e7e9
Version:       0.5.2
80fc81f
Release:       7%{?dist}
b94e7e9
Summary:       JACK Audio Connection Kit (JACK) Client for Python
b94e7e9
BuildArch:     noarch
b94e7e9
b94e7e9
License:       MIT
b94e7e9
b94e7e9
URL:           http://jackclient-python.rtfd.org
b94e7e9
Source0:       https://github.com/spatialaudio/jackclient-python/archive/%{version}/%{srcname0}-%{version}.tar.gz
b94e7e9
b94e7e9
BuildRequires: python3-devel
b94e7e9
BuildRequires: python3-setuptools
b94e7e9
BuildRequires: python3-cffi
b94e7e9
%{?python_provide:%python_provide %{name}}
b94e7e9
Requires:      python3-cffi
b94e7e9
Requires:      jack-audio-connection-kit
b94e7e9
Suggests:      python3-numpy
b94e7e9
b94e7e9
%description
b94e7e9
Python module that provides bindings for the JACK library.
b94e7e9
The module is able to create audio input and output ports,
b94e7e9
also provides the functionality to manage MIDI ports.
b94e7e9
b94e7e9
This package installs the library for Python.
b94e7e9
b94e7e9
%prep
b94e7e9
%autosetup -n %{srcname1}-%{version}
b94e7e9
b94e7e9
%build
b94e7e9
%py3_build
b94e7e9
b94e7e9
%install
b94e7e9
%py3_install
b94e7e9
b94e7e9
%check
b94e7e9
%{__python3} setup.py test
b94e7e9
b94e7e9
%files
b94e7e9
%license LICENSE
b94e7e9
%doc README.rst
b94e7e9
%doc NEWS.rst
b94e7e9
%doc CONTRIBUTING.rst
b94e7e9
%{python3_sitelib}/%{srcname2}-*.egg-info/
b94e7e9
%{python3_sitelib}/__pycache__/*
b94e7e9
%{python3_sitelib}/_jack.py
b94e7e9
%{python3_sitelib}/jack.py
b94e7e9
b94e7e9
%changelog
80fc81f
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-7
80fc81f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
80fc81f
9ef15b8
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-6
9ef15b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9ef15b8
cbecffa
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.2-5
cbecffa
- Rebuilt for Python 3.10
cbecffa
2704ffb
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
2704ffb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2704ffb
921a003
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
921a003
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
921a003
90a57d4
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.5.2-2
90a57d4
- Rebuilt for Python 3.9
90a57d4
b94e7e9
* Mon Feb 17 2020 Erich Eickmeyer <erich@ericheickmeyer.com> - 0.5.2-1
b94e7e9
- Initial release for Fedora