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)
15 Common user library of Tizen Display Manager : libtdm front-end library
18 Summary: Devel of Tizen Display Manager Library
19 Group: Development/Libraries
20 Requires: libtdm = %{version}
21 Requires: pkgconfig(libtbm)
24 This supports frontend & backend library header and so
26 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
33 %reconfigure --disable-static \
34 CFLAGS="${CFLAGS} -Wall -Werror" \
35 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
40 mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
41 cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
46 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
51 %manifest %{name}.manifest
52 %defattr(-,root,root,-)
53 %{TZ_SYS_RO_SHARE}/license/%{name}
54 %{_libdir}/libtdm.so.*
57 %manifest %{name}.manifest
58 %defattr(-,root,root,-)
60 %{_libdir}/pkgconfig/*