require alsa-ucm-conf [release 1.2.6.1-2mamba;Sat Apr 02 2022]
This commit is contained in:
parent
16fbb80b40
commit
a97ea3cf9c
87
libalsa.spec
87
libalsa.spec
@ -1,6 +1,6 @@
|
||||
Name: libalsa
|
||||
Version: 1.2.6.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Library for the Advanced Linux Sound Architecture (ALSA)
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -19,6 +19,7 @@ License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: alsa-ucm-conf
|
||||
Requires(post):/sbin/ldconfig
|
||||
|
||||
%description
|
||||
@ -48,40 +49,6 @@ ALSA has the following significant features:
|
||||
|
||||
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
|
||||
|
||||
%prep
|
||||
@ -97,7 +64,7 @@ autoreconf -f -i
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
install -D %{SOURCE2} %{buildroot}/lib/modprobe.d/alsa.conf
|
||||
install -D -m0644 %{SOURCE2} %{buildroot}%{_modprobedir}/alsa.conf
|
||||
|
||||
#(cd %{buildroot}%{_datadir}/alsa/ucm
|
||||
#tar xf %{SOURCE3})
|
||||
@ -121,27 +88,19 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%preun -p /sbin/ldconfig
|
||||
%post -n lib32-%{name} -p /sbin/ldconfig
|
||||
%postun -n lib32-%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/aserver
|
||||
%dir %{_datadir}/alsa
|
||||
%{_datadir}/alsa/*
|
||||
/lib/modprobe.d/alsa.conf
|
||||
%{_libdir}/*.so.*
|
||||
#%{_libdir}/alsa-lib/smixer/smixer-ac97.la
|
||||
#%{_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
|
||||
%{_modprobedir}/alsa.conf
|
||||
%{_libdir}/libasound.so.*
|
||||
%{_libdir}/libatopology.so.*
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
#%{_bindir}/alsalisp
|
||||
%{_includedir}/asoundlib.h
|
||||
%dir %{_includedir}/alsa
|
||||
%{_includedir}/alsa/*.h
|
||||
@ -149,37 +108,17 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
|
||||
%{_includedir}/alsa/sound/uapi/*.h
|
||||
%{_includedir}/sys/*.h
|
||||
%{_datadir}/aclocal/alsa.m4
|
||||
#%{_libdir}/alsa-lib/smixer/smixer-*.a
|
||||
#%{_libdir}/libasound.a
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/libasound.la
|
||||
%{_libdir}/libasound.so
|
||||
%{_libdir}/libatopology.la
|
||||
%{_libdir}/libatopology.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%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
|
||||
* 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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user