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