blob: 889a7959af806ca2f01f8c35d802f63b4f50b18b (
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
|
%define name hal-rootstrap-data-common
%define desc HAL Rootstrap for Common Profile
%if "%{_with_da_profile}" == "1"
%define WITH_DA 1
%else
%define WITH_DA 0
%endif
%if "%{tizen_profile_name}" == "tv"
%define WITH_VD 1
%else
%define WITH_VD 0
%endif
%if "%{mv_prj}" == "1"
%define WITH_VD_MV 1
%else
%define WITH_VD_MV 0
%endif
Name: %{name}
Summary: %{desc}
Version: 0.1.0
Release: 1
#Group:
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
AutoReqProv: no
Requires: capi-base-common
BuildRequires: capi-base-common
Requires: capi-base-common-devel
BuildRequires: capi-base-common-devel
Requires: capi-base-utils
BuildRequires: capi-base-utils
Requires: capi-base-utils-devel
BuildRequires: capi-base-utils-devel
Requires: capi-system-info
BuildRequires: capi-system-info
Requires: capi-system-info-devel
BuildRequires: capi-system-info-devel
Requires: capi-system-runtime-info
BuildRequires: capi-system-runtime-info
Requires: capi-system-runtime-info-devel
BuildRequires: capi-system-runtime-info-devel
Requires: libtbm
BuildRequires: libtbm
Requires: libtbm-devel
BuildRequires: libtbm-devel
Requires: coregl
BuildRequires: coregl
Requires: coregl-devel
BuildRequires: coregl-devel
Requires: fontconfig
BuildRequires: fontconfig
Requires: fontconfig-devel
BuildRequires: fontconfig-devel
Requires: libfreetype
BuildRequires: libfreetype
Requires: freetype2-devel
BuildRequires: freetype2-devel
Requires: glib2-devel
BuildRequires: glib2-devel
Requires: glib2-devel-static
BuildRequires: glib2-devel-static
Requires: libgio
BuildRequires: libgio
Requires: libglib
BuildRequires: libglib
Requires: libgmodule
BuildRequires: libgmodule
Requires: libgobject
BuildRequires: libgobject
Requires: libgthread
BuildRequires: libgthread
Requires: libharfbuzz
BuildRequires: libharfbuzz
Requires: harfbuzz-devel
BuildRequires: harfbuzz-devel
Requires: liboauth
BuildRequires: liboauth
Requires: liboauth-devel
BuildRequires: liboauth-devel
Requires: openal-soft
BuildRequires: openal-soft
Requires: openal-soft-devel
BuildRequires: openal-soft-devel
Requires: SDL2
BuildRequires: SDL2
Requires: SDL2-devel
BuildRequires: SDL2-devel
Requires: vulkan-loader
BuildRequires: vulkan-loader
Requires: vulkan-loader-devel
BuildRequires: vulkan-loader-devel
Requires: vulkan-headers
BuildRequires: vulkan-headers
Requires: libcurl
BuildRequires: libcurl
Requires: libcurl-devel
BuildRequires: libcurl-devel
Requires: libxml2
BuildRequires: libxml2
Requires: libxml2-devel
BuildRequires: libxml2-devel
Requires: minizip
BuildRequires: minizip
Requires: minizip-devel
BuildRequires: minizip-devel
Requires: openssl3
BuildRequires: openssl3
Requires: libopenssl3
BuildRequires: libopenssl3
Requires: libopenssl3-devel
BuildRequires: libopenssl3-devel
Requires: libsqlite
BuildRequires: libsqlite
Requires: sqlite
BuildRequires: sqlite
Requires: sqlite-devel
BuildRequires: sqlite-devel
Requires: zlib
BuildRequires: zlib
Requires: zlib-devel
BuildRequires: zlib-devel
Requires: pkgconfig(alsa)
BuildRequires: pkgconfig(alsa)
Requires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libusb-1.0)
Requires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(json-glib-1.0)
Requires: pkgconfig(libudev)
BuildRequires: pkgconfig(libudev)
Requires: pkgconfig(ttrace)
BuildRequires: pkgconfig(ttrace)
Requires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(libtzplatform-config)
Requires: pkgconfig(tpl-egl)
BuildRequires: pkgconfig(tpl-egl)
Requires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libdrm)
Requires: pkgconfig(hal-api-audio)
BuildRequires: pkgconfig(hal-api-audio)
Requires: pkgconfig(hal-api-camera)
BuildRequires: pkgconfig(hal-api-camera)
Requires: pkgconfig(hal-api-common)
BuildRequires: pkgconfig(hal-api-common)
Requires: pkgconfig(hal-api-device)
BuildRequires: pkgconfig(hal-api-device)
Requires: pkgconfig(hal-api-nfc)
BuildRequires: pkgconfig(hal-api-nfc)
Requires: pkgconfig(hal-api-sensor)
BuildRequires: pkgconfig(hal-api-sensor)
Requires: pkgconfig(hal-api-tbm)
BuildRequires: pkgconfig(hal-api-tbm)
Requires: pkgconfig(hal-api-tdm)
BuildRequires: pkgconfig(hal-api-tdm)
%if "%{WITH_VD}" == "0" && "%{WITH_VD_MV}" == "0"
Requires: glibc
BuildRequires: glibc
Requires: glibc-devel
BuildRequires: glibc-devel
Requires: glibc-devel-static
BuildRequires: glibc-devel-static
Requires: glibc-devel-utils
BuildRequires: glibc-devel-utils
Requires: glibc-extra
BuildRequires: glibc-extra
Requires: glibc-locale
BuildRequires: glibc-locale
Requires: glibc-profile
BuildRequires: glibc-profile
Requires: linux-glibc-devel
BuildRequires: linux-glibc-devel
Requires: pkgconfig(capi-system-peripheral-io)
BuildRequires: pkgconfig(capi-system-peripheral-io)
Requires: pkgconfig(hal-api-bluetooth)
BuildRequires: pkgconfig(hal-api-bluetooth)
Requires: pkgconfig(hal-api-location)
BuildRequires: pkgconfig(hal-api-location)
Requires: pkgconfig(hal-api-power)
BuildRequires: pkgconfig(hal-api-power)
Requires: pkgconfig(hal-api-radio)
BuildRequires: pkgconfig(hal-api-radio)
Requires: pkgconfig(hal-api-uwb)
BuildRequires: pkgconfig(hal-api-uwb)
Requires: pkgconfig(hal-api-wifi)
BuildRequires: pkgconfig(hal-api-wifi)
Requires: pkgconfig(hal-api-zigbee)
BuildRequires: pkgconfig(hal-api-zigbee)
%endif
%if "%{WITH_DA}" == "0"
Requires: pkgconfig(libdrm_exynos)
BuildRequires: pkgconfig(libdrm_exynos)
Requires: pkgconfig(libdrm_vigs)
BuildRequires: pkgconfig(libdrm_vigs)
%ifarch arm aarch64
Requires: pkgconfig(libdrm_vc4)
BuildRequires: pkgconfig(libdrm_vc4)
%endif
%endif
%description
%{desc}
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
mkdir %{buildroot}
mkdir -p %{buildroot}/tmp
ls -al
cp -R ./rs_resource %{buildroot}/tmp
%if "%{WITH_VD}" == "1" || "%{WITH_VD_MV}" == "1"
rm -f %{buildroot}/tmp/rs_resource/common/NativeAPI/capi-system-peripheral-io-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-bluetooth-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-location-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-power-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-radio-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-uwb-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-wifi-rs.xml
rm -f %{buildroot}/tmp/rs_resource/common/HAL/hal-api-zigbee-rs.xml
%endif
%files
/tmp/*
|