forked from pool/glslang
This commit is contained in:
parent
d7d55cf2e0
commit
e1b56e25cf
@ -60,16 +60,21 @@ compressor's dictionary can find better cross module commonality.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
b="%buildroot"
|
||||||
%cmake_install
|
%cmake_install
|
||||||
if test "%_lib" != lib; then
|
if test "%_lib" != lib; then
|
||||||
mkdir -p "%buildroot/%_libdir"
|
mkdir -p "$b/%_libdir"
|
||||||
mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/"
|
mv "$b/%_prefix/lib"/*.a "$b/%_libdir/"
|
||||||
fi
|
fi
|
||||||
|
mkdir -p "$b/%_includedir"
|
||||||
|
cp -a glslang "$b/%_includedir/"
|
||||||
|
find "$b/%_includedir/" -type f ! -iname "*.h" -delete
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/gls*
|
%_bindir/gls*
|
||||||
%_bindir/spirv*
|
%_bindir/spirv*
|
||||||
%_libdir/*.a
|
%_libdir/*.a
|
||||||
|
%_includedir/glslang/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user