input_method: implement zwp_input_method_manager
[platform/core/uifw/libds-tizen.git] / packaging / libds-tizen.spec
1 Name:           libds-tizen
2 Version:        0.1.2
3 Release:        0
4 Summary:        Wayland Compositor Library for Tizen
5 License:        MIT
6 URL:            http://www.tizen.org/
7 Source:         %name-%version.tar.xz
8 Source1001:     %name.manifest
9
10 BuildRequires:  meson
11 BuildRequires:  pkgconfig(libds)
12 BuildRequires:  pkgconfig(wayland-server)
13 BuildRequires:  pkgconfig(wayland-client)
14 BuildRequires:  pkgconfig(wayland-protocols)
15 BuildRequires:  pkgconfig(tizen-extension-server)
16 BuildRequires:  pkgconfig(tizen-extension-client)
17 BuildRequires:  pkgconfig(tizen-launch-server)
18 BuildRequires:  pkgconfig(tizen-launch-client)
19 BuildRequires:  pkgconfig(input-method-server)
20 BuildRequires:  pkgconfig(input-method-client)
21 BuildRequires:  pkgconfig(pixman-1)
22 BuildRequires:  pkgconfig(libdrm)
23 BuildRequires:  pkgconfig(xkbcommon)
24
25 BuildRequires:  pkgconfig(libtdm)
26 BuildRequires:  pkgconfig(libtbm)
27 BuildRequires:  pkgconfig(wayland-tbm-server)
28 BuildRequires:  pkgconfig(wayland-tbm-client)
29 BuildRequires:  pkgconfig(tizen-dpms-server)
30 BuildRequires:  pkgconfig(tizen-dpms-client)
31 BuildRequires:  pkgconfig(tizen-surface-server)
32 BuildRequires:  pkgconfig(tizen-surface-client)
33 BuildRequires:  pkgconfig(cynara-client)
34 BuildRequires:  pkgconfig(cynara-session)
35 BuildRequires:  pkgconfig(libsmack)
36 BuildRequires:  pkgconfig(gmock)
37
38 %description
39 Wayland Compositor Library for Tizen
40
41 ## libds-tizen-allocator-tbm
42 %package allocator-tbm
43 Summary: Allocator Library with TBM
44 Group:   Development/Libraries
45
46 %description allocator-tbm
47 Allocator Library with TBM
48
49 %package allocator-tbm-devel
50 Summary: TBM Allocator Development package
51 Group:   Development/Libraries
52
53 %description allocator-tbm-devel
54 TBM Allocator Development package
55
56 ## libds-tizen-backend-tdm
57 %package backend-tdm
58 Summary: Display Backend Library with TDM
59 Group:   Development/Libraries
60
61 %description backend-tdm
62 Display Backend Library with TDM
63
64 %package backend-tdm-devel
65 Summary: TDM Display Backend Development package
66 Group:   Development/Libraries
67
68 %description backend-tdm-devel
69 TDM Display Backend Development package
70
71 ## libds-tizen-tbm-server
72 %package tbm-server
73 Summary: Library for wayland-tbm-server
74 Group:   Development/Libraries
75
76 %description tbm-server
77 Library for tizen input devicemgr
78
79 %package tbm-server-devel
80 Summary: Development package for wayland-tbm-server
81 Group:   Development/Libraries
82
83 %description tbm-server-devel
84 Development package for tizen wayland-tbm-server
85
86 ## libds-tizen-keyrouter
87 %package keyrouter
88 Summary: Wayland Compositor Library for keyrouter
89 Group:   Development/Libraries
90
91 %description keyrouter
92 Wayland Compositor Library for tizen keyrouter
93
94 %package keyrouter-devel
95 Summary: Keyrouter Development package for Wayland Compositor Library
96 Group:   Development/Libraries
97
98 %description keyrouter-devel
99 Keyrouter Development package for Wayland Compositor Library
100
101 ## libds-tizen-input-devicemgr
102 %package input-devicemgr
103 Summary: Library for tizen input devicemgr
104 Group:   Development/Libraries
105
106 %description input-devicemgr
107 Library for tizen input devicemgr
108
109 %package input-devicemgr-devel
110 Summary: Development package for tizen input devicemgr
111 Group:   Development/Libraries
112
113 %description input-devicemgr-devel
114 Development package for tizen input devicemgr
115
116 ## libds-tizen-dpms
117 %package dpms
118 Summary: Library for tizen dpms
119 Group:   Development/Libraries
120
121 %description dpms
122 Library for tizen dpms
123
124 %package dpms-devel
125 Summary: Development package for tizen dpms
126 Group:   Development/Libraries
127
128 %description dpms-devel
129 Development package for tizen dpms
130
131 ## libds-tizen-indicator
132 %package indicator
133 Summary: Library for tizen indicator
134 Group:   Development/Libraries
135
136 %description indicator
137 Library for tizen indicator
138
139 %package indicator-devel
140 Summary: Development package for tizen indicator
141 Group:   Development/Libraries
142
143 %description indicator-devel
144 Development package for tizen indicator
145
146 ## libds-tizen-clipboard
147 %package clipboard
148 Summary: Library for tizen clipboard
149 Group:   Development/Libraries
150
151 %description clipboard
152 Library for tizen clipboard
153
154 %package clipboard-devel
155 Summary: Development package for tizen clipboard
156 Group:   Development/Libraries
157
158 %description clipboard-devel
159 Development package for tizen clipboard
160
161 ## libds-tizen-launch
162 %package launch
163 Summary: Library for tizen launch
164 Group:   Development/Libraries
165
166 %description launch
167 Library for tizen launch
168
169 %package launch-devel
170 Summary: Development package for tizen launch
171 Group:   Development/Libraries
172
173 %description launch-devel
174 Development package for tizen launch
175
176 ## libds-tizen-display-policy
177 %package display-policy
178 Summary: Library for tizen display-policy
179 Group:   Development/Libraries
180
181 %description display-policy
182 Library for tizen display-policy
183
184 %package display-policy-devel
185 Summary: Development package for tizen display-policy
186 Group:   Development/Libraries
187
188 %description display-policy-devel
189 Development package for tizen display-policy
190
191 ## libds-tizen-memory-flusher
192 %package memory-flusher
193 Summary: Library for tizen memory flusher
194 Group:   Development/Libraries
195
196 %description memory-flusher
197 Library for tizen memory flusher
198
199 %package memory-flusher-devel
200 Summary: Development package for tizen memory flusher
201 Group:   Development/Libraries
202
203 %description memory-flusher-devel
204 Development package for tizen memory flusher
205
206 ## libds-tizen-renderer
207 %package renderer
208 Summary: Library for tizen renderer
209 Group:   Development/Libraries
210
211 %description renderer
212 Library for tizen renderer
213
214 %package renderer-devel
215 Summary: Development package for tizen renderer
216 Group:   Development/Libraries
217
218 %description renderer-devel
219 Development package for tizen renderer
220
221 ## libds-tizen-screen-rotation
222 %package screen-rotation
223 Summary: Library for tizen screen rotation
224 Group:   Development/Libraries
225
226 %description screen-rotation
227 Library for tizen screen rotation
228
229 %package screen-rotation-devel
230 Summary: Development package for tizen screen rotation
231 Group:   Development/Libraries
232
233 %description screen-rotation-devel
234 Development package for tizen screen rotation
235
236 ## libds-tizen-global-resource
237 %package global-resource
238 Summary: Library for tizen global resource
239 Group:   Development/Libraries
240
241 %description global-resource
242 Library for tizen global resource
243
244 %package global-resource-devel
245 Summary: Development package for tizen global resource
246 Group:   Development/Libraries
247
248 %description global-resource-devel
249 Development package for tizen global resource
250
251 ## libds-tizen-embedded-compositor
252 %package embedded-compositor
253 Summary: Library for tizen embedded compositor
254 Group:   Development/Libraries
255
256 %description embedded-compositor
257 Library for tizen embedded compositor
258
259 %package embedded-compositor-devel
260 Summary: Development package for tizen embedded compositor
261 Group:   Development/Libraries
262
263 %description embedded-compositor-devel
264 Development package for tizen embedded compositor
265
266 ## libds-tizen-input-method
267 %package input-method
268 Summary: Library for tizen input-method
269 Group:   Development/Libraries
270
271 %description input-method
272 Library for tizen input-method
273
274 %package input-method-devel
275 Summary: Development package for tizen input-method
276 Group:   Development/Libraries
277
278 %description input-method-devel
279 Development package for tizen input-method
280
281 %prep
282 %setup -q
283 cp %{SOURCE1001} .
284
285 %build
286 meson setup \
287     --prefix /usr \
288     --libdir %{_libdir} \
289     --bindir %{_bindir} \
290     builddir \
291     -Dkeylayout_dir="%{TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt"
292 ninja -C builddir all
293
294 %install
295 export DESTDIR=%{buildroot}
296 ninja -C builddir install
297
298 %files allocator-tbm
299 %manifest %{name}.manifest
300 %defattr(-,root,root,-)
301 %license LICENSE
302 %{_libdir}/libds-tizen-allocator-tbm.so.*
303
304 %files allocator-tbm-devel
305 %manifest %{name}.manifest
306 %defattr(-,root,root,-)
307 %license LICENSE
308 %{_includedir}/libds-tizen/allocator/tbm.h
309 %{_libdir}/pkgconfig/libds-tizen-allocator-tbm.pc
310 %{_libdir}/libds-tizen-allocator-tbm.so
311 %{_bindir}/libds-tizen-allocator-tbm-tests
312
313 %files backend-tdm
314 %manifest %{name}.manifest
315 %defattr(-,root,root,-)
316 %license LICENSE
317 %{_libdir}/libds-tizen-backend-tdm.so.*
318
319 %files backend-tdm-devel
320 %manifest %{name}.manifest
321 %defattr(-,root,root,-)
322 %license LICENSE
323 %{_includedir}/libds-tizen/backend/tdm.h
324 %{_includedir}/libds-tizen/backend/tdm_output_hwc.h
325 %{_libdir}/pkgconfig/libds-tizen-backend-tdm.pc
326 %{_libdir}/libds-tizen-backend-tdm.so
327 %{_bindir}/tdm-backend
328 %{_bindir}/tinyds-tdm
329 %{_bindir}/ds-simple-tbm
330
331 %files tbm-server
332 %manifest %{name}.manifest
333 %defattr(-,root,root,-)
334 %license LICENSE
335 %{_libdir}/libds-tizen-tbm-server.so.*
336
337 %files tbm-server-devel
338 %manifest %{name}.manifest
339 %defattr(-,root,root,-)
340 %license LICENSE
341 %{_includedir}/libds-tizen/tbm_server.h
342 %{_libdir}/pkgconfig/libds-tizen-tbm-server.pc
343 %{_libdir}/libds-tizen-tbm-server.so
344
345 %files keyrouter
346 %manifest %{name}.manifest
347 %defattr(-,root,root,-)
348 %license LICENSE
349 %{_libdir}/libds-tizen-keyrouter.so.*
350
351 %files keyrouter-devel
352 %manifest %{name}.manifest
353 %defattr(-,root,root,-)
354 %license LICENSE
355 %{_includedir}/libds-tizen/keyrouter.h
356 %{_libdir}/pkgconfig/libds-tizen-keyrouter.pc
357 %{_libdir}/libds-tizen-keyrouter.so
358
359 %files input-devicemgr
360 %manifest %{name}.manifest
361 %defattr(-,root,root,-)
362 %license LICENSE
363 %{_libdir}/libds-tizen-input-devicemgr.so.*
364
365 %files input-devicemgr-devel
366 %manifest %{name}.manifest
367 %defattr(-,root,root,-)
368 %license LICENSE
369 %{_includedir}/libds-tizen/input_devicemgr.h
370 %{_libdir}/pkgconfig/libds-tizen-input-devicemgr.pc
371 %{_libdir}/libds-tizen-input-devicemgr.so
372 %{_bindir}/input-generator
373
374 %files dpms
375 %manifest %{name}.manifest
376 %defattr(-,root,root,-)
377 %license LICENSE
378 %{_libdir}/libds-tizen-dpms.so.*
379
380 %files dpms-devel
381 %manifest %{name}.manifest
382 %defattr(-,root,root,-)
383 %license LICENSE
384 %{_includedir}/libds-tizen/dpms.h
385 %{_libdir}/pkgconfig/libds-tizen-dpms.pc
386 %{_libdir}/libds-tizen-dpms.so
387 %{_bindir}/ds-simple-dpms
388
389 %files indicator
390 %manifest %{name}.manifest
391 %defattr(-,root,root,-)
392 %license LICENSE
393 %{_libdir}/libds-tizen-indicator.so.*
394
395 %files indicator-devel
396 %manifest %{name}.manifest
397 %defattr(-,root,root,-)
398 %license LICENSE
399 %{_includedir}/libds-tizen/indicator.h
400 %{_libdir}/pkgconfig/libds-tizen-indicator.pc
401 %{_libdir}/libds-tizen-indicator.so
402 %{_bindir}/libds-tizen-indicator-tests
403
404 %files clipboard
405 %manifest %{name}.manifest
406 %defattr(-,root,root,-)
407 %license LICENSE
408 %{_libdir}/libds-tizen-clipboard.so.*
409
410 %files clipboard-devel
411 %manifest %{name}.manifest
412 %defattr(-,root,root,-)
413 %license LICENSE
414 %{_includedir}/libds-tizen/clipboard.h
415 %{_libdir}/pkgconfig/libds-tizen-clipboard.pc
416 %{_libdir}/libds-tizen-clipboard.so
417 %{_bindir}/libds-tizen-clipboard-tests
418
419 %files launch
420 %manifest %{name}.manifest
421 %defattr(-,root,root,-)
422 %license LICENSE
423 %{_libdir}/libds-tizen-launch.so.*
424
425 %files launch-devel
426 %manifest %{name}.manifest
427 %defattr(-,root,root,-)
428 %license LICENSE
429 %{_includedir}/libds-tizen/launch.h
430 %{_libdir}/pkgconfig/libds-tizen-launch.pc
431 %{_libdir}/libds-tizen-launch.so
432 %{_bindir}/libds-tizen-launch-appinfo-tests
433 %{_bindir}/libds-tizen-launch-effect-tests
434
435 %files display-policy
436 %manifest %{name}.manifest
437 %defattr(-,root,root,-)
438 %license LICENSE
439 %{_libdir}/libds-tizen-display-policy.so.*
440
441 %files display-policy-devel
442 %manifest %{name}.manifest
443 %defattr(-,root,root,-)
444 %license LICENSE
445 %{_includedir}/libds-tizen/display_policy.h
446 %{_libdir}/pkgconfig/libds-tizen-display-policy.pc
447 %{_libdir}/libds-tizen-display-policy.so
448 %{_bindir}/libds-tizen-display-policy-tests
449
450 %files memory-flusher
451 %manifest %{name}.manifest
452 %defattr(-,root,root,-)
453 %license LICENSE
454 %{_libdir}/libds-tizen-memory-flusher.so.*
455
456 %files memory-flusher-devel
457 %manifest %{name}.manifest
458 %defattr(-,root,root,-)
459 %license LICENSE
460 %{_includedir}/libds-tizen/memory_flusher.h
461 %{_libdir}/pkgconfig/libds-tizen-memory-flusher.pc
462 %{_libdir}/libds-tizen-memory-flusher.so
463 %{_bindir}/libds-tizen-memory-flusher-tests
464
465 %files renderer
466 %manifest %{name}.manifest
467 %defattr(-,root,root,-)
468 %license LICENSE
469 %{_libdir}/libds-tizen-renderer.so.*
470
471 %files renderer-devel
472 %manifest %{name}.manifest
473 %defattr(-,root,root,-)
474 %license LICENSE
475 %{_includedir}/libds-tizen/renderer.h
476 %{_libdir}/pkgconfig/libds-tizen-renderer.pc
477 %{_libdir}/libds-tizen-renderer.so
478 %{_bindir}/libds-tizen-renderer-tests
479
480 %files screen-rotation
481 %manifest %{name}.manifest
482 %defattr(-,root,root,-)
483 %license LICENSE
484 %{_libdir}/libds-tizen-screen-rotation.so.*
485
486 %files screen-rotation-devel
487 %manifest %{name}.manifest
488 %defattr(-,root,root,-)
489 %license LICENSE
490 %{_includedir}/libds-tizen/screen_rotation.h
491 %{_libdir}/pkgconfig/libds-tizen-screen-rotation.pc
492 %{_libdir}/libds-tizen-screen-rotation.so
493 %{_bindir}/libds-tizen-screen-rotation-tests
494
495 %files global-resource
496 %manifest %{name}.manifest
497 %defattr(-,root,root,-)
498 %license LICENSE
499 %{_libdir}/libds-tizen-global-resource.so.*
500
501 %files global-resource-devel
502 %manifest %{name}.manifest
503 %defattr(-,root,root,-)
504 %license LICENSE
505 %{_includedir}/libds-tizen/global_resource.h
506 %{_libdir}/pkgconfig/libds-tizen-global-resource.pc
507 %{_libdir}/libds-tizen-global-resource.so
508 %{_bindir}/libds-tizen-global-resource-tests
509
510 %files embedded-compositor
511 %manifest %{name}.manifest
512 %defattr(-,root,root,-)
513 %license LICENSE
514 %{_libdir}/libds-tizen-embedded-compositor.so.*
515
516 %files embedded-compositor-devel
517 %manifest %{name}.manifest
518 %defattr(-,root,root,-)
519 %license LICENSE
520 %{_includedir}/libds-tizen/embedded_compositor.h
521 %{_libdir}/pkgconfig/libds-tizen-embedded-compositor.pc
522 %{_libdir}/libds-tizen-embedded-compositor.so
523 %{_bindir}/libds-tizen-embedded-compositor-tests
524
525 %files input-method
526 %manifest %{name}.manifest
527 %defattr(-,root,root,-)
528 %license LICENSE
529 %{_libdir}/libds-tizen-input-method.so.*
530
531 %files input-method-devel
532 %manifest %{name}.manifest
533 %defattr(-,root,root,-)
534 %license LICENSE
535 %{_includedir}/libds-tizen/input_method.h
536 %{_libdir}/pkgconfig/libds-tizen-input-method.pc
537 %{_libdir}/libds-tizen-input-method.so
538 %{_bindir}/libds-tizen-input-method-tests
539 %{_bindir}/libds-tizen-input-method-manager-tests