--- /dev/null
+--- openal-soft-1.19.1/CMakeLists.txt.orig 2018-10-12 00:05:31.000000000 +0200
++++ openal-soft-1.19.1/CMakeLists.txt 2019-07-25 05:26:21.124715068 +0200
+@@ -1350,9 +1350,9 @@
+ # Needed for openal.pc.in
+ SET(prefix ${CMAKE_INSTALL_PREFIX})
+ SET(exec_prefix "\${prefix}")
+-SET(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
+-SET(bindir "\${exec_prefix}/${CMAKE_INSTALL_BINDIR}")
+-SET(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
++SET(libdir "${CMAKE_INSTALL_FULL_LIBDIR}")
++SET(bindir "${CMAKE_INSTALL_FULL_BINDIR}")
++SET(includedir "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
+ SET(PACKAGE_VERSION "${LIB_VERSION}")
+ SET(PKG_CONFIG_CFLAGS )
+ SET(PKG_CONFIG_PRIVATE_LIBS )
Summary(pl.UTF-8): Otwarta Biblioteka Dźwięku
Name: OpenAL
Version: 1.19.1
-Release: 1
+Release: 2
License: LGPL v2+
Group: Libraries
Source0: http://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
# Source0-md5: af6f148c342276a51ea9c33ebd303f78
+Patch0: %{name}-pc.patch
URL: http://www.openal.org/
%{?with_sdl:BuildRequires: SDL2-devel >= 2}
%{?with_alsa:BuildRequires: alsa-lib-devel}
%prep
%setup -q -n openal-soft-%{version}
+%patch0 -p1
%build
cd build