%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
%{__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