2 # This spec file is used to build DALi Adaptor for different Tizen Profiles
3 # Current profiles are: Mobile, TV, Wearable, Common
5 # The profile variable is defined outside of the spec file in a build.conf file.
6 # It will contain the profile and whether or not to build with X11 or Wayland
8 # gbs will try to download the build.conf for the platform automatically from the repo location when
9 # performing a gbs build ( use gbs build -v to see it download location) E.g.
10 # http://download.tizen.org/snapshots/tizen/tv/tizen-tv/repos/arm-wayland/packages/repodata/xxxx-build.conf.gz
12 # Do not provide .so automatically for the extensions.
13 # This if statement is for backward compatibility with GBM/Obsolete build systems
14 %if "%{?profile}" != "wearable" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
15 %global __provides_exclude_from ^.*\\.(wearable|mobile|tv|ivi|common)$
21 Summary: The DALi Tizen Adaptor
24 Group: System/Libraries
25 License: Apache-2.0 and BSD-3-Clause and MIT
26 URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
27 Source0: %{name}-%{version}.tar.gz
29 Requires(post): /sbin/ldconfig
30 Requires(postun): /sbin/ldconfig
33 #need libtzplatform-config for directory if tizen version is 3.x
35 %if 0%{?tizen_version_major} >= 3
36 %define tizen_platform_config_supported 1
37 BuildRequires: pkgconfig(libtzplatform-config)
41 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
43 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
44 %define profile %{tizen_profile_name}
47 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
48 # if wearable || "undefined"
49 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
50 BuildRequires: pkgconfig(capi-appfw-watch-application)
51 BuildRequires: pkgconfig(appcore-watch)
52 BuildRequires: pkgconfig(screen_connector_provider)
55 BuildRequires: pkgconfig(gles20)
56 BuildRequires: pkgconfig(glesv2)
57 BuildRequires: dali-devel-cxx03
58 BuildRequires: dali-integration-devel-cxx03
59 BuildRequires: dali-devel
60 BuildRequires: dali-integration-devel
61 BuildRequires: pkgconfig
63 BuildRequires: giflib-devel
64 BuildRequires: pkgconfig(fontconfig)
65 BuildRequires: libjpeg-turbo-devel
66 BuildRequires: pkgconfig(vconf)
67 BuildRequires: tts-devel
68 BuildRequires: pkgconfig(dlog)
69 BuildRequires: libdrm-devel
70 BuildRequires: pkgconfig(libexif)
71 BuildRequires: pkgconfig(libpng)
72 BuildRequires: pkgconfig(egl)
73 BuildRequires: libcurl-devel
74 BuildRequires: pkgconfig(harfbuzz)
75 BuildRequires: fribidi-devel
76 BuildRequires: pkgconfig(capi-system-info)
77 BuildRequires: pkgconfig(capi-system-sensor)
79 # Tizen currently does not have libuv as a separate libuv package
80 # So we have to look into the uv headers bundled inside node-js
81 BuildRequires: nodejs-devel
86 ####### BUILDING FOR WAYLAND #######
87 BuildRequires: pkgconfig(wayland-egl)
88 BuildRequires: pkgconfig(wayland-client)
89 BuildRequires: wayland-devel
90 BuildRequires: wayland-extension-client-devel
92 # dali-adaptor-uv uses libuv mainloop and has its own wayland client (it needs wayland-client headers).
93 BuildRequires: libxkbcommon-devel
95 # dali-adaptor uses ecore mainloop
96 BuildRequires: pkgconfig(ecore-wayland)
98 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
99 BuildRequires: pkgconfig(libtbm)
101 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
102 #BuildRequires: pkgconfig(tpkp-curl)
103 BuildRequires: pkgconfig(tpkp-curl-cxx03)
104 BuildRequires: pkgconfig(tpkp-curl)
105 ####### BUILDING FOR X11#######
107 BuildRequires: pkgconfig(egl)
108 BuildRequires: pkgconfig(xext)
109 BuildRequires: pkgconfig(xi)
110 BuildRequires: pkgconfig(xfixes)
111 BuildRequires: pkgconfig(xdamage)
112 BuildRequires: pkgconfig(utilX)
116 BuildRequires: pkgconfig(evas)
117 BuildRequires: pkgconfig(elementary)
118 BuildRequires: pkgconfig(capi-appfw-application)
119 BuildRequires: pkgconfig(capi-system-system-settings)
121 # for feedback plugin
122 BuildRequires: pkgconfig(mm-sound)
123 BuildRequires: pkgconfig(feedback)
125 # for videoplayer Plugin
126 BuildRequires: pkgconfig(capi-media-player)
130 Requires: %{name}-compat = %{version}-%{release}
131 Recommends: %{name}-profile_common = %{version}-%{release}
134 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
135 platform abstraction and application shell
138 Summary: The DALi Tizen Adaptor DALi Tizen Adaptor with cxx03 abi
139 Provides: %{name}-cxx03 = %{version}-%{release}
142 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
143 platform abstraction and application shell
145 ###########################################
146 # Dali adapter for profiles
147 ###########################################
149 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
150 # if mobile || "undefined"
151 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
152 %package profile_mobile
153 Summary: The DALi Tizen Adaptor for mobile
154 Provides: %{name}-compat = %{version}-%{release}
155 Conflicts: %{name}-profile_tv
156 Conflicts: %{name}-profile_wearable
157 Conflicts: %{name}-profile_ivi
158 Conflicts: %{name}-profile_common
159 %description profile_mobile
160 The DALi Tizen Adaptor for mobile.
163 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
164 # if tv ||"undefined"
165 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
167 Summary: The DALi Tizen Adaptor for tv
168 Provides: %{name}-compat = %{version}-%{release}
169 Conflicts: %{name}-profile_mobile
170 Conflicts: %{name}-profile_wearable
171 Conflicts: %{name}-profile_ivi
172 Conflicts: %{name}-profile_common
173 %description profile_tv
174 The DALi Tizen Adaptor for tv.
177 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
178 # if wearable || "undefined"
179 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
180 %package profile_wearable
181 Summary: The DALi Tizen Adaptor for wearable
182 Provides: %{name}-compat = %{version}-%{release}
183 Conflicts: %{name}-profile_mobile
184 Conflicts: %{name}-profile_tv
185 Conflicts: %{name}-profile_ivi
186 Conflicts: %{name}-profile_common
187 %description profile_wearable
188 The DALi Tizen Adaptor for wearable.
191 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
192 # if ivi ||"undefined"
193 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
195 Summary: The DALi Tizen Adaptor for ivi
196 Provides: %{name}-compat = %{version}-%{release}
197 Conflicts: %{name}-profile_mobile
198 Conflicts: %{name}-profile_wearable
199 Conflicts: %{name}-profile_tv
200 Conflicts: %{name}-profile_common
201 %description profile_ivi
202 The DALi Tizen Adaptor for ivi.
205 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
206 # if common ||"undefined"
207 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
208 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
209 %package profile_common
210 %define tizen_2_2_compatibility 0
211 Summary: The DALi Tizen Adaptor for common
212 Provides: %{name}-compat = %{version}-%{release}
213 Conflicts: %{name}-profile_mobile
214 Conflicts: %{name}-profile_wearable
215 Conflicts: %{name}-profile_tv
216 Conflicts: %{name}-profile_ivi
217 %description profile_common
218 The DALi Tizen Adaptor for common.
222 ###########################################
223 # Dali adapter for profiles for cxx03 ABI
224 ###########################################
226 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
227 # if mobile || "undefined"
228 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
229 %package profile_mobile-cxx03
230 Summary: The DALi Tizen Adaptor for mobile
231 Provides: %{name}-cxx03-compat = %{version}-%{release}
232 Conflicts: %{name}-profile_tv-cxx03
233 Conflicts: %{name}-profile_wearable-cxx03
234 Conflicts: %{name}-profile_ivi-cxx03
235 Conflicts: %{name}-profile_common-cxx03
236 %description profile_mobile-cxx03
237 The DALi Tizen Adaptor for mobile.
240 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
241 # if tv ||"undefined"
242 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
243 %package profile_tv-cxx03
244 Summary: The DALi Tizen Adaptor for tv
245 Provides: %{name}-cxx03-compat = %{version}-%{release}
246 Conflicts: %{name}-profile_mobile-cxx03
247 Conflicts: %{name}-profile_wearable-cxx03
248 Conflicts: %{name}-profile_ivi-cxx03
249 Conflicts: %{name}-profile_common-cxx03
250 %description profile_tv-cxx03
251 The DALi Tizen Adaptor for tv.
254 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
255 # if wearable || "undefined"
256 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
257 %package profile_wearable-cxx03
258 Summary: The DALi Tizen Adaptor for wearable
259 Provides: %{name}-cxx03-compat = %{version}-%{release}
260 Conflicts: %{name}-profile_mobile-cxx03
261 Conflicts: %{name}-profile_tv-cxx03
262 Conflicts: %{name}-profile_ivi-cxx03
263 Conflicts: %{name}-profile_common-cxx03
264 %description profile_wearable-cxx03
265 The DALi Tizen Adaptor for wearable.
268 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
269 # if ivi ||"undefined"
270 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
271 %package profile_ivi-cxx03
272 Summary: The DALi Tizen Adaptor for ivi
273 Provides: %{name}-cxx03-compat = %{version}-%{release}
274 Conflicts: %{name}-profile_mobile-cxx03
275 Conflicts: %{name}-profile_wearable-cxx03
276 Conflicts: %{name}-profile_tv-cxx03
277 Conflicts: %{name}-profile_common-cxx03
278 %description profile_ivi-cxx03
279 The DALi Tizen Adaptor for ivi.
282 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
283 # if common ||"undefined"
284 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
285 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
286 %package profile_common-cxx03
287 %define tizen_2_2_compatibility 0
288 Summary: The DALi Tizen Adaptor for common
289 Provides: %{name}-cxx03-compat = %{version}-%{release}
290 Conflicts: %{name}-profile_mobile-cxx03
291 Conflicts: %{name}-profile_wearable-cxx03
292 Conflicts: %{name}-profile_tv-cxx03
293 Conflicts: %{name}-profile_ivi-cxx03
294 %description profile_common-cxx03
295 The DALi Tizen Adaptor for common.
300 ##############################
302 ##############################
304 Summary: Development components for the DALi Tizen Adaptor
305 Group: Development/Building
306 Requires: %{name} = %{version}-%{release}
307 Requires: %{name}-integration-devel = %{version}-%{release}
310 Development components for the DALi Tizen Adaptor - public headers and package configs
312 ##############################
314 ##############################
315 %package integration-devel
316 Summary: Integration development package for the Adaptor
317 Group: Development/Building
318 Requires: %{name} = %{version}-%{release}
320 %description integration-devel
321 Integration development package for the Adaptor - headers for integrating with an adaptor library.
324 ##############################
326 ##############################
328 Summary: Development components for the DALi Tizen Adaptor
329 Group: Development/Building
330 Requires: %{name}-cxx03 = %{version}-%{release}
331 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
333 %description devel-cxx03
334 Development components for the DALi Tizen Adaptor - public headers and package configs
336 ##############################
337 # integration-devel cxx03
338 ##############################
339 %package integration-devel-cxx03
340 Summary: Integration development package for the Adaptor
341 Group: Development/Building
342 Requires: %{name}-cxx03 = %{version}-%{release}
344 %description integration-devel-cxx03
345 Integration development package for the Adaptor - headers for integrating with an adaptor library.
348 ##############################
349 # Dali Feedback Plugin
350 ##############################
352 %package dali-feedback-plugin
353 Summary: Plugin to play haptic and audio feedback for Dali
354 Group: System/Libraries
355 Requires: %{name} = %{version}-%{release}
356 %description dali-feedback-plugin
357 eedback plugin to play haptic and audio feedback for Dali
359 ##############################
360 # Dali VideoPlayer Plugin
361 ##############################
364 %package dali-video-player-plugin
365 Summary: Plugin to play a video file for Dali
366 Group: System/Libraries
367 %description dali-video-player-plugin
368 VideoPlayer plugin to play a video file for Dali
371 ##############################
372 # Dali Feedback Plugin cxx03
373 ##############################
375 %package dali-feedback-plugin-cxx03
376 Summary: Plugin to play haptic and audio feedback for Dali
377 Group: System/Libraries
378 Requires: %{name}-cxx03 = %{version}-%{release}
379 %description dali-feedback-plugin-cxx03
380 eedback plugin to play haptic and audio feedback for Dali
382 ##############################
383 # Dali VideoPlayer Plugin
384 ##############################
387 %package dali-video-player-plugin-cxx03
388 Summary: Plugin to play a video file for Dali
389 Group: System/Libraries
390 %description dali-video-player-plugin-cxx03
391 VideoPlayer plugin to play a video file for Dali
395 ##############################
397 ##############################
401 #Use TZ_PATH when tizen version is 3.x or greater
403 %if 0%{?tizen_version_major} >= 3
404 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
405 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
406 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
407 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
408 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
409 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
411 %define dali_data_rw_dir /usr/share/dali/
412 %define dali_data_ro_dir /usr/share/dali/
413 %define font_preloaded_path /usr/share/fonts/
414 %define font_downloaded_path /opt/share/fonts/
415 %define font_application_path /usr/share/app_fonts/
416 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
419 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
420 %define dali_plugin_sound_files /plugins/sounds/
421 %define dev_include_path %{_includedir}
423 ##############################
425 ##############################
428 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
429 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
432 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
437 CXXFLAGS+=" -DWAYLAND"
438 configure_flags="--enable-wayland"
441 %if 0%{?tizen_2_2_compatibility}
442 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
443 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
447 cd %{_builddir}/%{name}-%{version}/build/tizen
450 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
451 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
452 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
453 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
454 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
455 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
456 %if 0%{?tizen_platform_config_supported}
457 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
460 # Default to GLES 2.0 if not specified.
461 %define target_gles_version 20
463 #--enable-efl=no \ # only affects dali-adaptor-uv
464 #--enable-appfw=yes \ # affects both dali-adaptor & dali-adaptor-uv
465 #--with-libuv=/usr/include/node/ \ # only affects dali-adaptor-uv
467 # Set up the build via configure.
468 #######################################################################
469 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
470 # if mobile || "undefined"
471 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
473 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
474 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
476 --enable-videoplayer \
477 %if 0%{?tizen_2_2_compatibility}
478 --with-tizen-2-2-compatibility \
485 %if 0%{?enable_debug}
489 --with-libuv=/usr/include/node/ \
490 $configure_flags --libdir=%{_libdir}
493 make %{?jobs:-j%jobs}
495 pushd %{_builddir}/%{name}-%{version}/build/tizen
496 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
499 pushd %{buildroot}%{_libdir}
500 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
501 for FILE in libdali-*plugin*_cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
502 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
509 #######################################################################
510 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
511 # if tv ||"undefined"
512 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
514 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
515 --enable-shaderbincache=DISABLE --enable-profile=TV \
517 --enable-videoplayer \
518 %if 0%{?tizen_2_2_compatibility}
519 --with-tizen-2-2-compatibility \
526 %if 0%{?enable_debug}
530 --with-libuv=/usr/include/node/ \
531 $configure_flags --libdir=%{_libdir}
534 make %{?jobs:-j%jobs}
536 pushd %{_builddir}/%{name}-%{version}/build/tizen
537 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
540 pushd %{buildroot}%{_libdir}
541 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
542 for FILE in libdali-*plugin*_cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
543 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
549 #######################################################################
550 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
551 # if wearable || "undefined"
552 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
554 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
555 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
557 --enable-videoplayer \
558 %if 0%{?tizen_2_2_compatibility}
559 --with-tizen-2-2-compatibility \
566 %if 0%{?enable_debug}
570 --with-libuv=/usr/include/node/ \
571 $configure_flags --libdir=%{_libdir}
574 make %{?jobs:-j%jobs}
576 pushd %{_builddir}/%{name}-%{version}/build/tizen
577 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
580 pushd %{buildroot}%{_libdir}
581 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
582 for FILE in libdali-*plugin*_cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
583 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
589 #######################################################################
590 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
591 # if ivi ||"undefined"
592 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
594 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
595 --enable-shaderbincache=DISABLE --enable-profile=IVI \
597 --enable-videoplayer \
598 %if 0%{?tizen_2_2_compatibility}
599 --with-tizen-2-2-compatibility \
606 %if 0%{?enable_debug}
610 --with-libuv=/usr/include/node/ \
611 $configure_flags --libdir=%{_libdir}
614 make %{?jobs:-j%jobs}
616 pushd %{_builddir}/%{name}-%{version}/build/tizen
617 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
620 pushd %{buildroot}%{_libdir}
621 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
622 for FILE in libdali-*plugin*_cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
624 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
630 #######################################################################
631 # common ( build dali_videoplayer_plugin for common uses )
632 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
633 # if common ||"undefined"
634 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
636 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
637 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
639 --enable-videoplayer \
640 %if 0%{?tizen_2_2_compatibility}
641 --with-tizen-2-2-compatibility \
648 %if 0%{?enable_debug}
652 --with-libuv=/usr/include/node/ \
653 $configure_flags --libdir=%{_libdir}
656 make %{?jobs:-j%jobs}
658 pushd %{_builddir}/%{name}-%{version}/build/tizen
659 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
662 pushd %{buildroot}%{_libdir}
663 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
664 for FILE in libdali-*plugin*_cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
666 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
673 #######################################################################
675 #######################################################################
677 # Set up the build via configure.
678 #######################################################################
679 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
680 # if mobile || "undefined"
681 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
683 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
684 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
686 --enable-videoplayer \
687 --enable-cxx03-abi=yes \
688 %if 0%{?tizen_2_2_compatibility}
689 --with-tizen-2-2-compatibility \
696 %if 0%{?enable_debug}
700 --with-libuv=/usr/include/node/ \
701 $configure_flags --libdir=%{_libdir}
704 make %{?jobs:-j%jobs}
706 pushd %{_builddir}/%{name}-%{version}/build/tizen
707 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
710 pushd %{buildroot}%{_libdir}
711 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
712 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
719 #######################################################################
720 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
721 # if tv ||"undefined"
722 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
724 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
725 --enable-shaderbincache=DISABLE --enable-profile=TV \
727 --enable-videoplayer \
728 --enable-cxx03-abi=yes \
729 %if 0%{?tizen_2_2_compatibility}
730 --with-tizen-2-2-compatibility \
737 %if 0%{?enable_debug}
741 --with-libuv=/usr/include/node/ \
742 $configure_flags --libdir=%{_libdir}
745 make %{?jobs:-j%jobs}
747 pushd %{_builddir}/%{name}-%{version}/build/tizen
748 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
751 pushd %{buildroot}%{_libdir}
752 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
753 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
759 #######################################################################
760 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
761 # if wearable || "undefined"
762 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
764 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
765 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
767 --enable-videoplayer \
768 --enable-cxx03-abi=yes \
769 %if 0%{?tizen_2_2_compatibility}
770 --with-tizen-2-2-compatibility \
777 %if 0%{?enable_debug}
781 --with-libuv=/usr/include/node/ \
782 $configure_flags --libdir=%{_libdir}
785 make %{?jobs:-j%jobs}
787 pushd %{_builddir}/%{name}-%{version}/build/tizen
788 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
791 pushd %{buildroot}%{_libdir}
792 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
793 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
799 #######################################################################
800 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
801 # if ivi ||"undefined"
802 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
804 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
805 --enable-shaderbincache=DISABLE --enable-profile=IVI \
807 --enable-videoplayer \
808 --enable-cxx03-abi=yes \
809 %if 0%{?tizen_2_2_compatibility}
810 --with-tizen-2-2-compatibility \
817 %if 0%{?enable_debug}
821 --with-libuv=/usr/include/node/ \
822 $configure_flags --libdir=%{_libdir}
825 make %{?jobs:-j%jobs}
827 pushd %{_builddir}/%{name}-%{version}/build/tizen
828 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
831 pushd %{buildroot}%{_libdir}
832 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
833 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
839 #######################################################################
840 # common ( build dali_videoplayer_plugin for common uses )
841 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
842 # if common ||"undefined"
843 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
845 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
846 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
848 --enable-videoplayer \
849 --enable-cxx03-abi=yes \
850 %if 0%{?tizen_2_2_compatibility}
851 --with-tizen-2-2-compatibility \
858 %if 0%{?enable_debug}
862 --with-libuv=/usr/include/node/ \
863 $configure_flags --libdir=%{_libdir}
866 make %{?jobs:-j%jobs}
870 ##############################
872 ##############################
876 pushd %{_builddir}/%{name}-%{version}/build/tizen
877 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
879 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
880 # !unified && (wearable || tv || ivi || mobile)
881 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
882 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
885 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
886 # wearable || tv || ivi || mobile || unified
887 %if "%{?profile}" != "common"
888 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
889 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
893 ################################################
895 ###############################################
896 pushd %{buildroot}%{_libdir}
898 rm -rf libdali-adaptor*.so
899 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
900 ln -s libdali-adaptor_cxx11.so.0.0.0 libdali-adaptor.so
901 ln -s libdali-adaptor-uv.so.0.0.0 libdali-adaptor-uv-cxx03.so
902 ln -s libdali-adaptor-uv_cxx11.so.0.0.0 libdali-adaptor-uv.so
904 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
905 rm -rf libdali-adaptor*.so.wearable
906 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
907 ln -s libdali-adaptor_cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
908 ln -s libdali-adaptor-uv.so.0.0.*.wearable libdali-adaptor-uv-cxx03.so.wearable
909 ln -s libdali-adaptor-uv_cxx11.so.0.0.*.wearable libdali-adaptor-uv.so.wearable
912 #%if "%{?profile}" != "wearable" && "%{?profile}" == "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
913 rm -rf libdali-adaptor*.so.tv
914 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
915 ln -s libdali-adaptor_cxx11.so.0.0.*.tv libdali-adaptor.so.tv
916 ln -s libdali-adaptor-uv.so.0.0.*.tv libdali-adaptor-uv-cxx03.so.tv
917 ln -s libdali-adaptor-uv_cxx11.so.0.0.*.tv libdali-adaptor-uv.so.tv
920 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" == "ivi" && "%{?profile}" != "mobile"
921 rm -rf libdali-adaptor*.so.ivi
922 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
923 ln -s libdali-adaptor_cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
924 ln -s libdali-adaptor-uv.so.0.0.*.ivi libdali-adaptor-uv-cxx03.so.ivi
925 ln -s libdali-adaptor-uv_cxx11.so.0.0.*.ivi libdali-adaptor-uv.so.ivi
928 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" == "mobile"
929 rm -rf libdali-adaptor*.so.mobile
930 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
931 ln -s libdali-adaptor_cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
932 ln -s libdali-adaptor-uv.so.0.0.*.mobile libdali-adaptor-uv-cxx03.so.mobile
933 ln -s libdali-adaptor-uv_cxx11.so.0.0.*.mobile libdali-adaptor-uv.so.mobile
937 ##############################
939 # 1 - Pre Install new package
940 # 2 - Install new package
941 # 3 - Post install new package
942 # 4 - Pre uninstall old package
943 # 5 - Remove files not overwritten by new package
944 # 6 - Post uninstall old package
945 ##############################
950 ##############################
951 # Post, Preun, Postun Install new package
952 ##############################
965 %post dali-video-player-plugin
971 %postun dali-video-player-plugin
976 ##############################
978 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
979 # if mobile || "undefined"
980 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
983 for FILE in libdali-adaptor_cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
984 for FILE in libdali-adaptor-uv_cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
989 %postun profile_mobile
994 ##############################
996 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
997 # if tv ||"undefined"
998 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1001 for FILE in libdali-adaptor_cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1002 for FILE in libdali-adaptor-uv_cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1012 ##############################
1014 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1015 # if wearable || "undefined"
1016 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1017 %post profile_wearable
1019 for FILE in libdali-adaptor_cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1020 for FILE in libdali-adaptor-uv_cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1025 %postun profile_wearable
1030 ##############################
1032 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1033 # if ivi ||"undefined"
1034 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1037 for FILE in libdali-adaptor_cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1038 for FILE in libdali-adaptor-uv_cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1048 ##############################
1050 #############################
1051 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1052 # if mobile || "undefined"
1053 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1054 %post profile_mobile-cxx03
1056 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1057 for FILE in libdali-adaptor-uv.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1062 %postun profile_mobile-cxx03
1067 ##############################
1069 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1070 # if tv ||"undefined"
1071 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1072 %post profile_tv-cxx03
1074 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1075 for FILE in libdali-adaptor-uv.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1080 %postun profile_tv-cxx03
1085 ##############################
1087 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1088 # if wearable || "undefined"
1089 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1090 %post profile_wearable-cxx03
1092 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1093 for FILE in libdali-adaptor-uv.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1098 %postun profile_wearable-cxx03
1103 ##############################
1105 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1106 # if ivi ||"undefined"
1107 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1108 %post profile_ivi-cxx03
1110 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1111 for FILE in libdali-adaptor-uv.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1116 %postun profile_ivi-cxx03
1122 ##############################
1123 # Files in Binary Packages
1124 ##############################
1127 %manifest dali-adaptor.manifest
1128 %defattr(-,root,root,-)
1129 %defattr(-,app,app,-)
1130 %dir %{user_shader_cache_dir}
1133 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1134 # if common ||"undefined"
1135 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1136 %defattr(-,root,root,-)
1137 %{_libdir}/libdali-adaptor_cxx11.so.0*
1138 %{_libdir}/libdali-adaptor-uv_cxx11.so.0*
1139 %{_libdir}/libdali-adaptor.so
1140 %{_libdir}/libdali-adaptor-uv.so
1141 %exclude %{_libdir}/libdali-adap*.so*.mobile
1142 %exclude %{_libdir}/libdali-adap*.so*.wearable
1143 %exclude %{_libdir}/libdali-adap*.so*.tv
1144 %exclude %{_libdir}/libdali-adap*.so*.ivi
1148 %manifest dali-adaptor.manifest
1149 %defattr(-,root,root,-)
1150 %defattr(-,app,app,-)
1151 %dir %{user_shader_cache_dir}
1154 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1155 # if common ||"undefined"
1156 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1157 %defattr(-,root,root,-)
1158 %{_libdir}/libdali-adaptor.so.0*
1159 %{_libdir}/libdali-adaptor-uv.so.0*
1160 %{_libdir}/libdali-adaptor-cxx03.so
1161 %{_libdir}/libdali-adaptor-uv-cxx03.so
1162 %exclude %{_libdir}/libdali-adap*.so*.mobile
1163 %exclude %{_libdir}/libdali-adap*.so*.wearable
1164 %exclude %{_libdir}/libdali-adap*.so*.tv
1165 %exclude %{_libdir}/libdali-adap*.so*.ivi
1169 %files dali-video-player-plugin-cxx03
1170 %manifest dali-adaptor.manifest
1171 %defattr(-,root,root,-)
1172 %{_libdir}/libdali-video-player-plugin.so*
1176 %files dali-feedback-plugin-cxx03
1177 %manifest dali-adaptor.manifest
1178 %defattr(-,root,root,-)
1179 %{_libdir}/libdali-feedback-plugin.so*
1180 %{dali_plugin_sound_files}/*
1182 #################################################
1184 #################################################
1186 %files dali-video-player-plugin
1187 %manifest dali-adaptor.manifest
1188 %defattr(-,root,root,-)
1189 %{_libdir}/libdali-video-player-plugin_cxx11.so*
1193 %files dali-feedback-plugin
1194 %manifest dali-adaptor.manifest
1195 %defattr(-,root,root,-)
1196 %{_libdir}/libdali-feedback-plugin_cxx11.so*
1197 %{dali_plugin_sound_files}/*
1199 #################################################
1201 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1202 # if common ||"undefined"
1203 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1204 %files profile_common
1205 # default .so files are housed in the main pkg.
1208 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1209 # if mobile || "undefined"
1210 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1211 %files profile_mobile
1212 %manifest dali-adaptor.manifest
1213 %defattr(-,root,root,-)
1214 %{_libdir}/libdali-adaptor.so.mobile
1215 %{_libdir}/libdali-adaptor-uv.so.mobile
1216 %{_libdir}/libdali-adaptor_cxx11.so.0*.mobile
1217 %{_libdir}/libdali-adaptor-uv_cxx11.so.0*.mobile
1220 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1221 # if tv ||"undefined"
1222 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1224 %manifest dali-adaptor.manifest
1225 %defattr(-,root,root,-)
1226 %{_libdir}/libdali-adaptor.so.tv
1227 %{_libdir}/libdali-adaptor-uv.so.tv
1228 %{_libdir}/libdali-adaptor_cxx11.so.0*.tv
1229 %{_libdir}/libdali-adaptor-uv_cxx11.so.0*.tv
1232 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1233 # if wearable || "undefined"
1234 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1235 %files profile_wearable
1236 %manifest dali-adaptor.manifest
1237 %defattr(-,root,root,-)
1238 %{_libdir}/libdali-adaptor.so.wearable
1239 %{_libdir}/libdali-adaptor-uv.so.wearable
1240 %{_libdir}/libdali-adaptor_cxx11.so.0*.wearable
1241 %{_libdir}/libdali-adaptor-uv_cxx11.so.0*.wearable
1244 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1245 # if ivi ||"undefined"
1246 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1248 %manifest dali-adaptor.manifest
1249 %defattr(-,root,root,-)
1250 %{_libdir}/libdali-adaptor.so.ivi
1251 %{_libdir}/libdali-adaptor-uv.so.ivi
1252 %{_libdir}/libdali-adaptor_cxx11.so.0*.ivi
1253 %{_libdir}/libdali-adaptor-uv_cxx11.so.0*.ivi
1258 %defattr(-,root,root,-)
1259 %{dev_include_path}/dali/dali.h
1260 %{dev_include_path}/dali/public-api/*
1261 %{dev_include_path}/dali/devel-api/*
1262 %{dev_include_path}/dali/doc/*
1263 %{_libdir}/pkgconfig/dali-adaptor.pc
1264 %{_libdir}/pkgconfig/dali-adaptor-uv.pc
1266 %files integration-devel
1267 %defattr(-,root,root,-)
1268 %{dev_include_path}/dali/integration-api/adaptors/*
1269 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1272 ################################################
1274 ################################################
1276 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1277 # if common ||"undefined"
1278 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1279 %files profile_common-cxx03
1280 # default .so files are housed in the main pkg.
1283 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1284 # if mobile || "undefined"
1285 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1286 %files profile_mobile-cxx03
1287 %manifest dali-adaptor.manifest
1288 %defattr(-,root,root,-)
1289 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1290 %{_libdir}/libdali-adaptor-uv-cxx03.so.mobile
1291 %{_libdir}/libdali-adaptor.so.0*mobile
1292 %{_libdir}/libdali-adaptor-uv.so.0*mobile
1295 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1296 # if tv ||"undefined"
1297 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1298 %files profile_tv-cxx03
1299 %manifest dali-adaptor.manifest
1300 %defattr(-,root,root,-)
1301 %{_libdir}/libdali-adaptor-cxx03.so.tv
1302 %{_libdir}/libdali-adaptor-uv-cxx03.so.tv
1303 %{_libdir}/libdali-adaptor.so.0*.tv
1304 %{_libdir}/libdali-adaptor-uv.so.0*.tv
1307 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1308 # if wearable || "undefined"
1309 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1310 %files profile_wearable-cxx03
1311 %manifest dali-adaptor.manifest
1312 %defattr(-,root,root,-)
1313 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1314 %{_libdir}/libdali-adaptor-uv-cxx03.so.wearable
1315 %{_libdir}/libdali-adaptor.so.0*.wearable
1316 %{_libdir}/libdali-adaptor-uv.so.0*.wearable
1319 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1320 # if ivi ||"undefined"
1321 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1322 %files profile_ivi-cxx03
1323 %manifest dali-adaptor.manifest
1324 %defattr(-,root,root,-)
1325 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1326 %{_libdir}/libdali-adaptor-uv-cxx03.so.ivi
1327 %{_libdir}/libdali-adaptor.so.0*.ivi
1328 %{_libdir}/libdali-adaptor-uv.so.0*.ivi
1333 %defattr(-,root,root,-)
1334 %{dev_include_path}/dali/dali.h
1335 %{dev_include_path}/dali/public-api/*
1336 %{dev_include_path}/dali/devel-api/*
1337 %{dev_include_path}/dali/doc/*
1338 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1339 %{_libdir}/pkgconfig/dali-adaptor-uv-cxx03.pc
1341 %files integration-devel-cxx03
1342 %defattr(-,root,root,-)
1343 %{dev_include_path}/dali/integration-api/adaptors/*
1344 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc