5 Summary: Tizen Buffer Manager - emulator backend
6 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: libtbm-emulator.manifest
10 BuildRequires: pkgconfig(pthread-stubs)
11 BuildRequires: pkgconfig(libdrm)
12 BuildRequires: pkgconfig(libtbm)
18 description: ${summary}
26 ./configure --prefix=%{_prefix} --libdir=%{_libdir}/bufmgr \
27 CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
33 mkdir -p %{buildroot}/usr/share/license
34 cp -af COPYING %{buildroot}/usr/share/license/%{name}
39 if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
40 rm -rf %{_libdir}/bufmgr/libtbm_default.so
42 ln -s libtbm_emulator.so %{_libdir}/bufmgr/libtbm_default.so
44 %postun -p /sbin/ldconfig
47 %manifest %{name}.manifest
48 %defattr(-,root,root,-)
49 /usr/share/license/%{name}
50 %{_libdir}/bufmgr/libtbm_*.so*