summaryrefslogtreecommitdiff
path: root/packaging/domain-apis.inc
blob: 4ddc0cf472d69fb78e4bd6fbdc2ea4b400d4057f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
# Maintainer: TBD: This is temporary block for TDC Demo. You may proceed with this later anyway.
# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers.

%package root-domain_API
Summary:	Tizen Native API Sets
Suggests:	%{name}-sub1-domain_API-Account
Suggests:	%{name}-sub1-domain_API-AppFramework
Suggests:	%{name}-sub1-domain_API-Base
Suggests:	%{name}-sub1-domain_API-Content
Suggests:	%{name}-sub1-domain_API-Context
Suggests:	%{name}-sub1-domain_API-Location
Suggests:	%{name}-sub1-domain_API-Maps
Suggests:	%{name}-sub1-domain_API-Messaging
Suggests:	%{name}-sub1-domain_API-Multimedia
Suggests:	%{name}-sub1-domain_API-Network
Suggests:	%{name}-sub1-domain_API-Security
Suggests:	%{name}-sub1-domain_API-Social
Suggests:	%{name}-sub1-domain_API-System
Suggests:	%{name}-sub1-domain_API-Telephony
Suggests:	%{name}-sub1-domain_API-UI
Suggests:	%{name}-sub1-domain_API-UIX
Suggests:	%{name}-sub1-domain_API-Web
%description root-domain_API
__EXPAND__: domains
Tizen packages blocked and sorted by API sets defined by TPL
%files root-domain_API


############
## Account ##
############
%package sub1-domain_API-Account
Summary:	Account Native API Group
Suggests: %{name}-sub2-domain_API-Account-Account_Manager
Suggests: %{name}-sub2-domain_API-Account-FIDO_Client
Suggests: %{name}-sub2-domain_API-Account-OAuth2
Suggests: %{name}-sub2-domain_API-Account-Sync_Manager
Suggests: %{name}-sub2-domain_API-Account-libOAuth
%description sub1-domain_API-Account
Tizen block (set of packages) for Group of domain API-Account
%files sub1-domain_API-Account


%package sub2-domain_API-Account-Account_Manager
Summary:	Account Manager
Requires:	libaccount-service
Requires:	account-manager
Requires:	account-parser
%description sub2-domain_API-Account-Account_Manager
This block supports managing account related information. Once you check the Account Manager before Image Creation, it will be included the image.
%files sub2-domain_API-Account-Account_Manager
%posttrans sub2-domain_API-Account-Account_Manager
sed -i 's#\(\"tizen.org/feature/account\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Account-FIDO_Client
Summary:	FIDO Client

Requires: fido-client
Suggests: dummyasm
%description sub2-domain_API-Account-FIDO_Client

Enabling Fido Client and it is possible to use Fido Client API<br>
dummyasm should be selected for tct running.<br>
fido-client needs fido-asm and fido-authenticator according to FIDO UAF Spec 1.0 to which fido-client is comaptible.<br>
But fido-asm and fido-authenticator are vendor specific modules and to be developed by them.<br>
So we use dummyasm for verification of fido-client APIs instead of fido-asm and fido-authenticator.

%files sub2-domain_API-Account-FIDO_Client
%posttrans sub2-domain_API-Account-FIDO_Client
sed -i 's#\(\"tizen.org/feature/fido.uaf\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Account-OAuth2
Summary:	OAuth2

Requires: oauth2
Requires: %{name}-sub2-domain_API-Web-WebView
%description sub2-domain_API-Account-OAuth2

Enabling OAuth2 and it is possible to use OAuth2 API<br>
webView is mandatory becasue oauth2 manager api triggers to show web page for user interaction to input user id and password<br>
which is following oauth 2.0 specification.

%files sub2-domain_API-Account-OAuth2
%posttrans sub2-domain_API-Account-OAuth2
sed -i 's#\(\"tizen.org/feature/oauth2\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Account-Sync_Manager
Summary:	Sync Manager
Requires:	libcore-sync-client
Requires:	%{name}-sub2-domain_API-Account-Account_Manager
Requires:	%{name}-sub2-domain_API-Social-Contacts
Suggests:	%{name}-sub1-domain_API-Telephony
Suggests:	%{name}-sub2-domain_API-Network-WiFi
%description sub2-domain_API-Account-Sync_Manager
This block supports managing data synchronization. Also, to use this feature, either Data Network or Wi-Fi connection is required. Once you check the Sync Manager before Image Creation, it will be included the image.
%files sub2-domain_API-Account-Sync_Manager
%posttrans sub2-domain_API-Account-Sync_Manager
sed -i 's#\(\"tizen.org/feature/account.sync\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Account-libOAuth
Summary:	libOAuth

Requires: liboauth
%description sub2-domain_API-Account-libOAuth

Functions implementing the OAuth Core RFC 5849 protocol.


%files sub2-domain_API-Account-libOAuth

###################
## AppFrammework ##
###################
%package sub1-domain_API-AppFramework
Summary:	Application Framework Native API Group
Suggests: %{name}-sub2-domain_API-AppFramework-TPK_Installation
Suggests: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Suggests: %{name}-sub2-domain_API-AppFramework-Alarm_API
Suggests: %{name}-sub2-domain_API-AppFramework-Message_Port_API
Suggests: %{name}-sub2-domain_API-AppFramework-Data_Control_API
Suggests: %{name}-sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
Suggests: %{name}-sub2-domain_API-AppFramework-Notification_API
Suggests: %{name}-sub2-domain_API-AppFramework-Shortcut_API
Suggests: %{name}-sub2-domain_API-AppFramework-Badge_API
Suggests: %{name}-sub2-domain_API-AppFramework-Media_Key_API
Suggests: %{name}-sub2-domain_API-AppFramework-Attach_Panel
%description sub1-domain_API-AppFramework
Tizen block (set of packages) for Group of domain API-AppFramework
%files sub1-domain_API-AppFramework

%package sub2-domain_API-AppFramework-TPK_Installation
Summary: TPK package management
Requires: pkgmgr-server
Requires: pkgmgr-tool
%description sub2-domain_API-AppFramework-TPK_Installation
This block supports tpk package management (install/uninstall)
%files sub2-domain_API-AppFramework-TPK_Installation

%package sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Summary: Native EFL UI app model
Requires: capi-appfw-application
Requires: amd-mod-cynara-core
Requires: amd-mod-extractor
Requires: amd-mod-input
Requires: amd-mod-launchpad
Requires: amd-mod-rua
Requires: amd-mod-share
Requires: amd-mod-splash-screen
Requires: amd-mod-ui-core
Requires: amd-mod-wayland-core
Requires: %{name}-sub2-domain_API-UI-Display_Server
Requires: %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit
Requires: %{name}-sub2-domain_API-UI-EFL_Extension
Requires: %{name}-sub2-domain_API-UI-FontConfig
%description sub2-domain_API-AppFramework-Native_EFL_UI_app_model
This block supports native EFL UI application model
%files sub2-domain_API-AppFramework-Native_EFL_UI_app_model

%package sub2-domain_API-AppFramework-Alarm_API
Summary: Alarm API
Requires: capi-appfw-alarm
Requires: alarm-server
%description sub2-domain_API-AppFramework-Alarm_API
This block supports alarm API
%files sub2-domain_API-AppFramework-Alarm_API

%package sub2-domain_API-AppFramework-Message_Port_API
Summary: Message Port API
Requires: message-port
%description sub2-domain_API-AppFramework-Message_Port_API
This block supports message port API
%files sub2-domain_API-AppFramework-Message_Port_API

%package sub2-domain_API-AppFramework-Data_Control_API
Summary: Data Control API
Requires: data-control
%description sub2-domain_API-AppFramework-Data_Control_API
This block supports data control API
%files sub2-domain_API-AppFramework-Data_Control_API

%package sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
Summary: EFL widget app model
Requires: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Requires: appcore-widget
Requires: libwidget_service
Requires: libwidget_viewer
Requires: libwidget_viewer_evas
%description sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
This block supports native EFL widget app model
%files sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
%posttrans sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
%tizen_feature tizen.org/feature/shell.appwidget true

%package sub2-domain_API-AppFramework-Notification_API
Summary: Notification API
Requires: notification
Requires: data-provider-master
%description sub2-domain_API-AppFramework-Notification_API
This block supports notification API
%files sub2-domain_API-AppFramework-Notification_API
%posttrans sub2-domain_API-AppFramework-Notification_API
%tizen_feature tizen.org/feature/notification true

%package sub2-domain_API-AppFramework-Shortcut_API
Summary: Shortcut API
Requires: libshortcut
Requires: data-provider-master
%description sub2-domain_API-AppFramework-Shortcut_API
This block supports shortcut API
%files sub2-domain_API-AppFramework-Shortcut_API

%package sub2-domain_API-AppFramework-Badge_API
Summary: Badge API
Requires: badge
Requires: data-provider-master
%description sub2-domain_API-AppFramework-Badge_API
This block supports badge API
%files sub2-domain_API-AppFramework-Badge_API
%posttrans sub2-domain_API-AppFramework-Badge_API
%tizen_feature tizen.org/feature/badge true

%package sub2-domain_API-AppFramework-Media_Key_API
Summary: Media Key API
Requires: capi-system-media-key
Requires: %{name}-sub2-domain_API-UI-Display_Server
%description sub2-domain_API-AppFramework-Media_Key_API
This block supports media key API
%files sub2-domain_API-AppFramework-Media_Key_API

%package sub2-domain_API-AppFramework-Attach_Panel
Summary:    Attach-Panel

# packakge list
Requires: attach-panel
Requires: attach-panel-gallery
Requires: attach-panel-camera
Requires: attach-panel-document
Requires: attach-panel-voicerecorder

Requires: %{name}-sub2-domain_API-Multimedia-Camera
Requires: %{name}-sub2-domain_API-System-Device_Battery
Requires: %{name}-sub2-domain_API-Multimedia-Recorder
Requires: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Requires: %{name}-sub2-domain_API-System-Storage

Suggests: org.tizen.app-selector-profile_mobile

%description sub2-domain_API-AppFramework-Attach_Panel
Attach panel provides functions to attach images, voices, contacts, events and files. User can attach images, take pictures, record voice and select files to attach into the caller app.
Currently, only mobile is supported, and if there is a profile you want, you can select the app-selector package corresponding to profile.

%files sub2-domain_API-AppFramework-Attach_Panel


##########
## Base ##
##########
%package sub1-domain_API-Base
Summary:	Base API Group
Suggests: %{name}-sub2-domain_API-Base-CPP_Standard_library
Suggests: %{name}-sub2-domain_API-Base-Common_Error
Suggests: %{name}-sub2-domain_API-Base-Glib
Suggests: %{name}-sub2-domain_API-Base-Glibc
Suggests: %{name}-sub2-domain_API-Base-LibXML
Suggests: %{name}-sub2-domain_API-Base-Minizip
Suggests: %{name}-sub2-domain_API-Base-OpenMP
Suggests: %{name}-sub2-domain_API-Base-Sqlite
Suggests: %{name}-sub2-domain_API-Base-Utils
Suggests: %{name}-sub2-domain_API-Base-zlib
%description sub1-domain_API-Base
Tizen block (set of packages) for Group of domain API-Base
%files sub1-domain_API-Base

%package sub2-domain_API-Base-CPP_Standard_library
Summary:    C++ Standard library
Requires: libstdc++
%description sub2-domain_API-Base-CPP_Standard_library
This Block is possible to user c++ standard library.

%files sub2-domain_API-Base-CPP_Standard_library

%package sub2-domain_API-Base-Common_Error
Summary:    Common-Error
Requires: libcom_err
%description sub2-domain_API-Base-Common_Error
Tizen block (set of packages) for Group of sub domain Common-Error

%files sub2-domain_API-Base-Common_Error

# Summary, description

%package sub2-domain_API-Base-Glib
Summary:    Glib

Requires: libglib
Requires: libgio
Requires: libgmodule
Requires: libgobject
Requires: libgthread

%description sub2-domain_API-Base-Glib

General Purpose Utility library

%files sub2-domain_API-Base-Glib


%package sub2-domain_API-Base-Glibc
Summary:    Glibc

Requires:glibc

%description sub2-domain_API-Base-Glibc
Glibc library

%files sub2-domain_API-Base-Glibc

%package sub2-domain_API-Base-LibXML
Summary:    LibXML
Requires: libxml2

%description sub2-domain_API-Base-LibXML

A library to manipulate XML files


%files sub2-domain_API-Base-LibXML

