4 Summary: User Library of Tizen Display Manager
5 Group: Development/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
9 BuildRequires: pkgconfig(pthread-stubs)
10 BuildRequires: pkgconfig(libtbm)
11 BuildRequires: pkgconfig(libpng)
12 BuildRequires: pkgconfig(ttrace)
13 BuildRequires: pkgconfig(wayland-server)
16 Common user library of Tizen Display Manager : libtdm front-end library
19 Summary: Devel of Tizen Display Manager Library
20 Group: Development/Libraries
21 Requires: libtdm = %{version}
22 Requires: pkgconfig(libtbm)
25 This supports frontend & backend library header and so
27 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
34 %reconfigure --disable-static \
35 CFLAGS="${CFLAGS} -Wall -Werror" \
36 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
41 mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
42 cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
47 %post -p /sbin/ldconfig
48 %postun -p /sbin/ldconfig
52 %manifest %{name}.manifest
53 %defattr(-,root,root,-)
54 %{TZ_SYS_RO_SHARE}/license/%{name}
55 %{_libdir}/libtdm.so.*
58 %manifest %{name}.manifest
59 %defattr(-,root,root,-)
61 %{_libdir}/pkgconfig/*