Blame SPECS/openal-soft.spec

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