%package sub2-domain_API-Base-Minizip
Summary:    Minizip

Requires: minizip

%description sub2-domain_API-Base-Minizip

Data Compression Library


%files sub2-domain_API-Base-Minizip

%package sub2-domain_API-Base-OpenMP
Summary:    OpenMP
Requires: libgomp
%description sub2-domain_API-Base-OpenMP

an application programming interface (API) that supports multi-platform shared memory multiprocessing

%files sub2-domain_API-Base-OpenMP

%package sub2-domain_API-Base-Sqlite
Summary:    Sqlite
Requires: sqlite

%description sub2-domain_API-Base-Sqlite
This block is possible to use sqlite3 and libsqlite.

%files sub2-domain_API-Base-Sqlite


%package sub2-domain_API-Base-Utils
Summary:    Base-Utils
Requires: capi-base-utils

%description sub2-domain_API-Base-Utils
This block supports base-utils API for internationalization and localization

%files sub2-domain_API-Base-Utils

%package sub2-domain_API-Base-zlib
Summary:    zlib
Requires: zlib

%description sub2-domain_API-Base-zlib

Data Compression Library


%files sub2-domain_API-Base-zlib


#############
## Content ##
#############
%package sub1-domain_API-Content
Summary:	Content API Group
Suggests: %{name}-sub2-domain_API-Content-Download
Suggests: %{name}-sub2-domain_API-Content-MIME_Type
Suggests: %{name}-sub2-domain_API-Content-Media_Content
%description sub1-domain_API-Content
Tizen block (set of packages) for Group of domain API-Content
%files sub1-domain_API-Content

%package sub2-domain_API-Content-Download
Summary:    Download
Requires:	capi-web-url-download
Requires:	download-provider
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Content-Download
Tizen block (set of packages) for API sets of domain API-Content-Download <br>
To use this feature, either Data Network or Wi-Fi connection is required.
%files sub2-domain_API-Content-Download
%posttrans sub2-domain_API-Content-Download
sed -i 's#\(\"tizen.org/feature/download\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Content-MIME_Type
Summary:    MIME-Type API
Requires: capi-content-mime-type
%description sub2-domain_API-Content-MIME_Type
This block supports simple mime-type extraction API
%files sub2-domain_API-Content-MIME_Type

%package sub2-domain_API-Content-Media_Content
Summary:    Media-Content
Requires: capi-content-media-content
Requires: media-server
Requires: dcm-service
Requires: media-thumbnail-server
Requires: %{name}-sub2-domain_API-Multimedia-Media_Vision_Face
%description sub2-domain_API-Content-Media_Content
Enabling Media Content and it is possible to use Media Content API
%files sub2-domain_API-Content-Media_Content

#############
## Context ##
#############
%package sub1-domain_API-Context
Summary:	Context API Group
Suggests: %{name}-sub2-domain_API-Context-Activity_Geusture_Recognition
Suggests: %{name}-sub2-domain_API-Context-Contextual_History
Suggests: %{name}-sub2-domain_API-Context-Contextual_Trigger
%description sub1-domain_API-Context
Tizen block (set of packages) for Group of domain API-Context
%files sub1-domain_API-Context

%package sub2-domain_API-Context-Activity_Geusture_Recognition
Summary:    Activity/Geusture Recognition
Requires: capi-context-motion
Requires: %{name}-sub2-domain_API-System-Sensor_Listener
%description sub2-domain_API-Context-Activity_Geusture_Recognition
Activity/Gesture Recognition provides functions to recognize user activities and gestures.
%files sub2-domain_API-Context-Activity_Geusture_Recognition

%package sub2-domain_API-Context-Contextual_History
Summary:    Contextual History
Requires: capi-context
Requires: context-app-history
%description sub2-domain_API-Context-Contextual_History
Contextual History provides functions to retrieve user's device usage statistics and patterns.
%files sub2-domain_API-Context-Contextual_History

%package sub2-domain_API-Context-Contextual_Trigger
Summary:    Contextual Trigger
Requires: capi-context
Requires: context-job-scheduler
%description sub2-domain_API-Context-Contextual_Trigger
Contextual Trigger provides functions to define task triggering rules based on device status and user activities.
%files sub2-domain_API-Context-Contextual_Trigger



##############
## Location ##
##############
%package sub1-domain_API-Location
Summary:	Location API Group
Suggests: %{name}-sub2-domain_API-Location-Location_Manager
Suggests: %{name}-sub2-domain_API-Location-Geofence_Manager
%description sub1-domain_API-Location
Tizen block (set of packages) for Group of domain API-Location
%files sub1-domain_API-Location

%package sub2-domain_API-Location-Location_Manager
Summary:    Location-Manager
Requires:	capi-location-manager
Requires:	lbs-server
Requires:	location-lbs-server
Suggests:	lbs-plugin-gps-rpi3
%description sub2-domain_API-Location-Location_Manager
This block supports managing Location Service.<br>
To use Location Service, the appropriate plugin should be selected for the device.
%files sub2-domain_API-Location-Location_Manager
%posttrans sub2-domain_API-Location-Location_Manager
sed -i 's#\(\"tizen.org/feature/location\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/location.gps\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/location.gps.satellite\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Location-Geofence_Manager
Summary:    Geofence-Manager
Requires:	capi-geofence-manager
Requires:	geofence-server
Requires:	location-geofence-server
Requires:	%{name}-sub2-domain_API-Location-Location_Manager
%description sub2-domain_API-Location-Geofence_Manager
This block supports managing Geofence Service.
%files sub2-domain_API-Location-Geofence_Manager
%posttrans sub2-domain_API-Location-Geofence_Manager
sed -i 's#\(\"tizen.org/feature/location.geofence\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

##########
## Maps ##
##########
%package sub1-domain_API-Maps
Summary:	Maps API Group
Suggests: %{name}-sub2-domain_API-Maps-Maps_Service
Suggests: %{name}-sub2-domain_API-Maps-Here_Plugin
Suggests: %{name}-sub2-domain_API-Maps-Mapzen_Plugin
%description sub1-domain_API-Maps
Tizen block (set of packages) for Group of domain API-Maps
%files sub1-domain_API-Maps

%package sub2-domain_API-Maps-Maps_Service
Summary:	Maps_Service
Requires:	capi-maps-service
Requires:	%{name}-sub2-domain_API-UI-EFL_NativeUIToolkit
Requires:	%{name}-sub2-domain_API-Network-Connection
Suggests:	%{name}-sub2-domain_API-Maps-Here_Plugin
Suggests:	%{name}-sub2-domain_API-Maps-Mapzen_Plugin

%description sub2-domain_API-Maps-Maps_Service
This block supports Maps Service.<br>
At least one of HERE or MAPZEN plugin must be selected.


%files sub2-domain_API-Maps-Maps_Service
%posttrans sub2-domain_API-Maps-Maps_Service
sed -i 's#\(\"tizen.org/feature/maps\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


%package sub2-domain_API-Maps-Here_Plugin
Summary:    Here_Plugin
Requires:	maps-plugin-here
Requires:	heremaps-uc-launcher
Requires:	org.tizen.heremaps-uc

%description sub2-domain_API-Maps-Here_Plugin
This block supports HERE Plugin.


%files sub2-domain_API-Maps-Here_Plugin

%package sub2-domain_API-Maps-Mapzen_Plugin
Summary:    Mapzen_Plugin
Requires:	maps-plugin-mapzen

%description sub2-domain_API-Maps-Mapzen_Plugin
This block supports MAPZEN plugin.

%files sub2-domain_API-Maps-Mapzen_Plugin

###############
## Messaging ##
###############
%package sub1-domain_API-Messaging
Summary:	Messaging API Group
Suggests: %{name}-sub2-domain_API-Messaging-Email
Suggests: %{name}-sub2-domain_API-Messaging-Messages
Suggests: %{name}-sub2-domain_API-Messaging-Push
%description sub1-domain_API-Messaging
Tizen block (set of packages) for Group of domain API-Messaging
%files sub1-domain_API-Messaging

%package sub2-domain_API-Messaging-Email
Summary:Email
Requires:capi-messaging-email
Requires:email-service
Suggests:%{name}-sub1-domain_API-Telephony
Suggests:%{name}-sub2-domain_API-Network-WiFi

%description sub2-domain_API-Messaging-Email
This block supports managing Email service.<br>
Telephony or WiFi should be selected to use Email service.<br>
Telephony would be available when Telephony is selected.<br>
Wifi would be available when Wifi is selected.


%files sub2-domain_API-Messaging-Email

%package sub2-domain_API-Messaging-Messages
Summary:Messages
Requires:capi-messaging-messages
Requires:msg-service
Requires:msg-manager
Requires:sms-plugin
Requires:mms-plugin
Requires:%{name}-sub1-domain_API-Telephony

%description sub2-domain_API-Messaging-Messages
This block supports managing Message service.

%files sub2-domain_API-Messaging-Messages

%package sub2-domain_API-Messaging-Push
Summary:	Push Client
Requires:	libpush
Suggests:	%{name}-sub1-domain_API-Telephony
Suggests:	%{name}-sub2-domain_API-Network-WiFi
%description sub2-domain_API-Messaging-Push
This block supports transferation push messages between devices and server. Also, to use this feature, either Data Network or Wi-Fi connection is required. Once you check the Push Client before Image Creation, it will be included the image. For this, either Data Network or Wi-Fi connection is required.
%files sub2-domain_API-Messaging-Push
%posttrans sub2-domain_API-Messaging-Push
sed -i 's#\(\"tizen.org/feature/network.push\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

################
## Multimedia ##
################
%package sub1-domain_API-Multimedia
Summary:	Multimedia API Group
Suggests: %{name}-sub2-domain_API-Multimedia-Audio_IO
Suggests: %{name}-sub2-domain_API-Multimedia-Camera
Suggests: %{name}-sub2-domain_API-Multimedia-Image_Util
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Codec
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Controller
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Demuxer
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Muxer
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Streamer
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Tool
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Vision_Barcode
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Vision_Face
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Vision_Image
Suggests: %{name}-sub2-domain_API-Multimedia-Media_Vision_Surveillance
Suggests: %{name}-sub2-domain_API-Multimedia-Metadata_Editor
Suggests: %{name}-sub2-domain_API-Multimedia-Metadata_Extractor
Suggests: %{name}-sub2-domain_API-Multimedia-OpenAL
Suggests: %{name}-sub2-domain_API-Multimedia-Player
Suggests: %{name}-sub2-domain_API-Multimedia-Radio
Suggests: %{name}-sub2-domain_API-Multimedia-Recorder
Suggests: %{name}-sub2-domain_API-Multimedia-Screen_Mirroring
Suggests: %{name}-sub2-domain_API-Multimedia-Sound_Manager
Suggests: %{name}-sub2-domain_API-Multimedia-Stream_Recorder
Suggests: %{name}-sub2-domain_API-Multimedia-Thumbnail_Util
Suggests: %{name}-sub2-domain_API-Multimedia-Tone_Player
Suggests: %{name}-sub2-domain_API-Multimedia-Video_Util
Suggests: %{name}-sub2-domain_API-Multimedia-WAV_Player
Suggests: %{name}-sub2-domain_API-Multimedia-libEXIF
Suggests: %{name}-sub2-domain_API-Multimedia-AudioCore
Suggests: %{name}-sub2-domain_API-Multimedia-Configuration
%description sub1-domain_API-Multimedia
Tizen block (set of packages) for Group of domain API-Multimedia
%files sub1-domain_API-Multimedia

%package sub2-domain_API-Multimedia-Audio_IO
Summary:    Audio_IO

# packakge list
Requires:capi-media-audio-io
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore

%description sub2-domain_API-Multimedia-Audio_IO
AudioIO provides functions to play/record raw PCM audio data.

%files sub2-domain_API-Multimedia-Audio_IO

%package sub2-domain_API-Multimedia-Camera
Summary:    Camera
Requires:capi-media-camera
Requires:mmsvc-camera
Requires:mused
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore
Requires:%{name}-sub2-domain_API-Multimedia-Configuration
Requires:%{name}-sub2-domain_API-UI-TBM_Surface

#camera
Suggests:gst-plugins-camera-n4
Suggests:gst-plugins-good

%description sub2-domain_API-Multimedia-Camera
The camera provides the ability to capture photos and support setting up notifications for state changes of capturing, previewing, focusing, information about resolution and binary format and functions for picture manipulations like sepia negative and many more.
OPTIONAL : You should choose packages depends on target and hardware.
First, Check config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1).
Second, check camera plugin depends on target.
TM1:camera-interface-sprd-sc7730, gst-plugins-camera-sc7730s, gst-plugins-good.
TM2(n4):gst-plugins-camera-n4, gst-plugins-good

