File mingw64-openal-soft.spec of Package mingw64-openal-soft
#
# spec file for package mingw64-openal-soft
#
# Copyright (c) 2014 SUSE LINUX Products 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: mingw64-openal-soft
Version: 1.24.3
Release: 0
Summary: Audio library with an OpenGL-resembling API
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Group: Development/Libraries/C and C++
URL: https://www.openal-soft.org/
Source0: https://www.openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
%_mingw64_package_header_debug
BuildArch: noarch
%_mingw64_debug_package
%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 Soft is an alternative software implementation with a shared
and a cleaned up codebase, based on the windows reference
implementation.
%package -n mingw64-OpenAL32
Summary: An audio library with an OpenGL-resembling API
Group: System/Libraries
%description -n mingw64-OpenAL32
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.
This package contains the shared library for OpenAL.
%package devel
Summary: Development files for openal-soft
Group: Development/Libraries/C and C++
%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.
This package contains the files needed to compile programs that use the
OpenAL library.
%prep
%autosetup -n openal-soft-%{version}
%build
%{_mingw64_cmake}
%{_mingw64_cmake_build}
%install
%{_mingw64_cmake_install}
%files
%{_mingw64_bindir}/*.exe
%dir %{_mingw64_datadir}/openal
%{_mingw64_datadir}/openal/hrtf
%{_mingw64_datadir}/openal/presets
%{_mingw64_datadir}/openal/alsoftrc.sample
%files -n mingw64-OpenAL32
%{_mingw64_bindir}/OpenAL32.dll
%files devel
%{_mingw64_includedir}/AL
%{_mingw64_libdir}/*.dll.a
%{_mingw64_libdir}/cmake/OpenAL
%{_mingw64_libdir}/pkgconfig/openal.pc
%changelog