require libalsa-plugins [release 9.0-4mamba;Wed Nov 22 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 10:35:06 +01:00
parent c1dc8c4833
commit f017b5d1d5

View File

@ -5,7 +5,7 @@
%define majver %(echo %{version} | cut -d. -f 1-2)
Name: pulseaudio
Version: 9.0
Release: 2mamba
Release: 4mamba
Summary: Improved Linux sound server
Group: System/Libraries
Vendor: openmamba
@ -88,6 +88,7 @@ BuildRequires: xmltoman
BuildRequires: libsbc-devel
BuildConflicts: hal-devel
Requires: lib%{name}-core = %{version}-%{release}
Requires: libalsa-plugins
Requires: rtkit
Requires: udev
Requires(post): /usr/sbin/alternatives
@ -316,14 +317,14 @@ CFLAGS="%{optflags} -ggdb" \
--with-system-group=pulse \
--with-access-group=pulse-access \
--disable-hal \
--disable-static \
--enable-static=no \
--disable-rpath \
--disable-xen \
%ifarch arm
--disable-neon-opt
%endif
%make LIBTOOL=%{_bindir}/libtool
%make LIBTOOL=%{_bindir}/libtool
%make -C doxygen
%install
@ -350,6 +351,10 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps
install -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/asound.conf.pulseaudio
rm -f %{buildroot}%{_libdir}/*.{a,la}
rm -f %{buildroot}%{_libdir}/pulseaudio/*.{a,la}
rm -f %{buildroot}%{_libdir}/pulse-%{majver}/modules/*.{a,la}
%find_lang %{name}
%clean
@ -516,11 +521,7 @@ fi
%config(noreplace) %{_sysconfdir}/pulse/client.conf
%{_libdir}/libpulse.so.*
%{_libdir}/libpulse-simple.so.*
%{_libdir}/pulseaudio/libpulsecommon-%{majver}.a
%{_libdir}/pulseaudio/libpulsecommon-%{majver}.la
%{_libdir}/pulseaudio/libpulsecommon-%{majver}.so
%{_libdir}/pulseaudio/libpulsedsp.a
%{_libdir}/pulseaudio/libpulsedsp.la
%{_libdir}/pulseaudio/libpulsedsp.so
%doc GPL LGPL LICENSE
@ -632,18 +633,24 @@ fi
%{_mandir}/man1/pasuspender.1*
%{_mandir}/man1/pax11publish.1*
%files static
%defattr(-,root,root)
%{_libdir}/libpulse.*a
#%{_libdir}/libpulsecommon-%{version}.*a
#%{_libdir}/libpulse-browse.*a
%{_libdir}/libpulse-mainloop-glib.*a
%{_libdir}/libpulse-simple.*a
#%{_libdir}/libpulsedsp.a
%{_libdir}/pulseaudio/libpulsecore-%{majver}.*a
%{_libdir}/pulse-%{majver}/modules/*.a
#%files static
#%defattr(-,root,root)
#%{_libdir}/libpulse.*a
##%{_libdir}/libpulsecommon-%{version}.*a
##%{_libdir}/libpulse-browse.*a
#%{_libdir}/libpulse-mainloop-glib.a
#%{_libdir}/libpulse-simple.a
##%{_libdir}/libpulsedsp.a
#%{_libdir}/pulseaudio/libpulsecore-%{majver}.a
#%{_libdir}/pulse-%{majver}/modules/*.a
%changelog
* Wed Nov 22 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0-4mamba
- require libalsa-plugins
* Sun Nov 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0-3mamba
- remove .a and .la static files and package
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0-2mamba
- assign reserved ids to pulse and pulse-access user and groups