5 Summary: The library for Tizen Buffer Manager
6 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(pthread-stubs)
10 BuildRequires: pkgconfig(libdrm)
11 BuildRequires: pkgconfig(x11)
12 BuildRequires: pkgconfig(libdri2)
13 BuildRequires: pkgconfig(capi-base-common)
16 Description: %{summary}
19 Summary: Tizen Buffer Manager Library - Development
20 Group: Development/Libraries
21 Requires: libtbm = %{version}
22 Requires: pkgconfig(capi-base-common)
25 The library for Tizen Buffer Manager.
34 %reconfigure --prefix=%{_prefix} \
35 CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
41 mkdir -p %{buildroot}/usr/share/license
42 cp -af COPYING %{buildroot}/usr/share/license/%{name}
49 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
54 %manifest libtbm.manifest
55 %defattr(-,root,root,-)
56 /usr/share/license/%{name}
57 %{_libdir}/libtbm.so.*
58 %{_libdir}/libdrm_slp.so.*
61 %defattr(-,root,root,-)
63 %{_includedir}/tbm_bufmgr.h
64 %{_includedir}/tbm_surface.h
65 %{_includedir}/tbm_surface_internal.h
66 %{_includedir}/tbm_bufmgr_backend.h
67 %{_includedir}/tbm_type.h
69 %{_libdir}/libdrm_slp.so
70 %{_libdir}/pkgconfig/libtbm.pc