%files sub2-domain_API-Multimedia-Camera

%package sub2-domain_API-Multimedia-Image_Util
Summary:    Image_Util
Requires: capi-media-image-util
%description sub2-domain_API-Multimedia-Image_Util
Enabling Image Util and it is possible to use Image Util API
%files sub2-domain_API-Multimedia-Image_Util

%package sub2-domain_API-Multimedia-Media_Codec
Summary:    Media_Codec
Requires: capi-media-codec
Requires: gst-libav
Requires: gst-plugins-bad
Requires: %{name}-sub2-domain_API-UI-TBM_Surface
Requires: %{name}-sub2-domain_API-Multimedia-Configuration

Suggests: gst-omx
Suggests: libomxil-e54xx

#TW1
Suggests: libomxil-e3250-v4l2
#TW2
Suggests: libomxil-e7270-v4l2


%description sub2-domain_API-Multimedia-Media_Codec
Enabling Media Codec and it is possible to user Media Codec API
About OPTIONAL selection:<br>
You should choose packages depends on target and hardware.<br>
Select the config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1).<br>
TM2(n4) : libomxil-e54xx <br>
TW1 : libomxil-e3250-v4l2 <br>
TW2 : libomxil-e7270-v4l2 <br>
XU3 : libomxil-e54xx <br>
AT5/10 : libomxil-e54xx <br>
ARTIK710 : libomxil-e54xx <br>
%files sub2-domain_API-Multimedia-Media_Codec

%package sub2-domain_API-Multimedia-Media_Controller
Summary:    Media_Controller
Requires: capi-media-controller
Requires: mediacontroller
%description sub2-domain_API-Multimedia-Media_Controller
Enabling Media Controller and it is possible to use Media Controller API
%files sub2-domain_API-Multimedia-Media_Controller

%package sub2-domain_API-Multimedia-Media_Demuxer
Summary:    Media_Demuxer
Requires: capi-mediademuxer
Requires: gst-plugins-bad
Requires: gst-plugins-good
%description sub2-domain_API-Multimedia-Media_Demuxer
Enabling Media Demuxer and it is possible to use Media Demuxer API <br>
Media Demuxer API provides functions for demuxing media data <br>
%files sub2-domain_API-Multimedia-Media_Demuxer


%package sub2-domain_API-Multimedia-Media_Muxer
Summary:    Media_Muxer
Requires: capi-mediamuxer
Requires: gst-plugins-bad
Requires: gst-plugins-good
Requires: gst-plugins-tizen
%description sub2-domain_API-Multimedia-Media_Muxer
Enabling Media Muxer and it is possible to use Media Muxer API <br>
Media Muxer API provides functions for muxing media data <br>
%files sub2-domain_API-Multimedia-Media_Muxer

%package sub2-domain_API-Multimedia-Media_Streamer
Summary:  Media_Streamer
Requires: capi-media-streamer
Requires: gst-plugins-good
Requires: gst-plugins-bad
Requires: gst-plugins-ugly
Requires: gst-plugins-tizen
Requires: gst-libav
Requires: libmm-utility
Requires: %{name}-sub2-domain_API-Multimedia-AudioCore
Requires: %{name}-sub2-domain_API-Multimedia-Configuration

# required building block for video rendering
Requires: %{name}-sub2-domain_API-System-Storage
Requires: %{name}-sub2-domain_API-UI-TBM_Surface
Requires: %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit
Requires: %{name}-sub2-domain_API-Network-WiFi

%description sub2-domain_API-Multimedia-Media_Streamer
This block supports constructing the custom player and it gives the ability to controlling playback attributes.<br>
About OPTIONAL selection:<br>
You should choose packages depends on target and hardware.<br>
First, Select the config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1).<br>
Second, Select the audio HAL depends on target. <br>

%files sub2-domain_API-Multimedia-Media_Streamer


%package sub2-domain_API-Multimedia-Media_Tool
Summary:    Media_Tool
Requires: capi-media-tool
Requires: %{name}-sub2-domain_API-UI-TBM_Surface
%description sub2-domain_API-Multimedia-Media_Tool
Enabling Media Tool and it is possible to user Media Tool API
%files sub2-domain_API-Multimedia-Media_Tool

%package sub2-domain_API-Multimedia-Media_Vision_Barcode
Summary:    Media_Vision_Barcode
Requires: capi-media-vision-barcode

%description sub2-domain_API-Multimedia-Media_Vision_Barcode
MediaVision Barcode API to generate or detect Barcode/QRcode

%files sub2-domain_API-Multimedia-Media_Vision_Barcode
%posttrans sub2-domain_API-Multimedia-Media_Vision_Barcode
sed -i 's#\(\"tizen.org/feature/vision.barcode_detection\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/vision.barcode_generation\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Multimedia-Media_Vision_Face
Summary:    Media_Vision_Face
Requires: capi-media-vision-face

%description sub2-domain_API-Multimedia-Media_Vision_Face
MediaVision Face API to detect, recognize, or track faces on images

%files sub2-domain_API-Multimedia-Media_Vision_Face
%posttrans sub2-domain_API-Multimedia-Media_Vision_Face
sed -i 's#\(\"tizen.org/feature/vision.face_recognition\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Multimedia-Media_Vision_Image
Summary:    Media_Vision_Image
Requires: capi-media-vision-image

%description sub2-domain_API-Multimedia-Media_Vision_Image
MediaVision Image API to recognize and track planar objects on an image

%files sub2-domain_API-Multimedia-Media_Vision_Image
%posttrans sub2-domain_API-Multimedia-Media_Vision_Image
sed -i 's#\(\"tizen.org/feature/vision.image_recognition\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


%package sub2-domain_API-Multimedia-Media_Vision_Surveillance
Summary:    Media_Vision_Surveillance
Requires: capi-media-vision-surveillance

%description sub2-domain_API-Multimedia-Media_Vision_Surveillance
MediaVision Surveillance API to enable video surveillance by subscribing events,
person (dis)appearance, recognized face, movement changes on videos.

%files sub2-domain_API-Multimedia-Media_Vision_Surveillance
%posttrans sub2-domain_API-Multimedia-Media_Vision_Surveillance
sed -i 's#\(\"tizen.org/feature/vision.face_recognition\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/vision.image_recognition\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Multimedia-Metadata_Editor
Summary:    Metadata_Editor
Requires: capi-media-metadata-editor
%description sub2-domain_API-Multimedia-Metadata_Editor
Enabling Metadata Editor and it is possible to use Metadata Editor API
%files sub2-domain_API-Multimedia-Metadata_Editor

%package sub2-domain_API-Multimedia-Metadata_Extractor
Summary:    Metadata_Extractor
Requires: capi-media-metadata-extractor
%description sub2-domain_API-Multimedia-Metadata_Extractor
Enabling Metadata Extractor and it is possible to use Metadata Extractor API
%files sub2-domain_API-Multimedia-Metadata_Extractor

%package sub2-domain_API-Multimedia-OpenAL
Summary:    OpenAL

# packakge list
Requires:openal-soft
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore

Suggests:freealut

%description sub2-domain_API-Multimedia-OpenAL
OpenAL is designed for efficient rendering of 3-D positional audio.

%files sub2-domain_API-Multimedia-OpenAL

%package sub2-domain_API-Multimedia-Player
Summary:  Player
Requires: capi-media-player
Requires: mmsvc-player
Requires: gst-plugins-good
Requires: gst-plugins-bad
Requires: gst-plugins-ugly
Requires: gst-plugins-tizen
Requires: gst-libav
Requires: %{name}-sub2-domain_API-Multimedia-AudioCore
Requires: %{name}-sub2-domain_API-Multimedia-Configuration

# required building block for video rendering
Requires: %{name}-sub2-domain_API-System-Storage
Requires: %{name}-sub2-domain_API-UI-TBM_Surface
Requires: %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit
Requires: %{name}-sub2-domain_API-Network-WiFi

# target specific package list
Suggests: gst-omx
Suggests: libomxil-e54xx
Suggests: libomxil-e3250-v4l2
Suggests: libomxil-e7270-v4l2
Suggests: libomxil-vc4


%description sub2-domain_API-Multimedia-Player
This block supports playing multimedia content. Content can be played from a file, from the network, or from memory. <br>
It gives the ability to controlling media playback attributes, perform various status queries, and control the display. <br>
About OPTIONAL selection: <br>
You should choose packages depends on target and hardware. <br>
First, You have to select the gst-omx package except TM1 target to use hardware video decoder. <br>
Second, Select the config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1). <br>
Third, Select the audio HAL and libomx package depends on target. <br>
TM2(n4) : libomxil-e54xx <br>
TW1 : libomxil-e3250-v4l2 <br>
TW2 : libomxil-e7270-v4l2 <br>
XU3 : libomxil-e54xx <br>
RPI3 : libomxil-vc4 <br>
AT5/10 : libomxil-e54xx <br>
ARTIK710 : libomxil-e54xx <br>
%files sub2-domain_API-Multimedia-Player


%package sub2-domain_API-Multimedia-Radio
Summary:    Radio
Requires: capi-media-radio
Requires: %{name}-sub2-domain_API-Multimedia-AudioCore
Requires: %{name}-sub2-domain_API-Multimedia-Configuration

# mobile bluetooth
Suggests: bluez
Suggests: rfkill
Suggests: bluetooth-firmware-sprd-TM1

%description sub2-domain_API-Multimedia-Radio
Enabling Radio and it is possible to use Radio API <br>
Radio API provides functions for accessing the radio <br>
About OPTIONAL selection:<br>
You should choose packages depends on target and hardware.<br>
TM1: bluez, rfkill, bluetoothe-firmware-sprd-TM1 <br>

%files sub2-domain_API-Multimedia-Radio
%posttrans sub2-domain_API-Multimedia-Radio
sed -i 's#\(\"tizen.org/feature/fmradio\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Multimedia-Recorder
Summary:    Recorder
Requires:capi-media-recorder
Requires:mmsvc-recorder
Requires:mused
Requires:gst-plugins-good
Requires:gst-libav
Requires:gst-plugins-tizen
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore
Requires:%{name}-sub2-domain_API-Multimedia-Configuration
Requires:%{name}-sub2-domain_API-UI-TBM_Surface
Requires:%{name}-sub2-domain_API-System-Storage

#codec
Suggests:libomxil-e3250-v4l2
Suggests:libomxil-e7270-v4l2
Suggests:libomxil-e54xx

%description sub2-domain_API-Multimedia-Recorder
The recorder provides the ability to create audio/video recorder, to start, stop and save the recorded content. It also provides methods to get/set various attributes of recorder.
OPTIONAL : You should choose packages depends on target and hardware.
First, Check config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1).
Second, Check audio HAL depends on target.
Third, Check codec depends on target.
gst-plugins-sprdcodec-sc7730
libomxil-e3250-v4l2
libomxil-e7270-v4l2
libomxil-e54xx

%files sub2-domain_API-Multimedia-Recorder

%package sub2-domain_API-Multimedia-Screen_Mirroring
Summary:Screen_Mirroring
Requires:capi-media-screen-mirroring
Requires:libmm-wfd
Requires:gst-rtsp-server
Requires:gst-plugins-tizen
Requires:gst-plugins-base
Requires:gst-plugins-bad
Requires:gst-plugins-good
Requires:gst-plugins-ugly
Requires:gst-libav
Requires:gstreamer
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore
Requires:%{name}-sub2-domain_API-Multimedia-Configuration
Requires:%{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Requires:%{name}-sub2-domain_API-Network-WiFi_Direct
Requires:%{name}-sub2-domain_API-Network-WiFi_Manager
Requires:%{name}-sub2-domain_API-UI-TBM_Surface

%description sub2-domain_API-Multimedia-Screen_Mirroring
Screen Mirroiring provides the ability to connect to and disconnect from a screen mirroring source, start, pause, and resume the screen mirroring as a 'SINK' (source: Stream sender, sink:Stream receiver). It follows 'Miracast standard'. OPTIONAL : You should choose packages depends on target and hardware. First, Check config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1). Second, check audio HAL depends on target.
%files sub2-domain_API-Multimedia-Screen_Mirroring

%package sub2-domain_API-Multimedia-Sound_Manager
Summary:    Sound_Manager

# packakge list
Requires:capi-media-sound-manager
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore

