Blame SPECS/openal-soft.spec

9bc969
%define __cmake_in_source_build 1
9bc969
9bc969
Name:           openal-soft
9bc969
Version:        1.19.1
9bc969
Release:        16%{?dist}
9bc969
Summary:        Open Audio Library
9bc969
9bc969
License:        LGPLv2+
9bc969
URL:            http://openal-soft.org/
9bc969
Source0:        http://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
9bc969
Patch0:         openal-soft-arm_neon-only-for-32bit.patch
9bc969
Patch1:         openal-soft-fcommon-fix.patch
9bc969
9bc969
BuildRequires: make
9bc969
BuildRequires:  alsa-lib-devel
9bc969
BuildRequires:  cmake
9bc969
BuildRequires:  gcc
9bc969
BuildRequires:  gcc-c++
9bc969
%if 0%{?fedora}
9bc969
BuildRequires:  fluidsynth-devel
9bc969
BuildRequires:  portaudio-devel
9bc969
%endif
9bc969
%if 0%{?fedora} || 0%{?rhel} < 9
9bc969
BuildRequires:  SDL_sound-devel
9bc969
%endif
9bc969
BuildRequires:  pulseaudio-libs-devel
9bc969
BuildRequires:  qt5-qtbase-devel
9bc969
BuildRequires:  SDL2-devel
9bc969
Obsoletes:      openal <= 0.0.10
9bc969
Provides:       openal = %{version}
9bc969
9bc969
%description
9bc969
OpenAL Soft is a cross-platform software implementation of the OpenAL 3D
9bc969
audio API. It's built off of the open-sourced Windows version available
9bc969
originally from the SVN repository at openal.org. OpenAL provides
9bc969
capabilities for playing audio in a virtual 3d environment. Distance
9bc969
attenuation, doppler shift, and directional sound emitters are among
9bc969
the features handled by the API. More advanced effects, including air
9bc969
absorption, low-pass filters, and reverb, are available through the
9bc969
EFX extension. It also facilitates streaming audio, multi-channel buffers,
9bc969
and audio capture.
9bc969
9bc969
%package        devel
9bc969
Summary:        Development files for %{name}
9bc969
Requires:       %{name}%{?_isa} = %{version}-%{release}
9bc969
Obsoletes:      openal-devel <= 0.0.10
9bc969
Provides:       openal-devel = %{version}
9bc969
9bc969
%description    devel
9bc969
The %{name}-devel package contains libraries and header files for
9bc969
developing applications that use %{name}.
9bc969
9bc969
%package        examples
9bc969
Summary:        Sample applications for OpenAl Soft
9bc969
Requires:       %{name}%{?_isa} = %{version}-%{release}
9bc969
9bc969
%description	examples
9bc969
Sample applications for OpenAl Soft.
9bc969
9bc969
%package        qt
9bc969
Summary:        Qt frontend for configuring OpenAL Soft
9bc969
Requires:       %{name}%{?_isa} = %{version}-%{release}
9bc969
9bc969
%description    qt
9bc969
The %{name}-qt package contains alsoft-config, a Qt-based tool
9bc969
for configuring OpenAL features.
9bc969
9bc969
%prep
9bc969
%autosetup -p1
9bc969
9bc969
%build
9bc969
%cmake -DALSOFT_CPUEXT_NEON:BOOL=OFF .
9bc969
%make_build
9bc969
9bc969
%install
9bc969
%make_install
9bc969
9bc969
find %{buildroot} -name '*.la' -exec rm -f {} ';'
9bc969
install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
9bc969
# Don't pin the pulseaudio stream to a specific output device
9bc969
sed -i 's/#allow-moves = false/allow-moves = true/' \
9bc969
  %{buildroot}%{_sysconfdir}/openal/alsoft.conf
