From 27e7b5423b319d0a95762ed5bc91537ce2fb0b0c863b7b73aace2356c8e3fb95 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 28 Apr 2020 07:29:09 +0000 Subject: [PATCH] Accepting request 798060 from home:Charadon:branches:openSUSE:Factory I noticed the following header files were missing from the devel package: physac.h raudio.h raymath.h rlgl.h So I fixed the spec file to include them. OBS-URL: https://build.opensuse.org/request/show/798060 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=22 --- raylib.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/raylib.spec b/raylib.spec index 3045547..bb6b1d0 100644 --- a/raylib.spec +++ b/raylib.spec @@ -62,6 +62,9 @@ A C library for learning video game programming. %install %cmake_install +for f in build/src/*.h; do + install -Dm 644 "$f" "$RPM_BUILD_ROOT/usr/include/$(basename $f)" +done %post -n libraylib301 -p /sbin/ldconfig %postun -n libraylib301 -p /sbin/ldconfig @@ -74,6 +77,10 @@ A C library for learning video game programming. %license LICENSE %doc CHANGELOG README.md %{_includedir}/raylib.h +%{_includedir}/raudio.h +%{_includedir}/physac.h +%{_includedir}/raymath.h +%{_includedir}/rlgl.h %{_libdir}/libraylib.so %{_libdir}/pkgconfig/raylib.pc %{_libdir}/cmake/raylib/