From 98f895e017ef46aa50dd524ad5eef9e0eff7235d Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 26 Feb 2018 11:47:59 +0100 Subject: [PATCH] Allow pulseaudio to move openal-soft output streams (rhbz#1544381) Fix release -4 not building (rhbz#1544012) Drop unnecessary qt-devel BuildRequires (we also BuildRequire qt5-devel) --- openal-soft.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/openal-soft.spec b/openal-soft.spec index c38ea72..2d72f6d 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -1,6 +1,6 @@ Name: openal-soft Version: 1.18.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Open Audio Library License: LGPLv2+ @@ -14,7 +14,6 @@ BuildRequires: fluidsynth-devel BuildRequires: portaudio-devel BuildRequires: pulseaudio-libs-devel BuildRequires: qt5-devel -BuildRequires: qt-devel BuildRequires: SDL_sound-devel Obsoletes: openal <= 0.0.10 Provides: openal = %{version} @@ -67,6 +66,9 @@ for configuring OpenAL features. find %{buildroot} -name '*.la' -exec rm -f {} ';' install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf +# Don't pin the pulseaudio stream to a specific output device +sed -i 's/#allow-moves = false/allow-moves = true/' \ + %{buildroot}%{_sysconfdir}/openal/alsoft.conf %ldconfig_scriptlets @@ -76,9 +78,9 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf %{_libdir}/libopenal.so.* %dir %{_sysconfdir}/openal %config(noreplace) %{_sysconfdir}/openal/alsoft.conf -%{_datatdir}/openal -%exclude %{_datatdir}/openal/alsoftrc.sample -%exclude %{_datatdir}/openal/presets/presets.txt +%{_datadir}/openal +%exclude %{_datadir}/openal/alsoftrc.sample +%exclude %{_datadir}/openal/presets/presets.txt %files devel %{_bindir}/bsincgen @@ -101,13 +103,18 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf %{_bindir}/alsoft-config %changelog +* Mon Feb 26 2018 Hans de Goede - 1.18.2-5 +- Allow pulseaudio to move openal-soft output streams (rhbz#1544381) +- Fix release -4 not building (rhbz#1544012) +- Drop unnecessary qt-devel BuildRequires (we also BuildRequire qt5-devel) + * Fri Feb 09 2018 Tomasz Kłoczko - 1.18.2-4 -- remove support for no longer suppoerted Fedora versions (<=25) +- remove support for no longer supported Fedora versions (<=25) - fix: add %%{_libdir}/cmake/OpenAL directory to devel - fix: s/_datarootdir/_datadir/ as this package does not uses datarootdir but datadir -- fix: add %%{_datatdir}/openal to main package as well and to %%exclude - %%{_datatdir}/openal/{alsoftrc.sample,presets/presets.txt} as those files +- fix: add %%{_datadir}/openal to main package as well and to %%exclude + %%{_datadir}/openal/{alsoftrc.sample,presets/presets.txt} as those files are not needed - removed Group fields (https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections)