View | Details | Raw Unified | Return to bug 27875
Collapse All | Expand All

(-)a/Mesa.spec (-1 / +32 lines)
Lines 4-10 Link Here
4
4
5
Name: Mesa
5
Name: Mesa
6
Version: 9.0
6
Version: 9.0
7
Release: alt3
7
Release: alt3.1
8
Epoch: 4
8
Epoch: 4
9
License: MIT
9
License: MIT
10
Summary: OpenGL compatible 3D graphics library
10
Summary: OpenGL compatible 3D graphics library
Lines 228-238 ln -sf ../../..%_libdir/X11/libGL.so.1.2 %buildroot%_sysconfdir/X11/%_lib/libGL. Link Here
228
ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %buildroot%_libdir/
228
ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %buildroot%_libdir/
229
ln -sf X11/libGL.so.1.2 %buildroot%_libdir/libGL.so
229
ln -sf X11/libGL.so.1.2 %buildroot%_libdir/libGL.so
230
230
231
mv %buildroot%_libdir/libEGL.so.1.0.0 %buildroot%_libdir/X11/libEGL.so.1.0
232
ln -sf ../../../%_libdir/X11/libEGL.so.1.0 %buildroot%_sysconfdir/X11/%_lib/libEGL.so.1
233
ln -sf ../..%_sysconfdir/X11/%_lib/libEGL.so.1 %buildroot%_libdir/
234
ln -sf X11/libEGL.so.1.0 %buildroot%_libdir/libEGL.so
235
236
mv %buildroot%_libdir/libGLESv2.so.2.0.0 %buildroot%_libdir/X11/libGLESv2.so.2.0
237
ln -sf ../../../%_libdir/X11/libGLESv2.so.2.0 %buildroot%_sysconfdir/X11/%_lib/libGLESv2.so.2
238
ln -sf ../..%_sysconfdir/X11/%_lib/libGLESv2.so.2 %buildroot%_libdir/
239
ln -sf X11/libGLESv2.so.2.0 %buildroot%_libdir/libGLESv2.so
240
231
%post -n libGL
241
%post -n libGL
232
[ -r %_sysconfdir/X11/%_lib/libGL.so.1 ] || \
242
[ -r %_sysconfdir/X11/%_lib/libGL.so.1 ] || \
233
	ln -sf ../../..%_libdir/X11/libGL.so.1.2 %_sysconfdir/X11/%_lib/libGL.so.1
243
	ln -sf ../../..%_libdir/X11/libGL.so.1.2 %_sysconfdir/X11/%_lib/libGL.so.1
234
ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %_libdir/
244
ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %_libdir/
235
245
246
%post -n libEGL
247
[ -r %_sysconfdir/X11/%_lib/libEGL.so.1 ] || \
248
	ln -sf ../../..%_libdir/X11/libEGL.so.1.0 %_sysconfdir/X11/%_lib/libEGL.so.1
249
ln -sf ../..%_sysconfdir/X11/%_lib/libEGL.so.1 %_libdir/
250
251
%post -n libGLES
252
[ -r %_sysconfdir/X11/%_lib/libGLESv2.so.2 ] || \
253
	ln -sf ../../..%_libdir/X11/libGLESv2.so.2.0 %_sysconfdir/X11/%_lib/libGLESv2.so.2
254
ln -sf ../..%_sysconfdir/X11/%_lib/libGLESv2.so.2 %_libdir/
255
236
%files -n libGL
256
%files -n libGL
237
%doc docs/relnotes-%version.html docs/versions.html docs/news.html
257
%doc docs/relnotes-%version.html docs/versions.html docs/news.html
238
%dir %_sysconfdir/X11/%_lib
258
%dir %_sysconfdir/X11/%_lib
Lines 263-269 ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %_libdir/ Link Here
263
283
264
%if_enabled egl
284
%if_enabled egl
265
%files -n libEGL
285
%files -n libEGL
286
%dir %_sysconfdir/X11/%_lib
287
%ghost %_sysconfdir/X11/%_lib/libEGL.so.1
266
%_libdir/libEGL.so.*
288
%_libdir/libEGL.so.*
289
%dir %_libdir/X11
290
%_libdir/X11/libEGL.so.1.*
267
291
268
%files -n libEGL-devel
292
%files -n libEGL-devel
269
%_includedir/EGL
293
%_includedir/EGL
Lines 274-280 ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %_libdir/ Link Here
274
298
275
%if_enabled gles2
299
%if_enabled gles2
276
%files -n libGLES
300
%files -n libGLES
301
%dir %_sysconfdir/X11/%_lib
302
%ghost %_sysconfdir/X11/%_lib/libGLESv2.so.2
277
%_libdir/libGLESv2.so.*
303
%_libdir/libGLESv2.so.*
304
%dir %_libdir/X11
305
%_libdir/X11/libGLESv2.so.2.*
278
306
279
%files -n libGLES-devel
307
%files -n libGLES-devel
280
%_includedir/GLES2
308
%_includedir/GLES2
Lines 321-326 ln -sf ../..%_sysconfdir/X11/%_lib/libGL.so.1 %_libdir/ Link Here
321
%_bindir/glxgears
349
%_bindir/glxgears
322
350
323
%changelog
351
%changelog
352
* Fri Nov 16 2012 Sergey Bolshakov <sbolshakov@altlinux.ru> 4:9.0-alt3.1
353
- package libEGL and libGLES same way as libGL
354
324
* Sat Nov 03 2012 Valery Inozemtsev <shrek@altlinux.ru> 4:9.0-alt3
355
* Sat Nov 03 2012 Valery Inozemtsev <shrek@altlinux.ru> 4:9.0-alt3
325
- intel-2012q4.1
356
- intel-2012q4.1
326
357

Return to bug 27875