SHA256
1
0
forked from pool/Mesa

- removed any .la file

- moved libglapi.so from Mesa-devel to Mesa-libglapi-devel package;
  Mesa-devel requires Mesa-libglapi-devel package anyway

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=248
This commit is contained in:
Stefan Dirsch 2012-09-24 19:39:55 +00:00 committed by Git OBS Bridge
parent 50e27b0255
commit a02f5e9e33
2 changed files with 9 additions and 12 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 24 17:04:35 UTC 2012 - sndirsch@suse.com
- removed any .la file
- moved libglapi.so from Mesa-devel to Mesa-libglapi-devel package;
Mesa-devel requires Mesa-libglapi-devel package anyway
-------------------------------------------------------------------
Fri Sep 21 08:28:28 UTC 2012 - sndirsch@suse.com

View File

@ -520,6 +520,7 @@ autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
# build and install Indirect Rendering only libGL
make clean-local
%configure --enable-xlib-glx \
@ -534,9 +535,7 @@ make clean-local
make %{?_smp_mflags}
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 \
$RPM_BUILD_ROOT/usr/%{_lib}/pkgconfig
@ -642,7 +641,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%_includedir/KHR
%_libdir/libEGL.so
%_libdir/pkgconfig/egl.pc
%_libdir/libEGL.la
%files -n Mesa-libGL1
%defattr(-,root,root)
@ -655,7 +653,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%exclude %_includedir/GL/osmesa.h
%_libdir/libGL.so
%_libdir/pkgconfig/gl.pc
%_libdir/libGL.la
%_mandir/man3/gl[A-Z]*
%files -n Mesa-libGLESv1_CM1
@ -666,7 +663,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%defattr(-,root,root)
%_includedir/GLES
%_libdir/libGLESv1_CM.so
%_libdir/libGLESv1_CM.la
%_libdir/pkgconfig/glesv1_cm.pc
%files -n Mesa-libGLESv2-2
@ -677,7 +673,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%defattr(-,root,root)
%_includedir/GLES2
%_libdir/libGLESv2.so
%_libdir/libGLESv2.la
%_libdir/pkgconfig/glesv2.pc
%files -n Mesa-libIndirectGL1
@ -687,7 +682,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%files -n Mesa-libIndirectGL-devel
%defattr(-,root,root)
%_libdir/libIndirectGL.so
%_libdir/libIndirectGL.la
%files -n libOSMesa9
%defattr(-,root,root)
@ -698,7 +692,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%defattr(-,root,root)
%_includedir/GL/osmesa.h
%_libdir/libOSMesa.so
%_libdir/libOSMesa.la
%_libdir/pkgconfig/osmesa.pc
%files -n libgbm1
@ -709,7 +702,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%defattr(-,root,root)
%_includedir/gbm.h
%_libdir/libgbm.so
%_libdir/libgbm.la
%_libdir/pkgconfig/gbm.pc
%ifnarch s390 s390x %arm ppc ppc64
@ -785,15 +777,13 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%files -n Mesa-libglapi-devel
%defattr(-,root,root)
%_libdir/libglapi.la
%_libdir/libglapi.so
%files devel
%defattr(-,root,root)
%doc docs/*.html docs/*.spec
%_includedir/GL/internal
%_libdir/libglapi.so
%_libdir/libdricore9*.so
%_libdir/libdricore9*.la
%_libdir/pkgconfig/dri.pc
%changelog