9bc969
9bc969
%ldconfig_scriptlets
9bc969
9bc969
%files
9bc969
%doc COPYING
9bc969
%{_bindir}/openal-info
9bc969
%{_libdir}/libopenal.so.*
9bc969
%dir %{_sysconfdir}/openal
9bc969
%config(noreplace) %{_sysconfdir}/openal/alsoft.conf
9bc969
%{_datadir}/openal
9bc969
%exclude %{_datadir}/openal/alsoftrc.sample
9bc969
%exclude %{_datadir}/openal/presets/presets.txt
9bc969
9bc969
%files devel
9bc969
%{_bindir}/makehrtf
9bc969
%{_includedir}/*
9bc969
%{_libdir}/libopenal.so
9bc969
%{_libdir}/pkgconfig/openal.pc
9bc969
%{_libdir}/cmake/OpenAL
9bc969
9bc969
%files examples
9bc969
%if 0%{?fedora} || 0%{?rhel} < 9
9bc969
%{_bindir}/alhrtf
9bc969
%{_bindir}/allatency
9bc969
%{_bindir}/alloopback
9bc969
%{_bindir}/almultireverb
9bc969
%{_bindir}/alplay
9bc969
%{_bindir}/alreverb
9bc969
%{_bindir}/alstream
9bc969
%endif
9bc969
%{_bindir}/alrecord
9bc969
%{_bindir}/altonegen
9bc969
9bc969
%files qt
9bc969
%{_bindir}/alsoft-config
9bc969
9bc969
%changelog
9bc969
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.1-16
9bc969
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9bc969
  Related: rhbz#1991688
9bc969
9bc969
* Wed Aug 04 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-15
9bc969
- Don't package some examples when SDL_sound is disabled
9bc969
9bc969
* Mon Aug 02 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-14
9bc969
- Only build SDL_sound support on Fedora and rhel < 9
9bc969
- Resolves: rhbz#1989141
9bc969
9bc969
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.1-13
9bc969
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9bc969
9bc969
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-12
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9bc969
9bc969
* Thu Jan 21 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-11
9bc969
- Only build fluidsynth support on Fedora
9bc969
9bc969
* Wed Jan 20 2021 Hans de Goede <hdegoede@redhat.com> - 1.19.1-10
9bc969
- Only build portaudio-backend on Fedora
9bc969
9bc969
* Tue Aug 04 2020 François Cami <fcami@fedoraproject.org> - 1.19.1-9
9bc969
- Fix FTBFS (rhbz#1865148)
9bc969
- Set __cmake_in_source_build
9bc969
- BR qt5-qtbase-devel to keep the GUI frontend
9bc969
9bc969
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-8
9bc969
- Second attempt - Rebuilt for
9bc969
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9bc969
9bc969
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-7
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9bc969
9bc969
* Sat Jul 18 2020 Jeff Law <law@redhat.com> - 1.19.1-6
9bc969
- Drop qt5-devel buildrequires
9bc969
9bc969
* Sun Feb 16 2020 Hans de Goede <hdegoede@redhat.com> - 1.19.1-5
9bc969
- Fix FTBFS (rhbz#1799829)
9bc969
9bc969
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-4
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9bc969
9bc969
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9bc969
9bc969
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-2
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9bc969
9bc969
* Mon Oct 29 2018 François Cami <fcami@fedoraproject.org> - 1.19.1-1
9bc969
- New upstream release
9bc969
- Update upstream URLs for real
9bc969
9bc969
* Mon Oct 8 2018 François Cami <fcami@fedoraproject.org> - 1.19.0-1
9bc969
- Update upstream URLs to http://openal-soft.org/
9bc969
- New upstream release
9bc969
- Rebase patches
9bc969
9bc969
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-6
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9bc969
9bc969
* Mon Feb 26 2018 Hans de Goede <hdegoede@redhat.com> - 1.18.2-5
9bc969
- Allow pulseaudio to move openal-soft output streams (rhbz#1544381)
9bc969
- Fix release -4 not building (rhbz#1544012)
9bc969
- Drop unnecessary qt-devel BuildRequires (we also BuildRequire qt5-devel)
9bc969
9bc969
* Fri Feb 09 2018 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1.18.2-4
9bc969
- remove support for no longer supported Fedora versions (<=25)
9bc969
- fix: add %%{_libdir}/cmake/OpenAL directory to devel
9bc969
- fix: s/_datarootdir/_datadir/ as this package does not uses datarootdir
9bc969
  but datadir
9bc969
- fix: add %%{_datadir}/openal to main package as well and to %%exclude
9bc969
  %%{_datadir}/openal/{alsoftrc.sample,presets/presets.txt} as those files
9bc969
  are not needed
9bc969
- removed Group fields
9bc969
  (https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections)
9bc969
- add use more macros (%%autosetup, %%make_build, %%make_install)
9bc969
9bc969
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9bc969
9bc969
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.18.2-2
9bc969
- Switch to %%ldconfig_scriptlets
9bc969
9bc969
* Sun Jan 21 2018 François Cami <fcami@fedoraproject.org> - 1.18.2-1
9bc969
- New upstream release
9bc969
- Move bsincgen to -devel and altonegen to -examples
9bc969
9bc969
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9bc969
9bc969
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-2
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9bc969
9bc969
* Sun Jul 02 2017 François Cami <fcami@fedoraproject.org> - 1.18.0-1
9bc969
- New upstream release
9bc969
- Add BR: qt5-devel + SDL_sound-devel
9bc969
- Add -examples subpackage
9bc969
9bc969
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9bc969
9bc969
* Sat Feb 20 2016 Hans de Goede <hdegoede@redhat.com> - 1.17.2-2
9bc969
- Fix FTBFS on ARM (rhbz#1307818)
9bc969
9bc969
* Thu Feb 04 2016 François Cami <fcami@fedoraproject.org> - 1.17.2-1
9bc969
- New upstream release
9bc969
9bc969
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-2
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9bc969
9bc969
* Sun Dec 13 2015 François Cami <fcami@fedoraproject.org> - 1.17.1-1
9bc969
- New upstream release
9bc969
9bc969
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16.0-7
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9bc969
9bc969
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.16.0-6
9bc969
- Rebuilt for GCC 5 C++11 ABI change
9bc969
9bc969
* Sun Jan 25 2015 François Cami <fcami@fedoraproject.org> - 1.16.0-5
9bc969
- Build against FluidSynth.
9bc969
9bc969
* Sat Jan 24 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.16.0-4
9bc969
- Own the hrtf dir
9bc969
9bc969
* Mon Sep 8 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.16.0-3
9bc969
- Check for arm_neon.h only on 32bit ARM
9bc969
9bc969
* Tue Aug 26 2014 François Cami <fcami@fedoraproject.org> - 1.16.0-2
9bc969
- Add the -qt subpackage to host the alsoft-config tool
9bc969
9bc969
* Sun Aug 17 2014 François Cami <fcami@fedoraproject.org> - 1.16.0-1
9bc969
- New upstream release
9bc969
9bc969
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.1-5
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9bc969
9bc969
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.1-4
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9bc969
9bc969
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.1-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9bc969
9bc969
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.1-2
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9bc969
9bc969
* Fri Jan 11 2013 François Cami <fcami@fedoraproject.org> - 1.15.1-1
9bc969
- New upstream release
9bc969
9bc969
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9bc969
9bc969
* Thu Apr 12 2012 Dan Horák <dan[at]danny.cz> - 1.14-2
9bc969
- the used fpu control bits are x86 specific
9bc969
9bc969
* Fri Apr  6 2012 Hans de Goede <hdegoede@redhat.com> - 1.14-1
9bc969
- 1.14-1
9bc969
- version upgrade (rhbz#808968)
9bc969
- spec cleanup
9bc969
9bc969
* Thu Jan 26 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
9bc969
- 1.13-1
9bc969
- version upgrade
9bc969
- spec cleanup
9bc969
9bc969
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.854-3
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9bc969
9bc969
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.854-2
9bc969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9bc969
9bc969
* Thu Apr 01 2010 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.12.854-1
9bc969
- New upstream release
9bc969
9bc969
* Mon Mar 01 2010 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.11.753-3.20100225
9bc969
- Fixed Version Number
9bc969
9bc969
* Sun Feb 28 2010 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.11.753-2.a9e0e57797c6f4321d5776e1f29bf1e75b11e6a1
9bc969
- Fixed Bug 567870
9bc969
9bc969
* Mon Jan 18 2010 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.11.753-1
9bc969
- New Upstream Release
9bc969
9bc969
* Wed Jan 13 2010 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-7.931f5875cdc4ce0ac61a5110f11e962426e53d99
9bc969
- Newer git version that fix more problems with pulseaudio.
9bc969
9bc969
* Mon Jan 04 2010 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-6.0ceaa01c3de75c946ff2e7591e7f69b28ec00409
9bc969
- Newer git version with more Pulseaudio fixes. Have fun.
9bc969
9bc969
* Mon Dec 28 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-5.3793919892e6d61e5fec3abeaaeebc3f2332be13
9bc969
- Fixed small spec verion info.
9bc969
9bc969
* Mon Dec 28 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-4.3793919892e6d61e5fec3abeaaeebc3f2332be13
9bc969
- Fixed broken upgrade paths.
9bc969
9bc969
* Sat Dec 26 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-3.3793919892e6d61e5fec3abeaaeebc3f2332be13
9bc969
- Updatet to an newer git version because of some pulseaudio fixes.
9bc969
9bc969
* Tue Nov 10 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.10.622-2
9bc969
- add default config
9bc969
9bc969
* Mon Nov 09 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-1
9bc969
- New upstream release
9bc969
9bc969
* Sat Nov 07 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.9.563-2.c1b161b44bbf60420de2e1ba886e957d9fcd495e
9bc969
- Updatet to an newer git version because of some pulseaudio fixes.
9bc969
- I hope it fix bug 533501
9bc969
9bc969
* Fri Oct  09 2009 Hans de Goede <hdegoede@redhat.com> - 1.9.563-1.d6e439244ae00a1750f0dc8b249f47efb4967a23git
9bc969
- Update to 1.9.563 + some fixes from git
9bc969
- This fixes:
9bc969
  - Not having any sound in chromium-bsu 
9bc969
  - Various openal using programs hanging on exit
9bc969
9bc969
* Fri Aug 21 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-9.487f0dde7593144ceabd817306500465caf7602agit
9bc969
- Fixed version info
9bc969
9bc969
* Fri Aug 21 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-8.487f0dde7593144ceabd817306500465caf7602agit
9bc969
- Fixed bug 517973
9bc969
9bc969
* Sun Aug 16 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-7
9bc969
- Fixed bug 517721. Added upstream.patch
9bc969
9bc969
* Sat Aug 08 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-6
9bc969
- Fixed license and pkgconfig problem thx goes to Christoph Wickert
9bc969
9bc969
* Wed Aug 05 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-5
9bc969
- Fixed Obsoletes: and Provides: sections
9bc969
9bc969
* Tue Aug 04 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-4
9bc969
- Added Obsoletes: openal <= 0.0.9 and remove Conflicts: openal-devel
9bc969
9bc969
* Fri Jun 26 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-3
9bc969
- Fixed all warnings of rpmlint
9bc969
9bc969
* Sat Jun 20 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-2
9bc969
- Update the SPEC and SRPM file because openal-soft-devel conflicts with
9bc969
openal-devel
9bc969
9bc969
* Sat Jun 20 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-1
9bc969
- Initial release for Fedora