|
|
|
@ -1,32 +1,30 @@
|
|
|
|
|
%define __cmake_in_source_build 1
|
|
|
|
|
|
|
|
|
|
Name: openal-soft
|
|
|
|
|
Version: 1.23.1
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.19.1
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
Summary: Open Audio Library
|
|
|
|
|
|
|
|
|
|
License: LGPL-2.0-or-later AND BSD-3-Clause
|
|
|
|
|
URL: https://openal-soft.org/
|
|
|
|
|
Source0: https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://openal-soft.org/
|
|
|
|
|
Source0: http://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
|
|
|
|
|
Patch0: openal-soft-arm_neon-only-for-32bit.patch
|
|
|
|
|
Patch1: openal-soft-fcommon-fix.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
BuildRequires: fluidsynth-devel
|
|
|
|
|
BuildRequires: portaudio-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 9
|
|
|
|
|
BuildRequires: pipewire-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
BuildRequires: libmysofa-devel
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} < 9
|
|
|
|
|
BuildRequires: SDL_sound-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
|
BuildRequires: pulseaudio-libs-devel
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} <= 9
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: SDL2-devel
|
|
|
|
|
Obsoletes: openal <= 0.0.10
|
|
|
|
|
Provides: openal = %{version}
|
|
|
|
@ -59,7 +57,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description examples
|
|
|
|
|
Sample applications for OpenAl Soft.
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} <= 9
|
|
|
|
|
%package qt
|
|
|
|
|
Summary: Qt frontend for configuring OpenAL Soft
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
@ -67,34 +64,27 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description qt
|
|
|
|
|
The %{name}-qt package contains alsoft-config, a Qt-based tool
|
|
|
|
|
for configuring OpenAL features.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake -G Ninja \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
|
-DALSOFT_CPUEXT_NEON:BOOL=OFF \
|
|
|
|
|
-DALSOFT_EXAMPLES:BOOL=ON \
|
|
|
|
|
-DALSOFT_UTILS:BOOL=ON \
|
|
|
|
|
-DALSOFT_INSTALL_CONFIG:BOOL=ON \
|
|
|
|
|
-DALSOFT_INSTALL_EXAMPLES:BOOL=ON \
|
|
|
|
|
-DALSOFT_INSTALL_HRTF_DATA:BOOL=ON \
|
|
|
|
|
-DALSOFT_INSTALL_UTILS:BOOL=ON
|
|
|
|
|
%cmake_build
|
|
|
|
|
%cmake -DALSOFT_CPUEXT_NEON:BOOL=OFF .
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING BSD-3Clause
|
|
|
|
|
%doc README.md ChangeLog
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_bindir}/openal-info
|
|
|
|
|
%{_libdir}/libopenal.so.*
|
|
|
|
|
%dir %{_sysconfdir}/openal
|
|
|
|
@ -104,15 +94,14 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \
|
|
|
|
|
%exclude %{_datadir}/openal/presets/presets.txt
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%{_bindir}/makemhr
|
|
|
|
|
%endif
|
|
|
|
|
%{_bindir}/makehrtf
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/libopenal.so
|
|
|
|
|
%{_libdir}/pkgconfig/openal.pc
|
|
|
|
|
%{_libdir}/cmake/OpenAL
|
|
|
|
|
|
|
|
|
|
%files examples
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} < 9
|
|
|
|
|
%{_bindir}/alhrtf
|
|
|
|
|
%{_bindir}/allatency
|
|
|
|
|
%{_bindir}/alloopback
|
|
|
|
@ -120,75 +109,27 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \
|
|
|
|
|
%{_bindir}/alplay
|
|
|
|
|
%{_bindir}/alreverb
|
|
|
|
|
%{_bindir}/alstream
|
|
|
|
|
%endif
|
|
|
|
|
%{_bindir}/alrecord
|
|
|
|
|
%{_bindir}/altonegen
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} <= 9
|
|
|
|
|
%files qt
|
|
|
|
|
%{_bindir}/alsoft-config
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 23 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.23.1-6
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 16 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.23.1-3
|
|
|
|
|
- Drop libmysofa and qt5 from RHEL builds
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Apr 12 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1.23.1-1
|
|
|
|
|
- Updated to version 1.23.1.
|
|
|
|
|
|
|
|
|
|
* Mon Feb 06 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1.23.0-1
|
|
|
|
|
- Updated to version 1.23.0.
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-6
|
|
|
|
|
- Fixed examples build on RHEL and ELN.
|
|
|
|
|
|
|
|
|
|
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-5
|
|
|
|
|
- Enabled PipeWire native backend also on RHEL 9+.
|
|
|
|
|
|
|
|
|
|
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-4
|
|
|
|
|
- Enabled PipeWire native backend on Fedora.
|
|
|
|
|
- Switched to SPDX.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 30 2022 Troy Dawson <tdawson@redhat.com> - 1.22.2-3
|
|
|
|
|
- Fix ELN build failures
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-1
|
|
|
|
|
- Updated to version 1.22.2.
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 06 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.21.1-1
|
|
|
|
|
- Updated to version 1.21.1.
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.1-16
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Aug 04 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-15
|
|
|
|
|
- Don't package some examples when SDL_sound is disabled
|
|
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-14
|
|
|
|
|
- Only build SDL_sound support on Fedora and rhel < 9
|
|
|
|
|
- Resolves: rhbz#1989141
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.1-13
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|