blob: da2bdda656e2cea339b7da8c7841b7267f72ab55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#sbs-git:sdk/simulator-opengl
Name: simulator-opengl
Summary: opengl-es acceleration module for emulator
Version: 0.2.11
Release: 1
License: MIT
URL: http://www.khronos.org
Source0: %{name}-%{version}.tar.gz
Source1001: packaging/simulator-opengl.manifest
ExclusiveArch: %{ix86}
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xext)
Provides : libGL.so
%description
Opengl-es acceleration module for emulator.
This package contains 4 shared libraries, libGL, libEGL, libGLESv1, libGLESv2.
%package devel
Summary: opengl-es acceleration module for emulator (devel)
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig(x11)
%description devel
Opengl-es acceleration module for emulator. (devel)
%prep
%setup -q
%build
cp %{SOURCE1001} .
make
%install
mkdir -p %{buildroot}/usr/lib
cp -r lib/* %{buildroot}/usr/lib/
mkdir -p %{buildroot}/usr/include
cp -r include/EGL %{buildroot}/usr/include/
cp -r include/GL %{buildroot}/usr/include/
cp -r include/GLES %{buildroot}/usr/include/
cp -r include/GLES2 %{buildroot}/usr/include/
cp -r include/KHR %{buildroot}/usr/include/
%files
%manifest simulator-opengl.manifest
%defattr(-,root,root,-)
/usr/lib/libGL*
/usr/lib/libEGL*
/usr/lib/libGLES*
/usr/lib/host-gl/*
%files devel
%manifest simulator-opengl.manifest
%defattr(-,root,root,-)
/usr/include/EGL
/usr/include/GL
/usr/include/GLES
/usr/include/GLES2
/usr/include/KHR
/usr/lib/pkgconfig
|