python-alsa/python-alsa.spec
2020-03-03 15:36:00 +08:00

51 lines
1.0 KiB
RPMSpec

Name: python-alsa
Version: 1.1.6
Release: 1
Summary: Python binding for the ALSA library
License: LGPLv2+
URL: http://www.alsa-project.org/
Source0: ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-%{version}.tar.bz2
BuildRequires: alsa-lib-devel >= %{version} gcc
%description
Python bindings for the ALSA library.
%package -n python2-alsa
Summary: Python2 binding for the ALSA library
BuildRequires: python2-devel
Requires: python2
%description -n python2-alsa
Python2 bindings for the ALSA library.
%package -n python3-alsa
Summary: Python3 binding for the ALSA library
BuildRequires: python3-devel
Requires: python3
%{?python_provide:%python_provide python3-webob}
%description -n python3-alsa
Python3 bindings for the ALSA library.
%prep
%autosetup -n pyalsa-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-alsa
%{python2_sitearch}/*
%files -n python3-alsa
%{python3_sitearch}/*
%changelog
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-1
- Package init