File mingw32-openal-soft.spec of Package mingw32-openal-soft
#
# spec file for package mingw32-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: mingw32-openal-soft
Version: 1.18.2
Release: 0
Summary: openal-soft
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: http://kcat.strangesoft.net/openal.html
Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2
Patch0: openal-soft-1.18.2-cmake.patch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-cmake
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
%_mingw32_package_header_debug
BuildArch: noarch
%_mingw32_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 mingw32-OpenAL32
Summary: openal-soft
Group: System/Libraries
%description -n mingw32-OpenAL32
%package devel
Summary: Development files for openal-soft
Group: Development/Libraries/C and C++
%description devel
%prep
%setup -q -n openal-soft-%{version}
%patch -P 0 -p1
%build
%{_mingw32_cmake}
%{_mingw32_cmake_build}
%install
%{_mingw32_cmake_install}
%files
%defattr(-,root,root)
%{_mingw32_bindir}/*.exe
%{_mingw32_datadir}/openal/hrtf
%{_mingw32_datadir}/openal/presets
%{_mingw32_datadir}/openal/alsoftrc.sample
%files -n mingw32-OpenAL32
%defattr(-,root,root)
%{_mingw32_bindir}/OpenAL32.dll
%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/AL
%{_mingw32_libdir}/*.dll.a
%{_mingw32_libdir}/cmake/OpenAL/*.cmake
%{_mingw32_libdir}/pkgconfig/*.pc
%changelog