Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:A
openal-soft
openal-soft.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openal-soft.spec of Package openal-soft
# # spec file for package openal-soft # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: openal-soft Version: 1.17.2 Release: 0 Summary: OpenAL Soft License: LGPL-2.1+ and GPL-2.0+ Group: System/Libraries Url: http://www.openal-soft.org/ Source0: http://www.openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2 Source1: libopenalcompat.c Source3: baselibs.conf # PATCH-FIX-UPSTREAM openal-no-autospawn.diff Patch0: openal-no-autospawn.diff Patch1: fix-neon-build.patch BuildRequires: cmake >= 2.4.4 BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(libpulse) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation, doppler shift, and directional sound emitters are among the features handled by the API. More advanced effects, including air absorption, occlusion, and environmental reverb, are available through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture. OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL API. %package -n libopenal0 Summary: OpenAL Soft Group: System/Libraries Recommends: openal-soft %description -n libopenal0 OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation, doppler shift, and directional sound emitters are among the features handled by the API. More advanced effects, including air absorption, occlusion, and environmental reverb, are available through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture. OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL API. libopenal.so.0 is just a wrapper around libopenal.so.1 for compatibility with old software. %package devel Summary: OpenAL Soft Group: Development/Languages/C and C++ Requires: glibc-devel Requires: libopenal1 = %{version} Provides: openal-devel = %{version}-%{release} %description devel OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation, doppler shift, and directional sound emitters are among the features handled by the API. More advanced effects, including air absorption, occlusion, and environmental reverb, are available through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture. OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL API. %package -n libopenal1 Summary: OpenAL Soft Group: System/Libraries Recommends: openal-soft %description -n libopenal1 OpenAL is an audio library designed in the spirit of OpenGL--machine independent, cross platform, and data format neutral with a clean, simple C-based API. OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation, doppler shift, and directional sound emitters are among the features handled by the API. More advanced effects, including air absorption, occlusion, and environmental reverb, are available through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture. OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL API. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DALSOFT_CONFIG=ON make %{?_smp_mflags} gcc -Wall %{optflags} -fPIC -DPIC -Wl,-soname,libopenal.so.0 -shared -Wl,--no-as-needed -L. -lopenal -o libopenal.so.0 %{SOURCE1} %install %cmake_install install -D -m 0644 build/libopenal.so.0 %{buildroot}%{_libdir}/libopenal.so.0 install -D -m 0644 /dev/null %{buildroot}/%{_sysconfdir}/openal/alsoft.conf %post -n libopenal0 -p /sbin/ldconfig %postun -n libopenal0 -p /sbin/ldconfig %post -n libopenal1 -p /sbin/ldconfig %postun -n libopenal1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING %dir %{_sysconfdir}/openal %ghost %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/openal/alsoft.conf %{_bindir}/openal-info %{_bindir}/altonegen %{_bindir}/bsincgen %dir %{_datadir}/openal %{_datadir}/openal/alsoftrc.sample %dir %{_datadir}/openal/hrtf %{_datadir}/openal/hrtf/default-44100.mhr %{_datadir}/openal/hrtf/default-48000.mhr %files -n libopenal1 %defattr(-,root,root) %{_libdir}/libopenal.so.1* %files -n libopenal0 %defattr(-,root,root) %{_libdir}/libopenal.so.0 %files devel %defattr(-,root,root) %{_bindir}/makehrtf %{_libdir}/libopenal.so %{_libdir}/pkgconfig/openal.pc %dir %{_includedir}/AL %{_includedir}/AL/al.h %{_includedir}/AL/alc.h %{_includedir}/AL/alext.h %{_includedir}/AL/efx.h %{_includedir}/AL/efx-creative.h %{_includedir}/AL/efx-presets.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor