summaryrefslogtreecommitdiff
path: root/packaging/simulator-opengl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/simulator-opengl.spec')
-rw-r--r--packaging/simulator-opengl.spec68
1 files changed, 68 insertions, 0 deletions
diff --git a/packaging/simulator-opengl.spec b/packaging/simulator-opengl.spec
new file mode 100644
index 0000000..0f9a337
--- /dev/null
+++ b/packaging/simulator-opengl.spec
@@ -0,0 +1,68 @@
+#sbs-git:sdk/simulator-opengl
+Name: simulator-opengl
+Summary: opengl-es acceleration module for emulator
+Version: 0.2.3
+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)
+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
+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
+