%bcond_without static_libs # don't build static library
%bcond_without apidocs # do not build and package API docs
%bcond_without python # smixer-python binding
%bcond_without static_libs # don't build static library
%bcond_without apidocs # do not build and package API docs
%bcond_without python # smixer-python binding
%bcond_with resmgr # Resource Manager support
Summary: Advanced Linux Sound Architecture (ALSA) - Library
%bcond_with resmgr # Resource Manager support
Summary: Advanced Linux Sound Architecture (ALSA) - Library
Summary(ru.UTF-8): Библиотека API для работы с драйвером ALSA
Summary(uk.UTF-8): Бібліотека API для роботи з драйвером ALSA
Name: alsa-lib
Summary(ru.UTF-8): Библиотека API для работы с драйвером ALSA
Summary(uk.UTF-8): Бібліотека API для роботи з драйвером ALSA
Name: alsa-lib
URL: http://www.alsa-project.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libtool >= 1.4
%if %{with python}
URL: http://www.alsa-project.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libtool >= 1.4
%if %{with python}
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libasound.so
ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libasound.so.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libasound.so
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libasound.so
ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libasound.so.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libasound.so