%description sub2-domain_API-Multimedia-Sound_Manager
Sound_Manager provides functions to get and set of sound parameters such as volume,device and focus operations.

%files sub2-domain_API-Multimedia-Sound_Manager

%package sub2-domain_API-Multimedia-Stream_Recorder
Summary:    Stream Recorder
Requires:capi-media-streamrecorder
Requires:libmm-streamrecorder
Requires:gst-plugins-tizen
Requires:gst-plugins-base
Requires:gst-plugins-bad
Requires:gst-plugins-good
Requires:gst-plugins-ugly
Requires:gst-libav
Requires:gstreamer
Requires:%{name}-sub2-domain_API-UI-TBM_Surface
Requires:%{name}-sub2-domain_API-System-Storage
Requires:%{name}-sub2-domain_API-Multimedia-Configuration

%description sub2-domain_API-Multimedia-Stream_Recorder
StreamRecorder provides APIs for raw image and audio data recording.

%files sub2-domain_API-Multimedia-Stream_Recorder

%package sub2-domain_API-Multimedia-Thumbnail_Util
Summary:    Thumbnail_Util
Requires: capi-media-thumbnail-util
Requires: media-server
Requires: media-thumbnail-server
%description sub2-domain_API-Multimedia-Thumbnail_Util
Enabling Thumbnail Util and it is possible to use Thumbnail Util API
%files sub2-domain_API-Multimedia-Thumbnail_Util

%package sub2-domain_API-Multimedia-Tone_Player
Summary:    Tone_Player

# packakge list
Requires:capi-media-tone-player
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore

%description sub2-domain_API-Multimedia-Tone_Player
Tone_Player provides functions for playing the DTMF or predefined tone.

%files sub2-domain_API-Multimedia-Tone_Player

%package sub2-domain_API-Multimedia-Video_Util
Summary:    Video_Util
Requires: capi-media-video-util
Requires: gst-plugins-bad
Requires: gst-plugins-good
Requires: gst-plugins-ugly
Requires: gst-plugins-tizen
Requires: gst-libav
%description sub2-domain_API-Multimedia-Video_Util
Enabling Video Util and it is possible to use Video Util API <br>
Video Util API provides fuctions that transcode a media file <br>

%files sub2-domain_API-Multimedia-Video_Util
%posttrans sub2-domain_API-Multimedia-Video_Util
sed -i 's#\(\"tizen.org/feature/multimedia.transcoder\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Multimedia-WAV_Player
Summary:    WAV_Player

# packakge list
Requires:capi-media-wav-player
Requires:%{name}-sub2-domain_API-Multimedia-AudioCore

%description sub2-domain_API-Multimedia-WAV_Player
Wav_Player provides functions for playing the waveform audio file format(*.wav,*.ogg).

%files sub2-domain_API-Multimedia-WAV_Player

%package sub2-domain_API-Multimedia-libEXIF
Summary:    libEXIF
Requires:libexif

%description sub2-domain_API-Multimedia-libEXIF
The libEXIF provides the ability to reads and writes EXIF metainformation from and to image files.

%files sub2-domain_API-Multimedia-libEXIF

%package sub2-domain_API-Multimedia-AudioCore
Summary: AudioCore
Requires:pulseaudio-modules-tizen
Requires: %{name}-sub2-domain_API-Multimedia-Configuration

Suggests:pulseaudio-module-bluetooth

#Utilities
Suggests:alsa-utils
Suggests:pulseaudio-utils

#TM1
Suggests:audio-hal-sc7727
Suggests:audio-config-sc-TM1-sc7730

#TM2
Suggests:audio-hal-wm5110
Suggests:alsa-ucm-data-wm5110

#TW1
Suggests:audio-hal-wm1831
Suggests:audio-config-wm1831-orbis

#TW2
Suggests:audio-hal-wm1831-tw2
Suggests:audio-config-wm1831-tw2

#ARTIK 5/10
Suggests:audio-hal-ak4953
Suggests:alsa-ucm-data-ak4953
#ARTIK 710
Suggests:audio-hal-alc5658
Suggests:alsa-ucm-data-alc5658

#RPI3
Suggests:audio-hal-bcm2837

%description sub2-domain_API-Multimedia-AudioCore
AudioCore block includes core audio modules including pulseaudio and essential pulseaudio-modules.<br>
Following optional H/W packages must be selected based on actual target.<br>
TM1 : audio-hal-sc7727, audio-config-sc-TM1-sc7730<br>
TM2 : audio-hal-wm5110, alsa-ucm-data-wm5110<br>
TW1 : audio-hal-wm1831, audio-config-wm1831-orbis<br>
TW2 : audio-hal-wm1831-tw2, audio-config-wm1831-tw2<br>
U3/XU3 : audio-hal-max98090, alsa-ucm-data-max98090<br>
ARTIK 5/10 : audio-hal-ak4953, alsa-ucm-data-ak4953<br>
ARTIK 710 : audio-hal-alc5658, alsa-ucm-data-alc5658<br>
RPI3 : audio-hal-bcm2837, mmfw-sysconf-target-rpi3<br>

%files sub2-domain_API-Multimedia-AudioCore

%package sub2-domain_API-Multimedia-Configuration
Summary: Configuration

Suggests:mmfw-sysconf-target-tm1
Suggests:mmfw-sysconf-target-n4
Suggests:mmfw-sysconf-target-tw1
Suggests:mmfw-sysconf-target-tw2
Suggests:mmfw-sysconf-target-artik10
Suggests:mmfw-sysconf-target-rpi3
Suggests:mmfw-sysconf-target-u3

%description sub2-domain_API-Multimedia-Configuration
Multimedia Framework system configuration package including ini, conf and etc files.

%files sub2-domain_API-Multimedia-Configuration

#############
## Netowrk ##
#############
%package sub1-domain_API-Network
Summary:	Network API Group
Suggests: %{name}-sub2-domain_API-Network-Bluetooth_BREDR
Suggests: %{name}-sub2-domain_API-Network-Bluetooth_Call_Audio
Suggests: %{name}-sub2-domain_API-Network-Bluetooth_Media_Audio
Suggests: %{name}-sub2-domain_API-Network-Bluetooth_Transfer
Suggests: %{name}-sub2-domain_API-Network-Bluetooth_LE
Suggests: %{name}-sub2-domain_API-Network-ASP
Suggests: %{name}-sub2-domain_API-Network-Connection
Suggests: %{name}-sub2-domain_API-Network-Curl
Suggests: %{name}-sub2-domain_API-Network-DNSSD
Suggests: %{name}-sub2-domain_API-Network-HTTP
Suggests: %{name}-sub2-domain_API-Network-IoTCon
Suggests: %{name}-sub2-domain_API-Network-MTP
Suggests: %{name}-sub2-domain_API-Network-NFC
Suggests: %{name}-sub2-domain_API-Network-SSDP
Suggests: %{name}-sub2-domain_API-Network-STC
Suggests: %{name}-sub2-domain_API-Network-Smartcard
Suggests: %{name}-sub2-domain_API-Network-VPN_Service
Suggests: %{name}-sub2-domain_API-Network-WiFi
Suggests: %{name}-sub2-domain_API-Network-WiFi_Manager
Suggests: %{name}-sub2-domain_API-Network-WiFi_Direct
%description sub1-domain_API-Network
Tizen block (set of packages) for Group of domain API-Network
%files sub1-domain_API-Network



%package sub2-domain_API-Network-Bluetooth_BREDR
Summary:    Bluetooth_BREDR

Requires: capi-network-bluetooth
Requires: bluetooth-frwk-service
Requires: bluetooth-frwk-core
Requires: libbluetooth
Requires: bluez
Requires: bluetooth-tools

#BREDR only
Suggests: bluez-extension-bredr

#Firmware
Suggests: bluetooth-firmware-bcm
Suggests: bluetooth-firmware-bcm-artik
Suggests: bluetooth-firmware-bcm-exynos3250
Suggests: bluetooth-firmware-bcm-exynos7270
Suggests: bluetooth-firmware-sprd-TM1

#Profiles
Suggests: bluetooth-frwk-profile_common
Suggests: bluetooth-frwk-profile_mobile
Suggests: bluetooth-frwk-profile_wearable
Suggests: bluetooth-frwk-profile_tv
Suggests: bluetooth-frwk-profile_ivi
Suggests: bluetooth-tools-no-firmware
Suggests: bluetooth-tools-profile_common
Suggests: bluetooth-tools-profile_ivi
Suggests: bluetooth-tools-profile_mobile
Suggests: bluetooth-tools-profile_wearable
Suggests: bluez-profile_common
Suggests: bluez-profile_tv
Suggests: bluez-profile_wearable

#Headed/Headless
Suggests: bluetooth-frwk-plugin-headed
Suggests: org.tizen.bt-syspopup
Suggests: org.tizen.bt-syspopup-profile_wearable
Suggests: org.tizen.bt-syspopup-profile_common

%description sub2-domain_API-Network-Bluetooth_BREDR
Enabling Bluetooth BREDR and it is possible to Bluetooth BREDR API<br>
[Select Packages]<br>
1. Firmware<br>
- TM1 : bluetooth-firmware-sprd-TM1<br>
- TM2 : bluetooth-firmware-bcm<br>
- TW1 : bluetooth-firmware-bcm-exynos3250<br>
- TW2 : bluetooth-firmware-bcm-exynos7270<br>
- Artik : bluetooth-firmware-bcm-artik<br>
2. BREDR only<br>
- bluez-extension-bredr<br>
3. Profiles<br>
- mobile : bluetooth-frwk-profile_mobile, bluetooth-tools-profile_mobile, bluez-profile_common<br>
- wearable : bluetooth-frwk-profile_wearable, bluetooth-tools-profile_wearable, bluez-profile_wearable<br>
- common : bluetooth-frwk-profile_common, bluetooth-tools-profile_common, bluez-profile_common<br>
- tv : bluetooth-frwk-profile_tv, bluetooth-tools-profile_common, bluez-profile_tv<br>
- ivi : bluetooth-frwk-profile_ivi, bluetooth-tools-profile_ivi, bluez-profile_common<br>
4. Headed device<br>
- wearable : bluetooth-frwk-plugin-headed, org.tizen.bt-syspopup, org.tizen.bt-syspopup-profile_wearable<br>
- not wearable : bluetooth-frwk-plugin-headed, org.tizen.bt-syspopup, org.tizen.bt-syspopup-profile_common
%files sub2-domain_API-Network-Bluetooth_BREDR
%posttrans sub2-domain_API-Network-Bluetooth_BREDR
sed -i 's#\(\"tizen.org/feature/network.bluetooth\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.bluetooth.health\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.bluetooth.hid\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.bluetooth.hid_device\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-Bluetooth_Call_Audio
Summary:    Bluetooth_Call_Audio

Requires: %{name}-sub2-domain_API-Network-Bluetooth_BREDR
Requires: bluetooth-agent

#Profiles
Suggests: bluetooth-agent-profile_common
Suggests: bluetooth-agent-profile_ivi
Suggests: bluetooth-agent-profile_wearable

%description sub2-domain_API-Network-Bluetooth_Call_Audio
Enabling Bluetooth Call Audio functionality<br>
[Select Packages]<br>
1. Profiles<br>
- mobile : bluetooth-agent-profile_common<br>
- ivi : bluetooth-agent-profile_ivi<br>
- wearable : bluetooth-agent-profile_wearable
%files sub2-domain_API-Network-Bluetooth_Call_Audio
%posttrans sub2-domain_API-Network-Bluetooth_Call_Audio
sed -i 's#\(\"tizen.org/feature/network.bluetooth.audio.call\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-Bluetooth_Media_Audio
Summary:    Bluetooth_Media_Audio

Requires: %{name}-sub2-domain_API-Network-Bluetooth_BREDR
Requires: sbc
Requires: pulseaudio-module-bluetooth

%description sub2-domain_API-Network-Bluetooth_Media_Audio
Enabling Bluetooth Media Audio functionality

%files sub2-domain_API-Network-Bluetooth_Media_Audio
%posttrans sub2-domain_API-Network-Bluetooth_Media_Audio
sed -i 's#\(\"tizen.org/feature/network.bluetooth.audio.media\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.bluetooth.audio.controller\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-Bluetooth_Transfer
Summary:    Bluetooth_Transfer

Requires: %{name}-sub2-domain_API-Network-Bluetooth_BREDR
Requires: obexd

%description sub2-domain_API-Network-Bluetooth_Transfer
Enabling Bluetooth Transfer functionality(OPP, PBAP)

