posttrans: update default.pa to replace module-gconf with module-gsettings [release 14.0-2mamba;Thu Nov 26 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:35:06 +01:00
parent e35bc58acb
commit 297e25be03

View File

@ -4,8 +4,8 @@
%define pulse_access_userid 70
%define majver %(echo %{version} | cut -d. -f 1-2)
Name: pulseaudio
Version: 13.0
Release: 1mamba
Version: 14.0
Release: 2mamba
Summary: Improved Linux sound server
Group: System/Libraries
Vendor: openmamba
@ -20,11 +20,9 @@ Patch0: pulseaudio-0.9.22-desktop.patch
Patch25: pulseaudio-0.9.14-mixer-select.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: elfutils-devel
BuildRequires: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: ldconfig
BuildRequires: libICE-devel
BuildRequires: libORBit2-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
@ -35,27 +33,20 @@ BuildRequires: libXtst-devel
BuildRequires: libalsa-devel
BuildRequires: libasyncns-devel
BuildRequires: libavahi-devel
BuildRequires: libbsd-devel
BuildRequires: libcap-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libelf-devel
BuildRequires: libffi-devel
BuildRequires: libfftw-devel
BuildRequires: libflac-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libjack-devel
BuildRequires: libjson-c-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: liborc-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsbc-devel
BuildRequires: libselinux-devel
BuildRequires: libsndfile-devel
BuildRequires: libsoxr-devel
BuildRequires: libspeex-devel
BuildRequires: libssp-devel
BuildRequires: libsystemd-devel
@ -65,7 +56,6 @@ BuildRequires: libuuid-devel
BuildRequires: libvorbis-devel
BuildRequires: libwrap-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
BuildRequires: lirc-devel
## AUTOBUILDREQ-END
BuildRequires: automake
@ -307,20 +297,21 @@ PulseAudio is a sound server for Linux and other Unix like operating systems. It
This contains the static library needed by %{name} based applications.
%debug_package
%prep
%setup -q -T -b0
%setup -q
#%patch0 -p1
%build
#:<< _EOF
CFLAGS="%{optflags} -ggdb" \
%configure \
--with-system-user=pulse \
--with-system-group=pulse \
--with-access-group=pulse-access \
--disable-hal \
--enable-static=no \
--disable-rpath \
--disable-xen \
%ifarch arm
--disable-neon-opt
%endif
@ -383,6 +374,10 @@ if [ $1 -eq 0 ]; then
fi
:
%posttrans
sed -i "s|module-gconf|module-gsettings|" %{_sysconfdir}/pulse/default.pa
:
%post -n lib%{name}-glib -p /sbin/ldconfig
%postun -n lib%{name}-glib -p /sbin/ldconfig
@ -409,8 +404,6 @@ fi
%files
%defattr(-,root,root)
#%{_sysconfdir}/bash_completion.d/pulseaudio
#%{_sysconfdir}/bash_completion.d/pa*
%{_sysconfdir}/asound.conf.pulseaudio
%dir %{_sysconfdir}/pulse
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf
@ -443,7 +436,6 @@ fi
%{_libdir}/pulse-%{majver}/modules/module-cli.so
%{_libdir}/pulse-%{majver}/modules/module-combine.so
%{_libdir}/pulse-%{majver}/modules/module-console-kit.so
#%{_libdir}/pulse-%{majver}/modules/module-cork-music-on-phone.so
%{_libdir}/pulse-%{majver}/modules/module-default-device-restore.so
%{_libdir}/pulse-%{majver}/modules/module-detect.so
%{_libdir}/pulse-%{majver}/modules/module-device-manager.so
@ -458,7 +450,6 @@ fi
%{_libdir}/pulse-%{majver}/modules/module-http-protocol-tcp.so
%{_libdir}/pulse-%{majver}/modules/module-http-protocol-unix.so
%{_libdir}/pulse-%{majver}/modules/module-intended-roles.so
%{_libdir}/pulse-%{majver}/modules/module-jackdbus-detect.so
%{_libdir}/pulse-%{majver}/modules/module-ladspa-sink.so
%{_libdir}/pulse-%{majver}/modules/module-loopback.so
%{_libdir}/pulse-%{majver}/modules/module-match.so
@ -513,8 +504,7 @@ fi
%dir %{_datadir}/pulseaudio/alsa-mixer/profile-sets
%{_datadir}/pulseaudio/alsa-mixer/profile-sets/*.conf
%{_datadir}/zsh/site-functions/_pulseaudio
%{_mandir}/man1/pulseaudio.1.gz
#%{_mandir}/man1/start-pulseaudio-kde.1.gz
%{_mandir}/man1/pulseaudio.1*
%{_mandir}/man1/start-pulseaudio-x11.1*
%{_mandir}/man5/pulse-cli-syntax.5*
%{_mandir}/man5/default.pa.5*
@ -586,6 +576,7 @@ fi
%defattr(-,root,root)
%{_libdir}/pulse-%{majver}/modules/module-jack-sink.so
%{_libdir}/pulse-%{majver}/modules/module-jack-source.so
%{_libdir}/pulse-%{majver}/modules/module-jackdbus-detect.so
%files module-lirc
%defattr(-,root,root)
@ -660,6 +651,21 @@ fi
#%{_libdir}/pulse-%{majver}/modules/*.a
%changelog
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 14.0-2mamba
- posttrans: update default.pa to replace module-gconf with module-gsettings
* Tue Nov 24 2020 Automatic Build System <autodist@mambasoft.it> 14.0-1mamba
- automatic version update by autodist
* Sat Oct 31 2020 Automatic Build System <autodist@mambasoft.it> 13.99.3-1mamba
- automatic version update by autodist
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 13.99.2-1mamba
- automatic version update by autodist
* Fri Sep 11 2020 Automatic Build System <autodist@mambasoft.it> 13.99.1-1mamba
- automatic update by autodist
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 13.0-1mamba
- automatic version update by autodist