8 Summary: The library for Tizen Buffer Manager
9 Group: System/Libraries
10 Source0: %{name}-%{version}.tar.gz
11 Source1001: %name.manifest
13 BuildRequires: pkgconfig(libdrm)
14 BuildRequires: pkgconfig(pthread-stubs)
15 BuildRequires: pkgconfig(capi-base-common)
18 Description: %{summary}
21 Summary: Tizen Buffer Manager Library - Development
22 Group: Development/Libraries
23 Requires: libtbm = %{version}
24 Requires: pkgconfig(capi-base-common)
27 The library for Tizen Buffer Manager.
38 %reconfigure --prefix=%{_prefix} --with-tbm-platform=WAYLAND \
39 CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
41 %reconfigure --prefix=%{_prefix} --with-tbm-platform=X11 \
42 CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
49 mkdir -p %{buildroot}/usr/share/license
50 cp -af COPYING %{buildroot}/usr/share/license/%{name}
57 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
62 %manifest %{name}.manifest
63 %defattr(-,root,root,-)
64 /usr/share/license/%{name}
65 %{_libdir}/libtbm.so.*
68 %manifest %{name}.manifest
69 %defattr(-,root,root,-)
71 %{_includedir}/tbm_bufmgr.h
72 %{_includedir}/tbm_surface.h
73 %{_includedir}/tbm_surface_internal.h
74 %{_includedir}/tbm_surface_queue.h
75 %{_includedir}/tbm_bufmgr_backend.h
76 %{_includedir}/tbm_type.h
78 %{_libdir}/pkgconfig/libtbm.pc