%files sub2-domain_API-Network-Bluetooth_Transfer
%posttrans sub2-domain_API-Network-Bluetooth_Transfer
sed -i 's#\(\"tizen.org/feature/network.bluetooth.opp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.bluetooth.phonebook.client\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-Bluetooth_LE
Summary:    Bluetooth_LE

Requires: capi-network-bluetooth
Requires: bluetooth-frwk-service
Requires: bluetooth-frwk-core
Requires: libbluetooth
Requires: bluez
Requires: bluetooth-tools
Requires: bluez-extension-le

#Firmware
Suggests: bluetooth-firmware-bcm
Suggests: bluetooth-firmware-bcm-artik
Suggests: bluetooth-firmware-bcm-exynos3250
Suggests: bluetooth-firmware-bcm-exynos7270
Suggests: bluetooth-firmware-sprd-TM1

#Profiles
Suggests: bluetooth-frwk-profile_common
Suggests: bluetooth-frwk-profile_mobile
Suggests: bluetooth-frwk-profile_wearable
Suggests: bluetooth-frwk-profile_tv
Suggests: bluetooth-frwk-profile_ivi
Suggests: bluetooth-tools-no-firmware
Suggests: bluetooth-tools-profile_common
Suggests: bluetooth-tools-profile_ivi
Suggests: bluetooth-tools-profile_mobile
Suggests: bluetooth-tools-profile_wearable
Suggests: bluez-profile_common
Suggests: bluez-profile_tv
Suggests: bluez-profile_wearable


#Headed/Headless
Suggests: bluetooth-frwk-plugin-headed
Suggests: org.tizen.bt-syspopup
Suggests: org.tizen.bt-syspopup-profile_wearable
Suggests: org.tizen.bt-syspopup-profile_common

%description sub2-domain_API-Network-Bluetooth_LE
Enabling Bluetooth LE Only functionality<br>
[Select Packages]<br>
1. Firmware<br>
- TM1 : bluetooth-firmware-sprd-TM1<br>
- TM2 : bluetooth-firmware-bcm<br>
- TW1 : bluetooth-firmware-bcm-exynos3250<br>
- TW2 : bluetooth-firmware-bcm-exynos7270<br>
- Artik : bluetooth-firmware-bcm-artik<br>
2. Profiles<br>
- mobile : bluetooth-frwk-profile_mobile, bluetooth-tools-profile_mobile, bluez-profile_common<br>
- wearable : bluetooth-frwk-profile_wearable, bluetooth-tools-profile_wearable, bluez-profile_wearable<br>
- common : bluetooth-frwk-profile_common, bluetooth-tools-profile_common, bluez-profile_common<br>
- tv : bluetooth-frwk-profile_tv, bluetooth-tools-profile_common, bluez-profile_tv<br>
- ivi : bluetooth-frwk-profile_ivi, bluetooth-tools-profile_ivi, bluez-profile_common<br>
3. Headed device<br>
- wearable : bluetooth-frwk-plugin-headed, org.tizen.bt-syspopup, org.tizen.bt-syspopup-profile_wearable<br>
- not wearable : bluetooth-frwk-plugin-headed, org.tizen.bt-syspopup, org.tizen.bt-syspopup-profile_common
%files sub2-domain_API-Network-Bluetooth_LE
%posttrans sub2-domain_API-Network-Bluetooth_LE
sed -i 's#\(\"tizen.org/feature/network.bluetooth.le\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.bluetooth.ipsp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-ASP
Summary:    ASP
Requires:	capi-network-asp
Requires:	asp-manager
Requires:	%{name}-sub2-domain_API-Network-DNSSD
Suggests:   %{name}-sub2-domain_API-Network-WiFi_Direct
%description sub2-domain_API-Network-ASP
Tizen block (set of packages) for API sets of domain API-Network-ASP <br>
To use this feature, either Data Network or Wi-Fi connection is required <br>
and you need the package either DNSSD or WiFi Direct. A default is DNSSD.
%files sub2-domain_API-Network-ASP
%posttrans sub2-domain_API-Network-ASP
sed -i 's#\(\"tizen.org/feature/network.asp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-Connection
Summary:    Connection
Requires:	capi-network-connection
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-Connection
Tizen block (set of packages) for API sets of domain API-Network-Connection <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-Connection

%package sub2-domain_API-Network-Curl
Summary:    Curl
Requires:	libcurl
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-Curl
Tizen block (set of packages) for API sets of domain API-Network-Curl <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-Curl

%package sub2-domain_API-Network-DNSSD
Summary:    DNS-SD
Requires:	libnsd-dns-sd
Requires:	mdnsresponder
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-DNSSD
Tizen block (set of packages) for API sets of domain API-Network-DNSSD <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-DNSSD
%posttrans sub2-domain_API-Network-DNSSD
sed -i 's#\(\"tizen.org/feature/network.service_discovery.dnssd\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-HTTP
Summary:    HTTP
Requires:	capi-network-http
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-HTTP
Tizen block (set of packages) for API sets of domain API-Network-HTTP <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-HTTP

%package sub2-domain_API-Network-IoTCon
Summary:    IoTCon
Requires: iotcon
Requires: %{name}-sub2-domain_API-Network-WiFi
%description sub2-domain_API-Network-IoTCon
This block supports Tizen IoT Connectivity Service & Library(Client) based on Iotivity. <br>
It supports resource management, remote resource management, CRUDN request/response and resource representation. <br>
To use this feature, Wi-Fi connection is required.
%files sub2-domain_API-Network-IoTCon

