diff --git a/pulsectl-20.5.1.tar.gz b/pulsectl-20.5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f64390f0888b0e42fb071fea662321bc873afb18 Binary files /dev/null and b/pulsectl-20.5.1.tar.gz differ diff --git a/python-pulsectl.spec b/python-pulsectl.spec new file mode 100644 index 0000000000000000000000000000000000000000..f5c6099650c41c8e13e1e6a7c7c1a4597d58b7f9 --- /dev/null +++ b/python-pulsectl.spec @@ -0,0 +1,84 @@ +%global pypi_name pulsectl + +Name: python-%{pypi_name} +Version: 20.5.1 +Release: 1 +Summary: Python high-level interface and ctypes-based bindings for PulseAudio + +License: MIT +URL: https://pypi.org/project/%{pypi_name} +Source0: https://files.pythonhosted.org/packages/1a/a9/cdd1a19889f78ddd45775b9830045df2b4eb25f63911a2ddc3aaf8ec614f/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pulseaudio-libs + +%description +Python (3.x and 2.x) high-level interface and ctypes-based bindings +for PulseAudio, mostly focused on mixer-like controls and +introspection-related operations (as opposed to e.g. submitting sound +samples to play, player-like client). + + +%package -n python3-%{pypi_name} +Summary: Python high-level interface and ctypes-based bindings for PulseAudio + +%description -n python3-%{pypi_name} +Python 3.x high-level interface and ctypes-based bindings for +PulseAudio, mostly focused on mixer-like controls and +introspection-related operations (as opposed to e.g. submitting sound +samples to play, player-like client). + + +%prep +%setup -n %{pypi_name}-%{version} + + +%build +%{py3_build} + + +%install +%{py3_install} + + +%files -n python3-%{pypi_name} +%license COPYING +%doc README.rst CHANGES.rst +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/*egg-info/ + + +%changelog +* Wed Jul 7 2021 Liutao1 - 20.5.1-1 +- init package + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +