summaryrefslogtreecommitdiff
path: root/packaging/simulator-opengl.spec
blob: f24972052e565c9abf5b56a11421cf4af3db0c40 (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
#sbs-git:slp/sdk/simulator-opengl     
Name:       simulator-opengl    
Summary:    opengl-es acceleration module for emulator  
Version:    0.1.22
Release:    1    
Group:      TO_BE/FILLED_IN    
License:    TO_BE/FILLED_IN    
URL:        http://www.khronos.org  
Source0:    %{name}-%{version}.tar.gz  
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)  
Group:      TO_BE/FILLED_IN    
Requires:   %{name} = %{version}-%{release}
Requires:	pkgconfig(x11)

%description devel    
Opengl-es acceleration module for emulator. (devel)  
    
    
%prep    
%setup -q    
    
%build    
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    
%defattr(-,root,root,-)    
/usr/lib/libGL.*  
/usr/lib/libEGL.*  
/usr/lib/libGLES*  
    
    
%files devel    
%defattr(-,root,root,-)    
/usr/include/EGL  
/usr/include/GL  
/usr/include/GLES  
/usr/include/GLES2  
/usr/include/KHR
/usr/lib/pkgconfig