6 Summary: User Library of Tizen Display Manager
7 Group: Development/Libraries
9 Source0: %{name}-%{version}.tar.gz
10 Source1001: %{name}.manifest
11 BuildRequires: pkgconfig(libtbm)
12 BuildRequires: pkgconfig(libpng)
13 BuildRequires: pkgconfig(ttrace)
14 BuildRequires: pkgconfig(wayland-server)
15 BuildRequires: pkgconfig(pixman-1)
18 BuildRequires: gtest-devel
22 Common user library of Tizen Display Manager : libtdm front-end library
25 Summary: Devel of Tizen Display Manager Library
26 Group: Development/Libraries
27 Requires: libtdm = %{version}
28 Requires: pkgconfig(libtbm)
31 This supports frontend & backend library header and so
34 Summary: Client library for Tizen Display Manager
35 Group: Development/Libraries
36 Requires: libtdm = %{version}
39 Tizen Display Manager Client Library
42 Summary: Client library for Tizen Display Manager
43 Group: Development/Libraries
44 Requires: libtdm-client = %{version}
45 Requires: libtdm-devel
47 %description client-devel
48 Tizen Display Manager Client Library headers
50 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
53 Summary: Tools for libtdm
54 Group: Development/Utilities
55 Requires: libtdm = %{version}
58 This contains libtdm tools for fundamental testing
71 %reconfigure --disable-static --with-utest=${UTEST} \
72 CFLAGS="${CFLAGS} -Wall -Werror" \
73 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
82 mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
83 cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
86 %__mkdir_p %{buildroot}%{_unitdir}
87 install -m 644 service/tdm-socket.service %{buildroot}%{_unitdir}
88 install -m 644 service/tdm-socket.path %{buildroot}%{_unitdir}
89 %__mkdir_p %{buildroot}%{_unitdir_user}
90 install -m 644 service/tdm-socket-user.service %{buildroot}%{_unitdir_user}
91 install -m 644 service/tdm-socket-user.path %{buildroot}%{_unitdir_user}
97 %__mkdir_p %{_unitdir}/graphical.target.wants
98 ln -sf ../tdm-socket.path %{_unitdir}/graphical.target.wants/
100 %if "%{?profile}" == "mobile" || "%{?profile}" == "wearable"
101 %__mkdir_p %{_unitdir_user}/basic.target.wants
102 ln -sf ../tdm-socket-user.path %{_unitdir_user}/basic.target.wants/
104 %__mkdir_p %{_unitdir_user}/default.target.wants
105 ln -sf ../tdm-socket-user.path %{_unitdir_user}/default.target.wants/
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110 rm -f %{_unitdir}/graphical.target.wants/tdm-socket.path
112 %if "%{?profile}" == "mobile" || "%{?profile}" == "wearable"
113 rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path
115 rm -f %{_unitdir_user}/default.target.wants/tdm-socket-user.path
119 %manifest %{name}.manifest
120 %defattr(-,root,root,-)
121 %{TZ_SYS_RO_SHARE}/license/%{name}
122 %{_libdir}/libtdm.so.*
123 %attr(750,root,root) %{_bindir}/tdm-monitor
124 %{_unitdir}/tdm-socket.path
125 %{_unitdir}/tdm-socket.service
126 %{_unitdir_user}/tdm-socket-user.path
127 %{_unitdir_user}/tdm-socket-user.service
133 %manifest %{name}.manifest
134 %defattr(-,root,root,-)
136 %{_includedir}/tdm_common.h
137 %{_includedir}/tdm_backend.h
138 %{_includedir}/tdm_helper.h
139 %{_includedir}/tdm_list.h
140 %{_includedir}/tdm_log.h
141 %{_includedir}/tdm_types.h
142 %{_libdir}/pkgconfig/libtdm.pc
146 %manifest %{name}.manifest
147 %defattr(-,root,root,-)
148 %{TZ_SYS_RO_SHARE}/license/%{name}
149 %{_libdir}/libtdm-client.so.*
152 %manifest %{name}.manifest
153 %defattr(-,root,root,-)
154 %{_includedir}/tdm_client.h
155 %{_includedir}/tdm_client_types.h
156 %{_libdir}/pkgconfig/libtdm-client.pc
157 %{_libdir}/libtdm-client.so
160 %manifest %{name}.manifest
161 %attr(750,root,root) %{_bindir}/tdm-test-server
162 %{_bindir}/tdm-test-client