60 lines
1.3 KiB
RPMSpec
60 lines
1.3 KiB
RPMSpec
Name: python-alsa
|
|
Version: 1.1.6
|
|
Release: 3
|
|
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-alsa}
|
|
|
|
%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 Sep 16 2021 caodongxia <caodongxia@huawei.com> - 1.1.6-3
|
|
- Remove redundant provides python-webob
|
|
|
|
* Fri Aug 21 2020 fanjiachen <fanjiachen3@huawei.com> - 1.1.6-2
|
|
- Type:rebuild
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:rebuild for requirement package update
|
|
|
|
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-1
|
|
- Package init
|