%package sub2-domain_API-Network-MTP
Summary:    MTP
Requires: capi-network-mtp
Requires: mtp-initiator
Requires: libmtp
%description sub2-domain_API-Network-MTP
Enabling MTP(Media Transfer Protocol) Initiator and it is possible to user MTP API
%files sub2-domain_API-Network-MTP
%posttrans sub2-domain_API-Network-MTP
sed -i 's#\(\"tizen.org/feature/network.mtp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-NFC
Summary:    NFC
Requires: capi-network-nfc
Requires: nfc-common-lib
Requires: nfc-manager
%description sub2-domain_API-Network-NFC
Enabling NFC Manager and it is possible to user NFC API
%files sub2-domain_API-Network-NFC
%posttrans sub2-domain_API-Network-NFC
sed -i 's#\(\"tizen.org/feature/network.nfc\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-SSDP
Summary:    SSDP
Requires:	libnsd-ssdp
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-SSDP
Tizen block (set of packages) for API sets of domain API-Network-SSDP <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-SSDP
%posttrans sub2-domain_API-Network-SSDP
sed -i 's#\(\"tizen.org/feature/network.service_discovery.ssdp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-STC
Summary:    STC
Requires:	capi-network-stc
Requires:	stc-manager
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
Suggests:	%{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-STC
Tizen block (set of packages) for API sets of domain API-Network-STC <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-STC
%posttrans sub2-domain_API-Network-STC
sed -i 's#\(\"tizen.org/feature/network.traffic_control\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-Smartcard
Summary:    Smartcard
Requires: capi-network-smartcard
Requires: smartcard-service-common
Requires: smartcard-service
Suggests: smartcard-plugin-nfc
Suggests: smartcard-plugin-uicc
Suggests: %{name}-sub2-domain_API-Network-NFC
Suggests: %{name}-sub1-domain_API-Telephony
%description sub2-domain_API-Network-Smartcard
Enabling Smartcard(Secure Element) Manager and it is possible to user Smartcard API. <br>
In case of USIM device, 'smartcard-plugin-uicc' and 'sub1-domain_API-Telephony' have to be chosen. <br>
In case of embedded SE, 'smartcard-plugin-nfc' and 'sub2-domain_API-Network-NFC' have to be chosen.
%files sub2-domain_API-Network-Smartcard
%posttrans sub2-domain_API-Network-Smartcard
sed -i 's#\(\"tizen.org/feature/network.secure_element\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.secure_element.ese\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.secure_element.uicc\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-VPN_Service
Summary:    VPN_Service
Requires:	capi-vpnsvc
#Requires:	net-config
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager
%description sub2-domain_API-Network-VPN_Service
Tizen block (set of packages) for API sets of domain API-Network-VPN_Service <br>
To use this feature, either Data Network or Wi-Fi connection is required. <br>
%files sub2-domain_API-Network-VPN_Service
%posttrans sub2-domain_API-Network-VPN_Service
sed -i 's#\(\"tizen.org/feature/network.vpn\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-WiFi
Summary:    WiFi
Requires:	capi-network-wifi
Requires:	net-config
Requires:	connman
Requires:	wpa_supplicant

#Profiles
Suggests:	wpa_supplicant-extension-TM1
Suggests:	wpa_supplicant-extension-TM2
Suggests:	wpa_supplicant-profile_common
Suggests:	wpa_supplicant-profile_tv
Suggests:	net-config-profile_tv
Suggests:	connman-extension-ivi
Suggests:	connman-extension-tv

#Headed/Headless
Suggests:	net-config-plugin-headed

%description sub2-domain_API-Network-WiFi
Tizen block (set of packages) for API sets of domain API-Network-WiFi <br>
TM1 target (headed setting UI) : wpa_supplicant-extension-TM1, net-config-plugin-headed <br>
TM1 target (headless) : wpa_supplicant-extension-TM1 <br>
TM2 target (headed settgin UI) : wpa_supplicant-extension-TM2, net-config-plugin-headed <br>
TM2 target (headless) : wpa_supplicant-extension-TM2 <br>
TW1 target (headed setting UI) : wpa_supplicant-profile_common, net-config-plugin-headed <br>
TW1 target (headless) : wpa_supplicant-profile_common <br>
TW2 target (headed setting UI) : wpa_supplicant-profile_common, net-config-plugin-headed <br>
TW2 target (headless): wpa_supplicant-profile_common <br>
tv profile : wpa_supplicant-profile_common, net-config-profile_tv, connman-extension-tv <br>
ivi profile : wpa_supplicant-profile_common, connman-extension-ivi <br>
common profile : wpa_supplicant-profile_common <br>
%files sub2-domain_API-Network-WiFi
%posttrans sub2-domain_API-Network-WiFi
sed -i 's#\(\"tizen.org/feature/network.wifi\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-WiFi_Manager
Summary:    WiFi_Manager
Requires:	capi-network-wifi
Requires:	net-config
Requires:	connman
Requires:	wpa_supplicant

#Profiles
Suggests:	wpa_supplicant-extension-TM1
Suggests:	wpa_supplicant-extension-TM2
Suggests:	wpa_supplicant-profile_common
Suggests:	wpa_supplicant-profile_tv
Suggests:	net-config-profile_tv
Suggests:	connman-extension-ivi
Suggests:	connman-extension-tv

#Headed/Headless
Suggests:	net-config-plugin-headed

%description sub2-domain_API-Network-WiFi_Manager
Tizen block (set of packages) for API sets of domain API-Network-WiFi_Manager <br>
TM1 target (headed setting UI) : wpa_supplicant-extension-TM1, net-config-plugin-headed <br>
TM1 target (headless) : wpa_supplicant-extension-TM1 <br>
TM2 target (headed settgin UI) : wpa_supplicant-extension-TM2, net-config-plugin-headed <br>
TM2 target (headless) : wpa_supplicant-extension-TM2 <br>
TW1 target (headed setting UI) : wpa_supplicant-profile_common, net-config-plugin-headed <br>
TW1 target (headless) : wpa_supplicant-profile_common <br>
TW2 target (headed setting UI) : wpa_supplicant-profile_common, net-config-plugin-headed <br>
TW2 target (headless): wpa_supplicant-profile_common <br>
tv profile : wpa_supplicant-profile_common, net-config-profile_tv, connman-extension-tv <br>
ivi profile : wpa_supplicant-profile_common, connman-extension-ivi <br>
common profile : wpa_supplicant-profile_common <br>
%files sub2-domain_API-Network-WiFi_Manager
%posttrans sub2-domain_API-Network-WiFi_Manager
sed -i 's#\(\"tizen.org/feature/network.wifi\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-Network-WiFi_Direct
Summary:    WiFi_Direct
Requires:	capi-network-wifi-direct
Requires:	wifi-direct-manager
Requires:	%{name}-sub2-domain_API-Network-WiFi
Requires:	%{name}-sub2-domain_API-Network-WiFi_Manager

#Profiles
Suggests:	wifi-direct-manager-profile_common
Suggests:	wifi-direct-manager-profile_mobile
Suggests:	wifi-direct-manager-profile_tv
Suggests:	wifi-direct-manager-profile_wearable
Suggests:	wifi-direct-manager-extension-TM1

#Plugins
Suggests:	wifi-direct-plugin-wpasupplicant-extension-TM1
Suggests:	wifi-direct-plugin-wpasupplicant-profile_common
Suggests:	wifi-direct-plugin-wpasupplicant-profile_mobile
Suggests:	wifi-direct-plugin-wpasupplicant-profile_tv
Suggests:	wifi-direct-plugin-wpasupplicant-profile_wearable

%description sub2-domain_API-Network-WiFi_Direct
Tizen block (set of packages) for API sets of domain API-Network-WiFiDirect <br>
TM1 target : wifi-direct-manager-extension-TM1, wifi-direct-manager-profile_mobile, wifi-direct-plugin-wpasupplicant-extension-TM1, wifi-direct-plugin-wpasupplicant-profile_mobile <br>
TM2 target : wifi-direct-manager-profile_mobile, wifi-direct-plugin-wpasupplicant-profile_mobile <br>
TW1 target : wifi-direct-manager-profile_wearable, wifi-direct-plugin-wpasupplicant-profile_wearable <br>
TW2 target : wifi-direct-manager-profile_wearable, wifi-direct-plugin-wpasupplicant-profile_wearable <br>
tv profile : wifi-direct-manager-profile_tv, wifi-direct-plugin-wpasupplicant-profile_tv <br>
ivi profile : wifi-direct-manager-profile_common, wifi-direct-plugin-wpasupplicant-profile_common <br>
common profile : Not supported <br>
%files sub2-domain_API-Network-WiFi_Direct
%posttrans sub2-domain_API-Network-WiFi_Direct
sed -i 's#\(\"tizen.org/feature/network.wifi.direct\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.wifi.direct.display\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/network.wifi.direct.service_discovery\".\+>\).\+\(</key>\)#\1false\2#' %{_sysconfdir}/config/model-config.xml

##############
## Security ##
##############
%package sub1-domain_API-Security
Summary:	Security API Group
Suggests: %{name}-sub2-domain_API-Security-CSR
Suggests: %{name}-sub2-domain_API-Security-Device_Policy
Suggests: %{name}-sub2-domain_API-Security-Key_Manager
Suggests: %{name}-sub2-domain_API-Security-OpenSSL
Suggests: %{name}-sub2-domain_API-Security-Privilege_Info
Suggests: %{name}-sub2-domain_API-Security-YACA
%description sub1-domain_API-Security
Tizen block (set of packages) for Group of domain API-Security
%files sub1-domain_API-Security

%package sub2-domain_API-Security-CSR
Summary:    CSR
Requires:   csr-framework
Requires:   libcsr-framework-common
Requires:   libcsr-framework-client
%description sub2-domain_API-Security-CSR
The CSR (Content Screening & Reputation) is an anti malware module. It provides Content Screening Service and Web Protection Service to protect a device and an user.
%files sub2-domain_API-Security-CSR


%package sub2-domain_API-Security-Device_Policy
Summary:    Device_Policy
Requires:   device-policy-manager
Requires:   libdpm
Requires:   libkrate
Requires:   krate
%description sub2-domain_API-Security-Device_Policy
The Device Policy Management framework provides APIs to create security-aware applications that are useful in enterprise setting.
The primary purpose of the DPM(Device Policy Management) framework is to support enterprise applications, which require integration with policies enforced on the device to restrict their operations on some circumstance, such as Exchange ActiveSync or corporate apps. The device policy API supports the policies listed in the below table, and any application can subscribe those policies by registring policy changed callback to the device policy manager.
%files sub2-domain_API-Security-Device_Policy


%package sub2-domain_API-Security-Key_Manager
Summary:    Key_Manager
Requires:   libkey-manager-client
%description sub2-domain_API-Security-Key_Manager
The key manager provides a secure repository protected by Tizen platform for keys, certificates, and sensitive data of users and/or their APPs. Additionally, the key manager provides secure cryptographic operations for non-exportable keys without revealing key values to clients.
%files sub2-domain_API-Security-Key_Manager


%package sub2-domain_API-Security-OpenSSL
Summary:    OpenSSL
Requires:   libopenssl
%description sub2-domain_API-Security-OpenSSL
Tizen block (set of packages) for API sets of domain API-Security_OpenSSL.
Library implementation of secure sockets layer (ssl) and transport layer security (tls) to enable secure internet communications.
%files sub2-domain_API-Security-OpenSSL


%package sub2-domain_API-Security-Privilege_Info
Summary:    Privilege_Info
Requires:   privilege-info
%description sub2-domain_API-Security-Privilege_Info
The Privilege Info provides the display name or description of privileges.
%files sub2-domain_API-Security-Privilege_Info


%package sub2-domain_API-Security-YACA
Summary:    YACA
Requires:   yaca
%description sub2-domain_API-Security-YACA
The YACA (Yet Another Crypto Api) provides a crypto functions such as key management, data integrity, data en/decryption and low-level RSA operations.
%files sub2-domain_API-Security-YACA

############
## Social ##
############
%package sub1-domain_API-Social
Summary:	Social API Group
Suggests: %{name}-sub2-domain_API-Social-Calendar
Suggests: %{name}-sub2-domain_API-Social-Contacts
Suggests: %{name}-sub2-domain_API-Social-Phonenumber_utils
%description sub1-domain_API-Social
Tizen block (set of packages) for Group of domain API-Social
%files sub1-domain_API-Social

%package sub2-domain_API-Social-Calendar
Summary: Calendar
Requires:libcalendar-service
Requires:calendar-service
Suggests:%{name}-sub2-domain_API-Social-Contacts

%description sub2-domain_API-Social-Calendar
This block supports managing Calendar service.<br>
Syncing Birthday event to calendar could be available when Contacts is selected.<br>
This logic is not available in TV profile.


%files sub2-domain_API-Social-Calendar

%package sub2-domain_API-Social-Contacts
Summary: Contacts
Requires:libcontacts-service
Requires:contacts-service
Requires:session-utils

%description sub2-domain_API-Social-Contacts
This block supports managing Contacts service

%files sub2-domain_API-Social-Contacts

%package sub2-domain_API-Social-Phonenumber_utils
Summary: Phonenumber_utils
Requires:phonenumber-utils

%description sub2-domain_API-Social-Phonenumber_utils
This block supports managing Phonenumber utils

%files sub2-domain_API-Social-Phonenumber_utils

############
## System ##
############
%package sub1-domain_API-System
Summary:	System API Group
Suggests: %{name}-sub2-domain_API-System-Device_Battery
Suggests: %{name}-sub2-domain_API-System-Device_Callback
Suggests: %{name}-sub2-domain_API-System-Device_Display
Suggests: %{name}-sub2-domain_API-System-Device_Haptic
Suggests: %{name}-sub2-domain_API-System-Device_IR
Suggests: %{name}-sub2-domain_API-System-Device_Led
Suggests: %{name}-sub2-domain_API-System-Device_Power
Suggests: %{name}-sub2-domain_API-System-Feedback
Suggests: %{name}-sub2-domain_API-System-Runtime_information
Suggests: %{name}-sub2-domain_API-System-Runtime_information_Light
Suggests: %{name}-sub2-domain_API-System-Runtime_information_Headless
Suggests: %{name}-sub2-domain_API-System-Sensor_Listener
Suggests: %{name}-sub2-domain_API-System-Sensor_Recorder
Suggests: %{name}-sub2-domain_API-System-Storage
Suggests: %{name}-sub2-domain_API-System-System_Information
Suggests: %{name}-sub2-domain_API-System-System_Settings
Suggests: %{name}-sub2-domain_API-System-T_Trace
Suggests: %{name}-sub2-domain_API-System-USB_Host
Suggests: %{name}-sub2-domain_API-System-dlog
%description sub1-domain_API-System
Tizen block (set of packages) for Group of domain API-System
%files sub1-domain_API-System

%package sub2-domain_API-System-Device_Battery
Summary:    Device_Battery
Requires: deviced
Requires: capi-system-device
Suggests: deviced-profile_mobile
Suggests: deviced-profile_common
Suggests: deviced-profile_wearable
Suggests: deviced-profile_tv
Suggests: deviced-profile_ivi
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device_Battery
Tizen block (set of packages) for Group of sub domain Device_Battery.
If you do not want to use Device_Battery APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
Those have a dependancy on Profile and Hardware.
So, before you select, you have to make sure that which Profile and hardware you have.
Then choose proper combination.
For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
             deviced-profile_common and device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device_Battery
%posttrans sub2-domain_API-System-Device_Battery
sed -i 's#\(\"tizen.org/feature/battery\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-System-Device_Callback
Summary:    Device_Callback
Requires: deviced
Requires: capi-system-device
Suggests: deviced-profile_mobile
Suggests: deviced-profile_common
Suggests: deviced-profile_wearable
Suggests: deviced-profile_tv
Suggests: deviced-profile_ivi
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device_Callback
Tizen block (set of packages) for Group of sub domain Device_Callback.
If you do not want to use Device_Callback APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
Those have a dependancy on Profile and Hardware.
So, before you select, you have to make sure that which Profile and hardware you have.
Then choose proper combination.
For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
             deviced-profile_common and device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device_Callback

%package sub2-domain_API-System-Device_Display
Summary:  Device_Display
Requires: deviced
Requires: capi-system-device
Suggests: deviced-profile_mobile
Suggests: deviced-profile_common
Suggests: deviced-profile_wearable
Suggests: deviced-profile_tv
Suggests: deviced-profile_ivi
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device_Display
Tizen block (set of packages) for Group of sub domain Device_Display.
If you do not want to use Device_Display APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
Those have a dependancy on Profile and Hardware.
So, before you select, you have to make sure that which Profile and hardware you have.
Then choose proper combination.
For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
             deviced-profile_common and device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device_Display

%package sub2-domain_API-System-Device_Haptic
Summary:    Device_Haptic
Requires: feedbackd
Requires: capi-system-device
Suggests: feedbackd-profile_mobile
Suggests: feedbackd-profile_wearable
%description sub2-domain_API-System-Device_Haptic
Tizen block (set of packages) for Group of sub domain Device_Haptic.
If you do not want to use Device_Haptic APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in feedbackd-profile_xxxx.
Haptic has a dependancy on Profile.
Before you select, you have to make sure that which Profile you have.
Then choose proper one.
For example, feedbackd-profile_mobile for mobile
%files sub2-domain_API-System-Device_Haptic

%package sub2-domain_API-System-Device_IR
Summary:    Device_IR
Requires: deviced
Requires: capi-system-device
Suggests: deviced-profile_mobile
Suggests: deviced-profile_common
Suggests: deviced-profile_wearable
Suggests: deviced-profile_tv
Suggests: deviced-profile_ivi
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device_IR
Tizen block (set of packages) for Group of sub domain Device_IR.
If you do not want to use Device_IR APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
Those have a dependancy on Profile and Hardware.
So, before you select, you have to make sure that which Profile and hardware you have.
Then choose proper combination.
For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
             deviced-profile_common and device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device_IR
%posttrans sub2-domain_API-System-Device_IR
sed -i 's#\(\"tizen.org/feature/consumer_ir\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-System-Device_Led
Summary:    Device_Led
Requires: deviced
Requires: capi-system-device
Suggests: deviced-profile_mobile
Suggests: deviced-profile_common
Suggests: deviced-profile_wearable
Suggests: deviced-profile_tv
Suggests: deviced-profile_ivi
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device_Led
Tizen block (set of packages) for Group of sub domain Device_Led.
If you do not want to use Device_Led APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
Those have a dependancy on Profile and Hardware.
So, before you select, you have to make sure that which Profile and hardware you have.
Then choose proper combination.
For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
             deviced-profile_common and device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device_Led
%posttrans sub2-domain_API-System-Device_Led
sed -i 's#\(\"tizen.org/feature/led\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-System-Device_Power
Summary:    Device_Power
Requires: deviced
Requires: capi-system-device
Suggests: deviced-profile_mobile
Suggests: deviced-profile_common
Suggests: deviced-profile_wearable
Suggests: deviced-profile_tv
Suggests: deviced-profile_ivi
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device_Power
If you do not want to use Device_Power APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
Those have a dependancy on Profile and Hardware.
So, before you select, you have to make sure that which Profile and hardware you have
Then choose proper combination.
For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
             deviced-profile_common and device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device_Power

%package sub2-domain_API-System-Feedback
Summary:    Feedback
Requires: %{name}-sub2-domain_API-Multimedia-Audio_IO
Requires: feedbackd
Requires: libfeedback
Suggests: feedbackd-profile_mobile
Suggests: feedbackd-profile_wearable
Suggests: svi-data-profile_common
Suggests: svi-data-profile_mobile
Suggests: svi-data-profile_wearable
%description sub2-domain_API-System-Feedback
Tizen block (set of packages) for Group of sub domain Feedback.
Feedback is only available for mobile, wearable and common.
If you do not want to use Feedback APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each feedbackd-profile_xxxx and svi-data-profile_xxxx.
Those have a dependancy on Profile.
Before you select, you have to make sure that which Profile you have.
Then choose proper combination.
For example, svi-data-profile_common for common
             feedbackd-profile_mobile and svi-data-profile_mobile for mobile
%files sub2-domain_API-System-Feedback

%package sub2-domain_API-System-Runtime_information
Summary:    Runtime information with Resourced
Requires:   capi-system-runtime-info
Requires:   resourced
Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Light
Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Headless
%description sub2-domain_API-System-Runtime_information
capi-system-runtime-info provides the current system state.<br>
To get the process information, it needs resourced.<br>
This building block uses full-featured resourced.
%files sub2-domain_API-System-Runtime_information

%package sub2-domain_API-System-Runtime_information_Light
Summary:    Runtime information with Resourced-light
Requires:   capi-system-runtime-info
Requires:   resourced-light
Conflicts:  %{name}-sub2-domain_API-System-Runtime_information
Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Headless
%description sub2-domain_API-System-Runtime_information_Light
capi-system-runtime-info provides the current system state.<br>
To get the process information, it needs resourced.<br>
This building block uses light-weight resourced.
%files sub2-domain_API-System-Runtime_information_Light

%package sub2-domain_API-System-Runtime_information_Headless
Summary:    Runtime information with Resourced-headless
Requires:   capi-system-runtime-info
Requires:   resourced-headless
Requires:   resourced-headless-common
Requires:   resourced-headless-proc-usage
Conflicts:  %{name}-sub2-domain_API-System-Runtime_information
Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Light
%description sub2-domain_API-System-Runtime_information_Headless
capi-system-runtime-info provides the current system state.<br>
To get the process information, it needs resourced.<br>
This building block uses the resourced for headless device.
%files sub2-domain_API-System-Runtime_information_Headless

%package sub2-domain_API-System-Sensor_Listener
Summary:    Sensor_Listener
Requires:   capi-system-sensor
Requires:   sensord
Suggests:   sensor-hal-tm1
Suggests:   sensor-hal-tm2
Suggests:   sensor-hal-tw1
Suggests:   sensor-hal-tw2

%description sub2-domain_API-System-Sensor_Listener
This block supports sensor listener API to detect sensors and monitor sensor events.<br>
You should choose HAL packages depends on target and hardware.
For example, if you want to make a binary for TM1, you can choose the sensor-hal-tm1 package.<br>

%files sub2-domain_API-System-Sensor_Listener

%package sub2-domain_API-System-Sensor_Recorder
Summary:    Sensor_Recorder
Requires:   context-sensor-recorder
Requires:   %{name}-sub2-domain_API-System-Sensor_Listener

%description sub2-domain_API-System-Sensor_Recorder
This block supports sensor recorder API to record sensor data.<br>
You should choose HAL packages depends on target and hardware. HAL packages are listed in the Sensor_Listener block.
For example, if you want to make a binary for TM1, you can choose the sensor-hal-tm1 package.<br>

%files sub2-domain_API-System-Sensor_Recorder

%package sub2-domain_API-System-Storage
Summary:    Storage
Requires: storaged
Requires: storaged-module_block
Requires: storaged-module_storage
%description sub2-domain_API-System-Storage
Tizen block (set of packages) for Group of sub domain Storage
%files sub2-domain_API-System-Storage

%package sub2-domain_API-System-System_Information
Summary:    System information
Requires:   capi-system-info
%description sub2-domain_API-System-System_Information
capi-system-info provides a (fixed) device capability.
%files sub2-domain_API-System-System_Information

%package sub2-domain_API-System-System_Settings
Summary:    System_Settings
Requires:   capi-system-system-settings
%description sub2-domain_API-System-System_Settings
System setting api for get,set configuration
%files sub2-domain_API-System-System_Settings

%posttrans sub2-domain_API-System-System_Settings

sed -i 's#\(\"tizen.org/feature/systemsetting\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
sed -i 's#\(\"tizen.org/feature/systemsetting.notification_email\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


%package sub2-domain_API-System-T_Trace
Summary:    T_Trace
Requires: ttrace
%description sub2-domain_API-System-T_Trace
This block is possible to use ttrace.

%files sub2-domain_API-System-T_Trace

%package sub2-domain_API-System-USB_Host
Summary:    USB_Host
Requires: capi-system-usbhost
Requires: libusb
%description sub2-domain_API-System-USB_Host
Tizen block (set of packages) for Group of sub domain USB_Host
%files sub2-domain_API-System-USB_Host
%posttrans sub2-domain_API-System-USB_Host
sed -i 's#\(\"tizen.org/feature/usb.host\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml

%package sub2-domain_API-System-dlog
Summary:    dlog
Requires: libdlog
Requires: dlogutil
%description sub2-domain_API-System-dlog
Tizen block (set of packages) for Group of sub domain dlog
%files sub2-domain_API-System-dlog


###############
## Telephony ##
###############
%package sub1-domain_API-Telephony
Summary:	Telephony API Group
Requires: capi-telephony
Requires: telephony-daemon
Requires: libtapi
Requires: libtcore
Requires: tel-plugin-dbus_tapi
Requires: tel-plugin-manager
Requires: tel-plugin-database
Requires: tel-plugin-vconf
Requires: tel-plugin-packetservice
Suggests: tel-plugin-nitz
Suggests: tel-plugin-indicator
Suggests: telephony-syspopup
Suggests: tel-plugin-syspopup
%description sub1-domain_API-Telephony
Tizen block (set of packages) for Group of domain API-Telephony
%files sub1-domain_API-Telephony

########
## UI ##
########
%package sub1-domain_API-UI
Summary:	UI API Group
Suggests: %{name}-sub2-domain_API-UI-Cairo
Suggests: %{name}-sub2-domain_API-UI-Clipboard_History_Manager
Suggests: %{name}-sub2-domain_API-UI-DALi
Suggests: %{name}-sub2-domain_API-UI-EFL_MainLoop
Suggests: %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit
Suggests: %{name}-sub2-domain_API-UI-EFL_ELM_Accessbility
Suggests: %{name}-sub2-domain_API-UI-EFL_Extension
Suggests: %{name}-sub2-domain_API-UI-External_Output_Manager
Suggests: %{name}-sub2-domain_API-UI-FontConfig
Suggests: %{name}-sub2-domain_API-UI-Freetype
Suggests: %{name}-sub2-domain_API-UI-HarfBuzz
Suggests: %{name}-sub2-domain_API-UI-Minicontrol
Suggests: %{name}-sub2-domain_API-UI-SDL_GL
Suggests: %{name}-sub2-domain_API-UI-SDL_Vulkan
Suggests: %{name}-sub2-domain_API-UI-TBM_Surface
Suggests: %{name}-sub2-domain_API-UI-Tizen_WS_Shell
Suggests: %{name}-sub2-domain_API-UI-UI_View_Manager
Suggests: %{name}-sub2-domain_API-UI-Vulkan
Suggests: %{name}-sub2-domain_API-UI-Display_Server
%description sub1-domain_API-UI
Tizen block (set of packages) for Group of domain API-UI
%files sub1-domain_API-UI

%package sub2-domain_API-UI-Cairo
Summary:    Cairo
Requires:  libcairo
Suggests:  libcairo-gobject
Suggests:  libcairo-script-interpreter
%description sub2-domain_API-UI-Cairo
Cairo is a 2D graphics library with cross-device output support
while taking advantage of display hardware acceleration when available.<br>
libcairo (mandatory) contains 2D graphics functions for rendering to various output.<br>
libcairo-gobject contains functions integrate cairo with Glib's GObject type.<br>
libcairo-script-interpreter contains functions for executing and manipulating cairo execution traces.<br>

%files sub2-domain_API-UI-Cairo

%package sub2-domain_API-UI-Clipboard_History_Manager
Summary:    Clipboard History Manager
Requires:   cbhm
Requires:   %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit

%description sub2-domain_API-UI-Clipboard_History_Manager
Tizen Clipboard History Manager Service

%files sub2-domain_API-UI-Clipboard_History_Manager


%package sub2-domain_API-UI-DALi
Summary:    DALi
Requires: dali-toolkit
Requires: dali-adaptor
Requires: %{name}-sub2-domain_API-UI-Display_Server
Requires: %{name}-sub2-domain_API-UI-FontConfig
# Profile
Suggests: dali-adaptor-profile_common
Suggests: dali-adaptor-profile_mobile
Suggests: dali-adaptor-profile_tv
Suggests: dali-adaptor-profile_wearable
Suggests: dali-adaptor-profile_ivi
# Resource
Suggests: dali-toolkit-resources_480x800
Suggests: dali-toolkit-resources_720x1280
Suggests: dali-toolkit-resources_1920x1080
# Extension
Suggests: dali-extension
Suggests: dali-extension-key-extension
# Video view support
Suggests: dali-adaptor-dali-video-player-plugin
Suggests: %{name}-sub2-domain_API-Multimedia-Player

%description sub2-domain_API-UI-DALi
Cross-platform 3D UI Toolkit for embedded systems.
DALi's 3D user interface engine enables you to create rich and high-performance UI applications.
You should consider options
1. dali-toolkit-resources_*x* for screen resolution.
2. dali-adaptor-dali-video-player-plugin and Player if you use dali-toolkit::VideoView.
3. dali-extension and dali-extension-key-extension if you want to add custom key map.


%files sub2-domain_API-UI-DALi


%package sub2-domain_API-UI-EFL_MainLoop
Summary:    EFL_MainLoop
Requires:   ecore-core

%description sub2-domain_API-UI-EFL_MainLoop
This is the core main-loop, system events and execution layer. This
handles running the main loop, integrating with external data and
timing sources (the system clock, file descriptors, system signals),
and producing an event queue, walking that queue and dispatching
events to appropriate callbacks.

%files sub2-domain_API-UI-EFL_MainLoop


%package sub2-domain_API-UI-EFL_NativeUIToolkit
Summary:    EFL_NativeUIToolkit
Requires:   ecore-buffer
Requires:   ecore-drm
Requires:   elementary
Requires:   %{name}-sub2-domain_API-UI-Display_Server
#config
Suggests:   efl-config-profile_common
Suggests:   efl-config-profile_mobile
Suggests:   efl-config-profile_wearable
Suggests:   efl-config-profile_tv
Suggests:   efl-config-profile_ivi
#misc
Suggests:   efl-misc-profile_common
Suggests:   efl-misc-profile_mobile
Suggests:   efl-misc-profile_wearable
Suggests:   efl-misc-profile_tv
Suggests:   efl-misc-profile_ivi
#modules
Suggests:   efl-modules-profile_common
Suggests:   efl-modules-profile_mobile
Suggests:   efl-modules-profile_wearable
Suggests:   efl-modules-profile_tv
Suggests:   efl-modules-profile_ivi
#themes
Suggests:   efl-theme-tizen-common
Suggests:   efl-theme-tizen-mobile
Suggests:   efl-theme-tizen-wearable
Suggests:   efl-theme-tizen-tv
Suggests:   efl-theme-tizen-ivi
#functions
Suggests:   elementary-tizen
Suggests:   download-fonts-service

%description sub2-domain_API-UI-EFL_NativeUIToolkit
NativeUIToolkit block contains widget set(elementary).
you can consider the following options for this block.
1. choose misc, config, modules, theme depending on your profile.
   (common, mobile, wearable, tv, ivi)
2. elementary-tizen is an alternative package for Tizen devices
   that uses different set of source code.
3. download-fonts-service supports third party font apps.

%files sub2-domain_API-UI-EFL_NativeUIToolkit


%package sub2-domain_API-UI-EFL_ELM_Accessbility
Summary:    EFL_ELM_Accessbility
Requires:   libatk-bridge-2_0-0
Requires:   at-spi2-core
Requires:   libatspi0
Requires:   typelib-1_0-Atspi-2_0
Requires:   org.tizen.screen-reader
Requires:   e-mod-tizen-screen-reader
Requires:   %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit
Suggests:   org.tizen.accessibility-setting
%description sub2-domain_API-UI-EFL_ELM_Accessbility
EFL_ELM_Accessbility

%files sub2-domain_API-UI-EFL_ELM_Accessbility


%package sub2-domain_API-UI-EFL_Extension
Summary:    EFL_Extension
Requires:   efl-extension
Requires:   %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit

%description sub2-domain_API-UI-EFL_Extension
EFL extension library

%files sub2-domain_API-UI-EFL_Extension


%package sub2-domain_API-UI-External_Output_Manager
Summary:    External_Output_Manager
Requires: libeom
Requires: %{name}-sub2-domain_API-UI-Display_Server

%description sub2-domain_API-UI-External_Output_Manager
The External Output Manager (EOM) is for managing external outputs.<br>
User can get the information of external outputs and control them via eom API.

%files sub2-domain_API-UI-External_Output_Manager


%package sub2-domain_API-UI-FontConfig
Summary:    FontConfig
Requires:   fontconfig
Requires:   default-fonts-fc-sdk
Requires:   default-fonts-sdk

%description sub2-domain_API-UI-FontConfig
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
applications.

%files sub2-domain_API-UI-FontConfig


%package sub2-domain_API-UI-Freetype
Summary:    Freetype
Requires:   libfreetype

%description sub2-domain_API-UI-Freetype
The FreeType engine is a free and portable font rendering
engine, developed to provide advanced font support for a variety of
platforms and environments. FreeType is a library which can open and
manages font files as well as efficiently load, hint and render
individual glyphs. FreeType is not a font server or a complete
text-rendering library.

%files sub2-domain_API-UI-Freetype


%package sub2-domain_API-UI-HarfBuzz
Summary:    HarfBuzz
Requires:   libharfbuzz

%description sub2-domain_API-UI-HarfBuzz
HarfBuzz is an OpenType text shaping engine.

%files sub2-domain_API-UI-HarfBuzz


%package sub2-domain_API-UI-Minicontrol
Summary:    Minicontrol
Requires: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Requires: minicontrol
%description sub2-domain_API-UI-Minicontrol
This block supports minicontol API which enables simple control UX in the notification panel
%files sub2-domain_API-UI-Minicontrol


%package sub2-domain_API-UI-SDL_GL
Summary:    OpenGL ES with SDL
Requires:   SDL2
Requires:   %{name}-sub2-domain_API-UI-Display_Server
%description sub2-domain_API-UI-SDL_GL
OpenGL ES is a standard specification, defining a cross-language, and cross-platform OpenGL ES API to write the applications that produce 2D and 3D computer graphics.<br>
SDL makes much easier to use the OpenGL ES API in Tizen.<br>
OpenGL ES 1.1, 2.0, 3.0, 3.1 and 3.2 are supported in Tizen.<br>
Some devices may not support OpenGL ES. So you should check whether OpenGL ES and specific versions support with <a href=https://developer.tizen.org/development/guides/native-application/system/system-information>System information APIs.<br>


%files sub2-domain_API-UI-SDL_GL


%package sub2-domain_API-UI-SDL_Vulkan
Summary:    Vulkan with SDL
Requires:   SDL2
Requires:   %{name}-sub2-domain_API-UI-Vulkan
%description sub2-domain_API-UI-SDL_Vulkan
Vulkan is a generation API for high-efficiency access to graphics and computing on modern GPUs.<br>
SDL makes much easier to use the Vulkan API in Tizen.<br>
The Tizen platform supports the Vulkan API in order to provide the most cutting-edge 3D programming tools for you to create high-quality games and real-time graphics in application.<br>
%files sub2-domain_API-UI-SDL_Vulkan


%package sub2-domain_API-UI-TBM_Surface
Summary:    TBM_Surface
Requires: libtbm
Requires: %{name}-sub2-domain_API-UI-Display_Server
%description sub2-domain_API-UI-TBM_Surface
TBM Surface API provides user interface for The TBM Surface.<br>
The user can get pointer of plane in the surface.<br>
The user can store data to low level graphic buffer by using pointer of each plane.

%files sub2-domain_API-UI-TBM_Surface

%package sub2-domain_API-UI-Tizen_WS_Shell
Summary:    Tizen_WS_Shell
Requires: tzsh
Requires: %{name}-sub2-domain_API-UI-Display_Server
%description sub2-domain_API-UI-Tizen_WS_Shell
The Tizen WS Shell (tzsh) provides APIs to communicate with the window manager.

%files sub2-domain_API-UI-Tizen_WS_Shell


%package sub2-domain_API-UI-UI_View_Manager
Summary:    ViewManager
Requires:   ui-viewmgr
Requires:   %{name}-sub2-domain_API-UI-EFL_NativeUIToolkit

%description sub2-domain_API-UI-UI_View_Manager
View manager library

%files sub2-domain_API-UI-UI_View_Manager


%package sub2-domain_API-UI-Vulkan
Summary:    Vulkan
Requires: Vulkan-LoaderAndValidationLayers
#Requires: vulkan-wsi-tizen
Requires: %{name}-sub2-domain_API-UI-Display_Server

%description sub2-domain_API-UI-Vulkan
Vulkan is a new generation graphics and compute API that provides high-efficiency, Cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.<br>
Some devices may not support Vulkan.

%files sub2-domain_API-UI-Vulkan


%package sub2-domain_API-UI-Display_Server
Summary:    Display_Server
Requires:   enlightenment
#Profiles
Suggests:   e-tizen-data-profile_common
Suggests:   e-tizen-data-profile_mobile
Suggests:   e-tizen-data-profile_wearable
Suggests:   e-tizen-data-profile_tv
Suggests:   e-tizen-data-profile_ivi

#DisplayHAL-TBM
Suggests:   libtbm-sprd
Suggests:   libtbm-exynos
Suggests:   libtbm-exynos-tgm
Suggests:   libtbm-nexell
Suggests:   libtbm-vc4
Suggests:   libtbm-vigs
Suggests:   libtbm-dumb

#DisplayHAL-TDM
Suggests:   libtdm-sprd
Suggests:   libtdm-exynos
Suggests:   libtdm-exynos-deconfb
Suggests:   libtdm-drm
Suggests:   libtdm-vc4

#GL plugins
Suggests:   mesa

%description sub2-domain_API-UI-Display_Server
Tizen block (set of packages) for Group of Display Server
Display Server Block is core block for UI. It contains the wayland display server,
modules for server and display HAL for target.<br>
There are three categories to choose.<br>
1. Server config for each profile<br>
   There are 5 profiles(common, mobile, wearable, tv, ivi).<br>
2. Tizen Buffer Manager(TBM) Backend<br>
3. Tizen Display Manager(TDM) Backend<br>
   You should choose a tbm and tdm backend for your target.<br>
   For example, if you want make binary for TM1, you can choose the libtbm-sprd and the libtdm-sprd<br>

%files sub2-domain_API-UI-Display_Server


#########
## UIX ##
#########
%package sub1-domain_API-UIX
Summary:	UIX API Group
Suggests: %{name}-sub2-domain_API-UIX-Input_Method
Suggests: %{name}-sub2-domain_API-UIX-STT
Suggests: %{name}-sub2-domain_API-UIX-TTS
Suggests: %{name}-sub2-domain_API-UIX-Voice_control
Suggests: %{name}-sub2-domain_API-UIX-Voice_control_elementary
%description sub1-domain_API-UIX
Tizen block (set of packages) for Group of domain API-UIX
%files sub1-domain_API-UIX

%package sub2-domain_API-UIX-Input_Method
Summary:    Input_Method
Requires: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model
Requires: isf
Requires: ise-default
Requires: capi-ui-inputmethod
Requires: capi-ui-inputmethod-manager
Requires: org.tizen.inputmethod-setting

Suggests: ise-default-profile_common
Suggests: ise-default-profile_ivi
Suggests: ise-default-profile_mobile
Suggests: ise-default-profile_tv
Suggests: ise-default-profile_wearable
Suggests: ise-default-profile_wearable-extension-circle

Suggests: isf-config-common
Suggests: isf-config-ivi
Suggests: isf-config-mobile
Suggests: isf-config-tv
Suggests: isf-config-wearable

Suggests: org.tizen.inputmethod-setting-profile_common
Suggests: org.tizen.inputmethod-setting-profile_mobile
Suggests: org.tizen.inputmethod-setting-profile_wearable
Suggests: org.tizen.inputmethod-setting-profile_wearable-extension-circle

%description sub2-domain_API-UIX-Input_Method
This block supports Input Method API for starting IME application lifecycle, methods to interact with current UI state of IME, and getting attributes/events.
And a user can manage the installed IMEs in the system.<br>
You should add additional packages by referring to the below information.<br>

common profile: ise-default-profile_common, isf-config-common, org.tizen.inputmethod-setting-profile_common<br>
ivi profile: ise-default-profile_ivi, isf-config-ivi<br>
mobile profile: ise-default-profile_mobile, isf-config-mobile, org.tizen.inputmethod-setting-profile_mobile<br>
tv profile: ise-default-profile_tv, isf-config-tv<br>
wearable profile: ise-default-profile_wearable, isf-config-wearable, org.tizen.inputmethod-setting-profile_wearable<br>
wearable_circle: ise-default-profile_wearable-extension-circle, isf-config-wearable, org.tizen.inputmethod-setting-profile_wearable-extension-circle<br>
%files sub2-domain_API-UIX-Input_Method


%package sub2-domain_API-UIX-STT
Summary:    STT

Requires: stt
Requires: org.tizen.stt-engine-default
Requires: %{name}-sub2-domain_API-Multimedia-Audio_IO
Requires: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model

%description sub2-domain_API-UIX-STT
STT(Speech-To-Text) provides functions to recognize the speech.

%files sub2-domain_API-UIX-STT
%posttrans sub2-domain_API-UIX-STT
sed -i 's#\(\"tizen.org/feature/speech.recognition\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


%package sub2-domain_API-UIX-TTS
Summary:    TTS

Requires: tts
Requires: org.tizen.tts-engine-default
Requires: tts-engine-rsc
Requires: %{name}-sub2-domain_API-Multimedia-Audio_IO
Requires: %{name}-sub2-domain_API-AppFramework-Native_EFL_UI_app_model

%description sub2-domain_API-UIX-TTS
TTS(Text-To-Speech) provides functions to synthesize voice from text and play synthesized sound data.

%files sub2-domain_API-UIX-TTS
%posttrans sub2-domain_API-UIX-TTS
sed -i 's#\(\"tizen.org/feature/speech.synthesis\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


%package sub2-domain_API-UIX-Voice_control
Summary:    Voice_control

Requires: voice-control
Requires: vc-engine-default
Requires: %{name}-sub2-domain_API-UIX-STT

%description sub2-domain_API-UIX-Voice_control
Voice control provides functions to register commands and get notification when registered command is recognized.

%files sub2-domain_API-UIX-Voice_control
%posttrans sub2-domain_API-UIX-Voice_control
sed -i 's#\(\"tizen.org/feature/speech.control\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


%package sub2-domain_API-UIX-Voice_control_elementary
Summary:    Voice_control_elementary

Requires: voice-control-elm
Requires: %{name}-sub2-domain_API-UIX-Voice_control

%description sub2-domain_API-UIX-Voice_control_elementary
Voice control elementary provides functions to control widget by voice commands.

%files sub2-domain_API-UIX-Voice_control_elementary
%posttrans sub2-domain_API-UIX-Voice_control_elementary
sed -i 's#\(\"tizen.org/feature/speech.control\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml


#########
## Web ##
#########
%package sub1-domain_API-Web
Summary:	Web API Group
Suggests: %{name}-sub2-domain_API-Web-json_Glib
Suggests: %{name}-sub2-domain_API-Web-WebView
%description sub1-domain_API-Web
Tizen block (set of packages) for Group of domain API-Web
%files sub1-domain_API-Web

%package sub2-domain_API-Web-json_Glib
Summary:    json_Glib

Requires: libjson-glib

%description sub2-domain_API-Web-json_Glib
Library for JavaScript Object Notation format

%files sub2-domain_API-Web-json_Glib


%package sub2-domain_API-Web-WebView
Summary:    WebView

Requires: chromium-efl
Requires: %{name}-sub2-domain_API-UI-Display_Server
Requires: %{name}-sub2-domain_API-UI-FontConfig

%description sub2-domain_API-Web-WebView
The WebView API provides functions to display web pages and control web pages.

%files sub2-domain_API-Web-WebView