From f017b5d1d54670953c31e6f4b14b427667f0add6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:35:06 +0100 Subject: [PATCH] require libalsa-plugins [release 9.0-4mamba;Wed Nov 22 2017] --- pulseaudio.spec | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/pulseaudio.spec b/pulseaudio.spec index 2cad1b5..0206125 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -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 9.0-4mamba +- require libalsa-plugins + +* Sun Nov 19 2017 Silvan Calarco 9.0-3mamba +- remove .a and .la static files and package + * Wed Nov 15 2017 Silvan Calarco 9.0-2mamba - assign reserved ids to pulse and pulse-access user and groups