SHA256
1
0
forked from pool/Mesa

- fixed libOSMesa packaging (only a dangling symlink has been

packaged)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=247
This commit is contained in:
Stefan Dirsch 2012-09-21 13:17:17 +00:00 committed by Git OBS Bridge
parent a2a9d4aaf6
commit 50e27b0255
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 21 08:28:28 UTC 2012 - sndirsch@suse.com
- fixed libOSMesa packaging (only a dangling symlink has been
packaged)
-------------------------------------------------------------------
Fri Sep 21 07:08:05 UTC 2012 - coolo@suse.com

View File

@ -532,9 +532,10 @@ make clean-local
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
make %{?_smp_mflags}
cp -a %{_lib}/libIndirectGL.so* \
src/mesa/drivers/x11/libIndirectGL.la \
%{_lib}/libOSMesa.so* \
cp -a \
src/mesa/drivers/x11/.libs/libIndirectGL.so* \
./src/mesa/drivers/x11/libIndirectGL.la \
src/mesa/drivers/osmesa/.libs/libOSMesa.so* \
src/mesa/drivers/osmesa/libOSMesa.la \
$RPM_BUILD_ROOT/usr/%{_lib}
install -m 644 src/mesa/drivers/osmesa/osmesa.pc \
@ -651,6 +652,7 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%defattr(-,root,root)
%dir %_includedir/GL
%_includedir/GL/*.h
%exclude %_includedir/GL/osmesa.h
%_libdir/libGL.so
%_libdir/pkgconfig/gl.pc
%_libdir/libGL.la
@ -689,10 +691,12 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%files -n libOSMesa9
%defattr(-,root,root)
%_libdir/libOSMesa.so.*
%_libdir/libOSMesa.so.8.0.0
%_libdir/libOSMesa.so.8
%files -n libOSMesa-devel
%defattr(-,root,root)
%_includedir/GL/osmesa.h
%_libdir/libOSMesa.so
%_libdir/libOSMesa.la
%_libdir/pkgconfig/osmesa.pc