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