Blame SPECS/openal-soft.spec

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