automatic version update by autodist [release 1.2.6-1mamba;Fri Dec 10 2021]
This commit is contained in:
parent
2fd7babb3f
commit
2ea36f04ef
@ -1,56 +1,56 @@
|
||||
Name: python-pyalsa
|
||||
Version: 1.1.6
|
||||
Version: 1.2.6
|
||||
Release: 1mamba
|
||||
Summary: Python binding for the ALSA library
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
URL: http://www.alsa-project.org/
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.alsa-project.org/wiki/Main_Page
|
||||
Source: ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-%{version}.tar.bz2
|
||||
License: LGPL
|
||||
Requires: python >= %python_version
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libalsa-devel >= %{version}
|
||||
BuildRequires: libpython-devel >= %python_version
|
||||
BuildRequires: python >= %python_version
|
||||
BuildRequires: libalsa-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Python binding for the ALSA library
|
||||
|
||||
%prep
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n pyalsa-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
python setup.py install \
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch}
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/pyalsa
|
||||
%{python_sitearch}/pyalsa/__init__.py
|
||||
%{python_sitearch}/pyalsa/__init__.pyc
|
||||
%{python_sitearch}/pyalsa/alsacard.so
|
||||
%{python_sitearch}/pyalsa/alsacontrol.so
|
||||
%{python_sitearch}/pyalsa/alsahcontrol.so
|
||||
%{python_sitearch}/pyalsa/alsamixer.so
|
||||
%{python_sitearch}/pyalsa/alsaseq.so
|
||||
%{python_sitearch}/pyalsa-%{version}-py*.egg-info
|
||||
%dir %{python_sitearch}/pyalsa-%{version}-py*.egg-info
|
||||
%{python_sitearch}/pyalsa-%{version}-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 10 2021 Automatic Build System <autodist@mambasoft.it> 1.2.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jul 29 2018 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user