summaryrefslogtreecommitdiff
path: root/packaging/hal-rootstrap.spec
blob: a3de9985139bcee09ea00bfa0412f8059147eeb2 (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
%define name		hal-rootstrap
%define devel_name	hal-rootstrap-devel
%define hal_rootstrap_install_path /opt/data/hal-rootstrap

%global _privatelibs .*\\.so.*
%global __requires_exclude %{_privatelibs}

Name:		hal-rootstrap
Summary:	Package for rootstrap of hal
Version:	0.1.0
Release:	1
#Group: 
License:	Apache-2.0
Source0:	%{name}-%{version}.tar.gz
ExclusiveArch:  %{arm}

BuildRequires:	cmake
BuildRequires:	xmlstarlet

BuildRequires:	appcore-widget
BuildRequires:	capi-appfw-widget-application-devel
BuildRequires:	attach-panel
BuildRequires:	attach-panel-devel
BuildRequires:	badge
BuildRequires:	badge-devel
BuildRequires:	bundle
BuildRequires:	bundle-devel
BuildRequires:	libcairo
BuildRequires:	libcairo-gobject
BuildRequires:	libcairo-script-interpreter
BuildRequires:	cairo-devel
BuildRequires:	libcalendar-service
BuildRequires:	calendar-service-devel
BuildRequires:	capi-appfw-alarm
BuildRequires:	capi-appfw-alarm-devel
BuildRequires:	capi-appfw-app-common
BuildRequires:	capi-appfw-app-common-devel
BuildRequires:	capi-appfw-app-control
BuildRequires:	capi-appfw-app-control-devel
BuildRequires:	capi-appfw-application
BuildRequires:	capi-appfw-application-devel
BuildRequires:	capi-appfw-app-manager
BuildRequires:	capi-appfw-app-manager-devel
BuildRequires:	capi-appfw-component-manager
BuildRequires:	capi-appfw-component-manager-devel
BuildRequires:	capi-appfw-event
BuildRequires:	capi-appfw-event-devel
BuildRequires:	capi-appfw-job-scheduler
BuildRequires:	capi-appfw-job-scheduler-devel
BuildRequires:	capi-appfw-package-manager
BuildRequires:	capi-appfw-package-manager-devel
BuildRequires:	capi-appfw-preference
BuildRequires:	capi-appfw-preference-devel
BuildRequires:	capi-appfw-service-application-devel
BuildRequires:	appcore-agent
BuildRequires:	capi-base-common
BuildRequires:	capi-base-common-devel
BuildRequires:	capi-base-utils
BuildRequires:	capi-base-utils-devel
BuildRequires:	capi-content-media-content
BuildRequires:	capi-content-media-content-devel
BuildRequires:	capi-content-mime-type
BuildRequires:	capi-content-mime-type-devel
BuildRequires:	capi-context
BuildRequires:	capi-context-devel
BuildRequires:	data-control
BuildRequires:	data-control-devel
BuildRequires:	capi-geofence-manager
BuildRequires:	capi-geofence-manager-devel
BuildRequires:	capi-location-manager
BuildRequires:	capi-location-manager-devel
BuildRequires:	capi-machine-learning-inference
BuildRequires:	capi-machine-learning-inference-single
BuildRequires:	capi-machine-learning-common
BuildRequires:	capi-machine-learning-inference-devel
BuildRequires:	capi-machine-learning-inference-single-devel
BuildRequires:	capi-machine-learning-common-devel
BuildRequires:	capi-machine-learning-service
BuildRequires:	capi-machine-learning-common
BuildRequires:	capi-machine-learning-service-devel
BuildRequires:	capi-machine-learning-common-devel
BuildRequires:	capi-machine-learning-training
BuildRequires:	capi-machine-learning-common
BuildRequires:	capi-machine-learning-training-devel
BuildRequires:	capi-machine-learning-common-devel
BuildRequires:	capi-maps-service
BuildRequires:	capi-maps-service-devel
BuildRequires:	capi-media-audio-io
BuildRequires:	capi-media-audio-io-devel
BuildRequires:	capi-media-camera
BuildRequires:	capi-media-camera-devel
BuildRequires:	capi-media-codec
BuildRequires:	capi-media-codec-devel
BuildRequires:	capi-media-controller
BuildRequires:	capi-media-controller-devel
BuildRequires:	capi-mediademuxer
BuildRequires:	capi-mediademuxer-devel
BuildRequires:	capi-media-editor
BuildRequires:	capi-media-editor-devel
BuildRequires:	capi-media-image-util
BuildRequires:	capi-media-image-util-devel
BuildRequires:	capi-media-metadata-editor
BuildRequires:	capi-media-metadata-editor-devel
BuildRequires:	capi-media-metadata-extractor
BuildRequires:	capi-media-metadata-extractor-devel
BuildRequires:	capi-mediamuxer
BuildRequires:	capi-mediamuxer-devel
BuildRequires:	capi-media-player
BuildRequires:	capi-media-player-devel
BuildRequires:	capi-media-radio
BuildRequires:	capi-media-radio-devel
BuildRequires:	capi-media-recorder
BuildRequires:	capi-media-recorder-devel
BuildRequires:	capi-media-screen-mirroring
BuildRequires:	capi-media-screen-mirroring-devel
BuildRequires:	capi-media-sound-manager
BuildRequires:	capi-media-sound-manager-devel
BuildRequires:	capi-media-sound-pool
BuildRequires:	capi-media-sound-pool-devel
BuildRequires:	capi-media-thumbnail-util
BuildRequires:	capi-media-thumbnail-util-devel
BuildRequires:	capi-media-tone-player
BuildRequires:	capi-media-tone-player-devel
BuildRequires:	capi-media-tool
BuildRequires:	capi-media-tool-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-3d
BuildRequires:	capi-media-vision-3d-devel
BuildRequires:	capi-media-vision-barcode
BuildRequires:	capi-media-vision-barcode-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-face
BuildRequires:	capi-media-vision-face-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-image
BuildRequires:	capi-media-vision-image-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-machine_learning
BuildRequires:	capi-media-vision-machine_learning-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-roi_tracker
BuildRequires:	capi-media-vision-roi_tracker-devel
BuildRequires:	capi-media-vision
BuildRequires:	capi-media-vision-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-vision-barcode
BuildRequires:	capi-media-vision-barcode-devel
BuildRequires:	capi-media-vision-image
BuildRequires:	capi-media-vision-image-devel
BuildRequires:	capi-media-vision-machine_learning
BuildRequires:	capi-media-vision-machine_learning-devel
BuildRequires:	capi-media-vision-face
BuildRequires:	capi-media-vision-face-devel
BuildRequires:	capi-media-vision-surveillance
BuildRequires:	capi-media-vision-surveillance-devel
BuildRequires:	capi-media-vision-roi_tracker
BuildRequires:	capi-media-vision-roi_tracker-devel
BuildRequires:	capi-media-vision-3d
BuildRequires:	capi-media-vision-3d-devel
BuildRequires:	capi-media-vision-surveillance
BuildRequires:	capi-media-vision-surveillance-devel
BuildRequires:	capi-media-vision-face
BuildRequires:	capi-media-vision-face-devel
BuildRequires:	capi-media-vision-common
BuildRequires:	capi-media-vision-common-devel
BuildRequires:	capi-media-wav-player
BuildRequires:	capi-media-wav-player-devel
BuildRequires:	capi-media-webrtc
BuildRequires:	capi-media-webrtc-devel
BuildRequires:	message-port
BuildRequires:	message-port-devel
BuildRequires:	capi-messaging-email
BuildRequires:	capi-messaging-email-devel
BuildRequires:	capi-messaging-messages
BuildRequires:	capi-messaging-messages-devel
BuildRequires:	capi-network-asp
BuildRequires:	capi-network-asp-devel
BuildRequires:	capi-network-bluetooth
BuildRequires:	capi-network-bluetooth-devel
BuildRequires:	capi-network-connection
BuildRequires:	capi-network-connection-devel
BuildRequires:	capi-network-http
BuildRequires:	capi-network-http-devel
BuildRequires:	capi-network-inm
BuildRequires:	capi-network-inm-devel
BuildRequires:	capi-network-mtp
BuildRequires:	capi-network-mtp-devel
BuildRequires:	capi-network-nfc
BuildRequires:	capi-network-nfc-devel
BuildRequires:	capi-network-nsd
BuildRequires:	capi-network-nsd-devel
BuildRequires:	libnsd-dns-sd
BuildRequires:	libnsd-ssdp
BuildRequires:	capi-network-smartcard
BuildRequires:	capi-network-smartcard-devel
BuildRequires:	capi-network-softap
BuildRequires:	capi-network-softap-devel
BuildRequires:	capi-network-stc
BuildRequires:	capi-network-stc-devel
BuildRequires:	capi-network-ua
BuildRequires:	capi-network-ua-devel
BuildRequires:	capi-network-wifi-direct
BuildRequires:	capi-network-wifi-direct-devel
BuildRequires:	capi-network-wifi-manager
BuildRequires:	capi-network-wifi-manager-devel
BuildRequires:	capi-privacy-privilege-manager
BuildRequires:	askuser-notification-devel
BuildRequires:	libaskuser-notification-common
BuildRequires:	askuser-notification-client
BuildRequires:	capi-system-device
BuildRequires:	capi-system-device-devel
BuildRequires:	capi-system-info
BuildRequires:	capi-system-info-devel
BuildRequires:	capi-system-media-key
BuildRequires:	capi-system-media-key-devel
BuildRequires:	capi-system-peripheral-io
BuildRequires:	capi-system-peripheral-io-devel
BuildRequires:	capi-system-resource-monitor
BuildRequires:	capi-system-resource-monitor-devel
BuildRequires:	capi-system-runtime-info
BuildRequires:	capi-system-runtime-info-devel
BuildRequires:	capi-system-sensor
BuildRequires:	capi-system-sensor-devel
BuildRequires:	capi-system-system-settings
BuildRequires:	capi-system-system-settings-devel
BuildRequires:	capi-system-usbhost
BuildRequires:	capi-system-usbhost-devel
BuildRequires:	capi-telephony
BuildRequires:	capi-telephony-devel
BuildRequires:	capi-ui-autofill
BuildRequires:	capi-ui-autofill-devel
BuildRequires:	capi-ui-autofill-common
BuildRequires:	capi-ui-autofill-common-devel
BuildRequires:	capi-ui-autofill-service
BuildRequires:	capi-ui-autofill-service-devel
BuildRequires:	capi-ui-autofill-manager
BuildRequires:	capi-ui-autofill-manager-devel
BuildRequires:	capi-ui-efl-util
BuildRequires:	capi-ui-efl-util-devel
BuildRequires:	capi-ui-inputmethod-manager
BuildRequires:	capi-ui-inputmethod-manager-devel
BuildRequires:	capi-ui-inputmethod
BuildRequires:	capi-ui-inputmethod-devel
BuildRequires:	capi-ui-sticker
BuildRequires:	capi-ui-sticker-devel
BuildRequires:	capi-vpnsvc
BuildRequires:	capi-vpnsvc-devel
BuildRequires:	capi-web-url-download
BuildRequires:	capi-web-url-download-devel
BuildRequires:	cion
BuildRequires:	cion-devel
BuildRequires:	component-based-application
BuildRequires:	component-based-application-devel
BuildRequires:	component-based
BuildRequires:	component-based-devel
BuildRequires:	libcontacts-service
BuildRequires:	contacts-service-devel
BuildRequires:	csr-framework-devel
BuildRequires:	libcsr-framework-client
BuildRequires:	libcsr-framework-common
BuildRequires:	device-certificate-manager
BuildRequires:	device-certificate-manager-devel
BuildRequires:	diagnostics
BuildRequires:	diagnostics-devel
BuildRequires:	libdpm
BuildRequires:	libdpm-devel
BuildRequires:	fido-client
BuildRequires:	fido-client-devel
BuildRequires:	iotcon
BuildRequires:	iotcon-devel
BuildRequires:	libkey-manager-client-devel
BuildRequires:	libkey-manager-client
BuildRequires:	libkey-manager-common
BuildRequires:	libaccount-service
BuildRequires:	libaccount-service-devel
BuildRequires:	libcore-sync-client
BuildRequires:	libcore-sync-client-devel
BuildRequires:	libdlog
BuildRequires:	libdlog-devel
BuildRequires:	libeom
BuildRequires:	libeom-devel
BuildRequires:	libfeedback
BuildRequires:	libfeedback-devel
BuildRequires:	libpush
BuildRequires:	libpush-devel
BuildRequires:	libshortcut
BuildRequires:	libshortcut-devel
BuildRequires:	libstorage
BuildRequires:	libstorage-devel
BuildRequires:	libtbm
BuildRequires:	libtbm-devel
BuildRequires:	minicontrol
BuildRequires:	minicontrol-devel
BuildRequires:	multi-assistant
BuildRequires:	multi-assistant-devel
BuildRequires:	notification
BuildRequires:	notification-devel
BuildRequires:	notification-ex
BuildRequires:	notification-ex-devel
BuildRequires:	phonenumber-utils
BuildRequires:	phonenumber-utils-devel
BuildRequires:	privilege-info
BuildRequires:	privilege-info-devel
BuildRequires:	rpc-port
BuildRequires:	rpc-port-devel
BuildRequires:	stt
BuildRequires:	stt-devel
BuildRequires:	stt-engine-devel
BuildRequires:	tizen-core
BuildRequires:	tizen-core-devel
BuildRequires:	ttrace
BuildRequires:	ttrace-devel
BuildRequires:	tts
BuildRequires:	tts-devel
BuildRequires:	tts-engine-devel
BuildRequires:	tzsh
BuildRequires:	tzsh-devel
BuildRequires:	update-control
BuildRequires:	update-control-devel
BuildRequires:	voice-control-elm
BuildRequires:	voice-control-elm-devel
BuildRequires:	voice-control
BuildRequires:	voice-control-devel
BuildRequires:	voice-control-manager-devel
BuildRequires:	voice-control-engine-devel
BuildRequires:	libwidget_service
BuildRequires:	libwidget_service-devel
BuildRequires:	libwidget_viewer_evas
BuildRequires:	libwidget_viewer_evas-devel
BuildRequires:	yaca-devel
BuildRequires:	yaca
BuildRequires:	coregl
BuildRequires:	coregl-devel
BuildRequires:	fontconfig
BuildRequires:	fontconfig-devel
BuildRequires:	libfreetype
BuildRequires:	freetype2-devel
BuildRequires:	glib2-devel
BuildRequires:	glib2-devel-static
BuildRequires:	libgio
BuildRequires:	libglib
BuildRequires:	libgmodule
BuildRequires:	libgobject
BuildRequires:	libgthread
BuildRequires:	libharfbuzz
BuildRequires:	harfbuzz-devel
BuildRequires:	libjson-glib
BuildRequires:	json-glib-devel
BuildRequires:	kernel-headers
BuildRequires:	libexif
BuildRequires:	libexif-devel
BuildRequires:	liboauth
BuildRequires:	liboauth-devel
BuildRequires:	openal-soft
BuildRequires:	openal-soft-devel
BuildRequires:	SDL2
BuildRequires:	SDL2-devel
BuildRequires:	tef-libteec
BuildRequires:	tef-libteec-devel
BuildRequires:	vulkan-loader
BuildRequires:	vulkan-loader-devel
BuildRequires:	vulkan-headers
BuildRequires:	libasan
BuildRequires:	glibc
BuildRequires:	glibc-devel
BuildRequires:	glibc-devel-static
BuildRequires:	glibc-devel-utils
BuildRequires:	glibc-extra
BuildRequires:	glibc-locale
BuildRequires:	glibc-profile
BuildRequires:	linux-glibc-devel
BuildRequires:	libcurl
BuildRequires:	libcurl-devel
BuildRequires:	libicu
BuildRequires:	libicu-devel
BuildRequires:	libxml2
BuildRequires:	libxml2-devel
BuildRequires:	minizip
BuildRequires:	minizip-devel
BuildRequires:	openssl3
BuildRequires:	libopenssl3
BuildRequires:	libopenssl3-devel
BuildRequires:	libsqlite
BuildRequires:	sqlite
BuildRequires:	sqlite-devel
BuildRequires:	zlib
BuildRequires:	zlib-devel

BuildRequires:  pkgconfig(hal-api-audio)
BuildRequires:  pkgconfig(hal-api-bluetooth)
BuildRequires:  pkgconfig(hal-api-camera)
BuildRequires:  pkgconfig(hal-api-common)
BuildRequires:  pkgconfig(hal-api-device)
BuildRequires:  pkgconfig(hal-api-location)
BuildRequires:  pkgconfig(hal-api-nfc)
BuildRequires:  pkgconfig(hal-api-power)
BuildRequires:  pkgconfig(hal-api-radio)
BuildRequires:  pkgconfig(hal-api-sensor)
BuildRequires:  pkgconfig(hal-api-tbm)
BuildRequires:  pkgconfig(hal-api-tdm)
BuildRequires:  pkgconfig(hal-api-uwb)
BuildRequires:  pkgconfig(hal-api-wifi)
BuildRequires:  pkgconfig(hal-api-zigbee)

### hal-rootstrap-devel
%package -n	%{devel_name}
Summary:	%{name} interface
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description -n	%{devel_name}
%{name} Interface for product vendor developer


### hal-rootstrap
%description
Package for rootstrap of hal

%prep
%setup -q
%cmake . -DCMAKE_LIBDIR_PREFIX=%{_libdir}

%build
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
mkdir %{buildroot}
./generate_rootstrap.sh "%{_arch}" "%{buildroot}%{hal_rootstrap_install_path}"

mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp packaging/hal-rootstrap.pc %{buildroot}%{_libdir}/pkgconfig/
./modify_pc.py "%{buildroot}%{_libdir}/pkgconfig/hal-rootstrap.pc" "%{buildroot}%{hal_rootstrap_install_path}/%{_libdir}/pkgconfig"

%files
%{hal_rootstrap_install_path}/etc/*
%{hal_rootstrap_install_path}/lib/*
%{hal_rootstrap_install_path}/usr/share/*
%{hal_rootstrap_install_path}/%{_libdir}/*

%files	-n %{devel_name}
%defattr(-,root,root,-)
%{hal_rootstrap_install_path}/%{_includedir}/*
%{hal_rootstrap_install_path}/%{_libdir}/pkgconfig/*.pc
%{_libdir}/pkgconfig/*.pc