require alsa-ucm-conf [release 1.2.6.1-2mamba;Sat Apr 02 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 03:46:03 +01:00
parent 16fbb80b40
commit a97ea3cf9c

View File

@ -1,6 +1,6 @@
Name: libalsa Name: libalsa
Version: 1.2.6.1 Version: 1.2.6.1
Release: 1mamba Release: 2mamba
Summary: Library for the Advanced Linux Sound Architecture (ALSA) Summary: Library for the Advanced Linux Sound Architecture (ALSA)
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
@ -19,6 +19,7 @@ License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: alsa-ucm-conf
Requires(post):/sbin/ldconfig Requires(post):/sbin/ldconfig
%description %description
@ -48,40 +49,6 @@ ALSA has the following significant features:
This is the development package for the libraries. This is the development package for the libraries.
%package -n python-smixer
Summary: Python smixer binding for ALSA libraries
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description -n python-smixer
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.
ALSA has the following significant features:
- efficient support for all types of audio interfaces, from consumer soundcards to professional multichannel audio interfaces
- fully modularized sound drivers
- SMP and thread-safe design
- user space library (alsa-lib) to simplify application programming and provide higher level functionality
- support for the older OSS API, providing binary compatibility for most OSS programs
This package contains the python smixer binding.
%package -n lib32-%{name}
Summary: Library for the Advanced Linux Sound Architecture (ALSA)
Group: System/Libraries
%description -n lib32-%{name}
Library for the Advanced Linux Sound Architecture (ALSA).
%package -n lib32-%{name}-devel
Summary: Devel package for lib32-%{name}
Group: Development/Libraries
Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-%{name}-devel
Library for the Advanced Linux Sound Architecture (ALSA).
This package contains static libraries and header files needed for development.
%debug_package %debug_package
%prep %prep
@ -97,7 +64,7 @@ autoreconf -f -i
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %makeinstall
install -D %{SOURCE2} %{buildroot}/lib/modprobe.d/alsa.conf install -D -m0644 %{SOURCE2} %{buildroot}%{_modprobedir}/alsa.conf
#(cd %{buildroot}%{_datadir}/alsa/ucm #(cd %{buildroot}%{_datadir}/alsa/ucm
#tar xf %{SOURCE3}) #tar xf %{SOURCE3})
@ -121,27 +88,19 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%preun -p /sbin/ldconfig %preun -p /sbin/ldconfig
%post -n lib32-%{name} -p /sbin/ldconfig
%postun -n lib32-%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/aserver %{_bindir}/aserver
%dir %{_datadir}/alsa %dir %{_datadir}/alsa
%{_datadir}/alsa/* %{_datadir}/alsa/*
/lib/modprobe.d/alsa.conf %{_modprobedir}/alsa.conf
%{_libdir}/*.so.* %{_libdir}/libasound.so.*
#%{_libdir}/alsa-lib/smixer/smixer-ac97.la %{_libdir}/libatopology.so.*
#%{_libdir}/alsa-lib/smixer/smixer-ac97.so
#%{_libdir}/alsa-lib/smixer/smixer-hda.la
#%{_libdir}/alsa-lib/smixer/smixer-hda.so
#%{_libdir}/alsa-lib/smixer/smixer-sbase.la
#%{_libdir}/alsa-lib/smixer/smixer-sbase.so
%doc COPYING %doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
#%{_bindir}/alsalisp
%{_includedir}/asoundlib.h %{_includedir}/asoundlib.h
%dir %{_includedir}/alsa %dir %{_includedir}/alsa
%{_includedir}/alsa/*.h %{_includedir}/alsa/*.h
@ -149,37 +108,17 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%{_includedir}/alsa/sound/uapi/*.h %{_includedir}/alsa/sound/uapi/*.h
%{_includedir}/sys/*.h %{_includedir}/sys/*.h
%{_datadir}/aclocal/alsa.m4 %{_datadir}/aclocal/alsa.m4
#%{_libdir}/alsa-lib/smixer/smixer-*.a %{_libdir}/libasound.la
#%{_libdir}/libasound.a %{_libdir}/libasound.so
%{_libdir}/*.la %{_libdir}/libatopology.la
%{_libdir}/*.so %{_libdir}/libatopology.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%doc ChangeLog MEMORY-LEAK NOTES TODO %doc ChangeLog MEMORY-LEAK NOTES TODO
#%files -n python-smixer
#%defattr(-,root,root)
#%{_libdir}/alsa-lib/smixer/smixer-python.la
#%{_libdir}/alsa-lib/smixer/smixer-python.so
%ifarch x86_64_disabled
%files -n lib32-%{name}
%defattr(-,root,root)
%{_prefix}/lib/alsa-lib/smixer/smixer-ac97.la
%{_prefix}/lib/alsa-lib/smixer/smixer-ac97.so
%{_prefix}/lib/alsa-lib/smixer/smixer-hda.la
%{_prefix}/lib/alsa-lib/smixer/smixer-hda.so
%{_prefix}/lib/alsa-lib/smixer/smixer-sbase.la
%{_prefix}/lib/alsa-lib/smixer/smixer-sbase.so
%{_prefix}/lib/libasound.so.*
%files -n lib32-%{name}-devel
%defattr(-,root,root)
%{_prefix}/lib/libasound.la
%{_prefix}/lib/libasound.so
%{_prefix}/lib/pkgconfig/alsa.pc
%endif
%changelog %changelog
* Sat Apr 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6.1-2mamba
- require alsa-ucm-conf
* Fri Dec 10 2021 Automatic Build System <autodist@mambasoft.it> 1.2.6.1-1mamba * Fri Dec 10 2021 Automatic Build System <autodist@mambasoft.it> 1.2.6.1-1mamba
- automatic version update by autodist - automatic version update by autodist