diff options
author | Mun, Gwan-gyeong <kk.moon@samsung.com> | 2015-12-28 10:06:08 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2016-01-05 01:00:28 -0800 |
commit | d83370c263347b0192eec7140d065ec44c483e25 (patch) | |
tree | edbf45668970089e4ed9d0e8ddea5e928f4affad | |
parent | 446de149f4d0e212fc6ba4b5c425b3fb055a7d7d (diff) | |
download | emulator-yagl-d83370c263347b0192eec7140d065ec44c483e25.tar.gz emulator-yagl-d83370c263347b0192eec7140d065ec44c483e25.tar.bz2 emulator-yagl-d83370c263347b0192eec7140d065ec44c483e25.zip |
YaGL: Seperate emulator-yagl package to libwayland-egl package.
Change-Id: I99ef17705e7a1197f8555116f2c2a386f5726a03
-rw-r--r-- | packaging/emulator-yagl.spec | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/packaging/emulator-yagl.spec b/packaging/emulator-yagl.spec index 6d71f3e..7c669af 100644 --- a/packaging/emulator-yagl.spec +++ b/packaging/emulator-yagl.spec @@ -32,12 +32,24 @@ This package contains shared libraries libEGL, libGLES_CM, libGLESv2. %package devel Summary: YaGL - OpenGLES acceleration module for emulator (devel) -Provides: opengl-es-drv-devel Requires: %{name} = %{version}-%{release} %description devel YaGL - OpenGLES acceleration module for emulator (devel) -This package contains header files for EGL, GLESv1_CM, GLESv2, GLESv3, KHR. + +%if %{with wayland} +%package -n libwayland-egl +Summary: Wayland EGL backend + +%description -n libwayland-egl +Wayland EGL backend + +%package -n libwayland-egl-devel +Summary: Development files for use with Wayland protocol + +%description -n libwayland-egl-devel +Development files for use with Wayland protocol +%endif %prep %setup -q @@ -57,15 +69,18 @@ mkdir -p %{buildroot}/usr/lib/pkgconfig cp pkgconfig/wayland-egl.pc %{buildroot}/usr/lib/pkgconfig/ %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig +%if %{with wayland} +%post -n libwayland-egl -p /sbin/ldconfig +%postun -n libwayland-egl -p /sbin/ldconfig +%endif + %files %manifest %{name}.manifest %defattr(-,root,root,-) %if %{with wayland} /usr/lib/libgbm* -/usr/lib/libwayland-egl* /usr/lib/driver/libEGL* /usr/lib/driver/libGL* %else @@ -77,7 +92,14 @@ cp pkgconfig/wayland-egl.pc %{buildroot}/usr/lib/pkgconfig/ %endif /usr/share/license/%{name} -%files devel +%if %{with wayland} +%files -n libwayland-egl %manifest %{name}.manifest %defattr(-,root,root,-) +/usr/lib/libwayland-egl* +/usr/share/license/%{name} + +%files -n libwayland-egl-devel +%defattr(-,root,root,-) /usr/lib/pkgconfig +%endif |