SHA256
1
0
forked from pool/raylib

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
This commit is contained in:
Michael Vetter 2020-04-28 07:29:09 +00:00 committed by Git OBS Bridge
parent ea767ee7ca
commit 27e7b5423b

View File

@ -62,6 +62,9 @@ A C library for learning video game programming.
%install %install
%cmake_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 %post -n libraylib301 -p /sbin/ldconfig
%postun -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 %license LICENSE
%doc CHANGELOG README.md %doc CHANGELOG README.md
%{_includedir}/raylib.h %{_includedir}/raylib.h
%{_includedir}/raudio.h
%{_includedir}/physac.h
%{_includedir}/raymath.h
%{_includedir}/rlgl.h
%{_libdir}/libraylib.so %{_libdir}/libraylib.so
%{_libdir}/pkgconfig/raylib.pc %{_libdir}/pkgconfig/raylib.pc
%{_libdir}/cmake/raylib/ %{_libdir}/cmake/raylib/