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)$
18 %bcond_without wayland
22 Summary: The DALi Tizen Adaptor
25 Group: System/Libraries
26 License: Apache-2.0 and BSD-3-Clause and MIT
27 URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
28 Source0: %{name}-%{version}.tar.gz
30 Requires(post): /sbin/ldconfig
31 Requires(postun): /sbin/ldconfig
34 #need libtzplatform-config for directory if tizen version is 3.x
36 %if 0%{?tizen_version_major} >= 3
37 %define tizen_platform_config_supported 1
38 BuildRequires: pkgconfig(libtzplatform-config)
41 %if 0%{?tizen_version_major} < 4
42 %define disable_cxx03_build 1
45 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
47 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
48 %define profile %{tizen_profile_name}
51 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
52 # if wearable || "undefined"
53 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
54 BuildRequires: pkgconfig(capi-appfw-watch-application)
55 BuildRequires: pkgconfig(appcore-watch)
56 BuildRequires: pkgconfig(screen_connector_provider)
59 BuildRequires: pkgconfig(gles20)
60 BuildRequires: pkgconfig(glesv2)
61 BuildRequires: pkgconfig(ttrace)
63 %if !0%{?disable_cxx03_build}
64 BuildRequires: dali-devel-cxx03
65 BuildRequires: dali-integration-devel-cxx03
67 BuildRequires: dali-devel
68 BuildRequires: dali-integration-devel
70 BuildRequires: pkgconfig
72 BuildRequires: giflib-devel
73 BuildRequires: pkgconfig(fontconfig)
74 BuildRequires: libjpeg-turbo-devel
75 BuildRequires: pkgconfig(vconf)
76 BuildRequires: tts-devel
77 BuildRequires: pkgconfig(dlog)
78 BuildRequires: libdrm-devel
79 BuildRequires: pkgconfig(libexif)
80 BuildRequires: pkgconfig(libpng)
81 BuildRequires: pkgconfig(egl)
82 BuildRequires: libcurl-devel
83 BuildRequires: pkgconfig(harfbuzz)
84 BuildRequires: fribidi-devel
86 BuildRequires: pkgconfig(capi-system-info)
87 BuildRequires: pkgconfig(capi-system-sensor)
89 BuildRequires: pkgconfig(libcrypto)
93 ####### BUILDING FOR WAYLAND #######
94 BuildRequires: pkgconfig(wayland-egl)
95 BuildRequires: pkgconfig(wayland-client)
96 BuildRequires: wayland-devel
97 BuildRequires: wayland-extension-client-devel
99 # dali-adaptor uses ecore mainloop
100 %if 0%{?tizen_version_major} >= 5
101 BuildRequires: pkgconfig(ecore-wl2)
103 BuildRequires: pkgconfig(ecore-wayland)
106 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
107 BuildRequires: pkgconfig(libtbm)
109 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
110 %if !0%{?disable_cxx03_build}
111 BuildRequires: pkgconfig(tpkp-curl-deprecated)
113 BuildRequires: pkgconfig(tpkp-curl)
115 ####### BUILDING FOR X11#######
117 BuildRequires: pkgconfig(egl)
118 BuildRequires: pkgconfig(xext)
119 BuildRequires: pkgconfig(xi)
120 BuildRequires: pkgconfig(xfixes)
121 BuildRequires: pkgconfig(xdamage)
122 BuildRequires: pkgconfig(utilX)
126 %if 0%{?tizen_version_major} == 3
127 BuildRequires: pkgconfig(capi-appfw-application)
128 BuildRequires: pkgconfig(elementary)
130 BuildRequires: pkgconfig(appcore-ui)
131 BuildRequires: pkgconfig(appcore-widget-base)
132 BuildRequires: pkgconfig(bundle)
133 BuildRequires: pkgconfig(capi-appfw-app-common)
134 BuildRequires: pkgconfig(capi-appfw-app-control)
135 BuildRequires: pkgconfig(ecore-imf)
138 BuildRequires: pkgconfig(capi-system-system-settings)
140 # for feedback plugin
141 BuildRequires: pkgconfig(mm-sound)
142 %if 0%{?tizen_version_major} >= 3
143 BuildRequires: pkgconfig(feedback)
146 # for Web Engine Lite Plugin
147 %if 0%{?enable_web_engine_lite}
148 BuildRequires: lightweight-web-engine
149 BuildRequires: lightweight-web-engine-devel
153 Requires: %{name}-compat = %{version}-%{release}
154 Recommends: %{name}-profile_common = %{version}-%{release}
157 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
158 platform abstraction and application shell
160 %if !0%{?disable_cxx03_build}
162 Summary: The DALi Tizen Adaptor with cxx03 abi
163 Provides: %{name}-cxx03 = %{version}-%{release}
166 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
167 platform abstraction and application shell
170 ###########################################
171 # Dali adapter for profiles
172 ###########################################
174 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
175 # if mobile || "undefined"
176 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
177 %package profile_mobile
178 Summary: The DALi Tizen Adaptor for mobile
179 Provides: %{name}-compat = %{version}-%{release}
180 Conflicts: %{name}-profile_tv
181 Conflicts: %{name}-profile_wearable
182 Conflicts: %{name}-profile_ivi
183 Conflicts: %{name}-profile_common
184 %description profile_mobile
185 The DALi Tizen Adaptor for mobile.
188 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
189 # if tv ||"undefined"
190 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
192 Summary: The DALi Tizen Adaptor for tv
193 Provides: %{name}-compat = %{version}-%{release}
194 Conflicts: %{name}-profile_mobile
195 Conflicts: %{name}-profile_wearable
196 Conflicts: %{name}-profile_ivi
197 Conflicts: %{name}-profile_common
198 %description profile_tv
199 The DALi Tizen Adaptor for tv.
202 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
203 # if wearable || "undefined"
204 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
205 %package profile_wearable
206 Summary: The DALi Tizen Adaptor for wearable
207 Provides: %{name}-compat = %{version}-%{release}
208 Conflicts: %{name}-profile_mobile
209 Conflicts: %{name}-profile_tv
210 Conflicts: %{name}-profile_ivi
211 Conflicts: %{name}-profile_common
212 %description profile_wearable
213 The DALi Tizen Adaptor for wearable.
216 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
217 # if ivi ||"undefined"
218 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
220 Summary: The DALi Tizen Adaptor for ivi
221 Provides: %{name}-compat = %{version}-%{release}
222 Conflicts: %{name}-profile_mobile
223 Conflicts: %{name}-profile_wearable
224 Conflicts: %{name}-profile_tv
225 Conflicts: %{name}-profile_common
226 %description profile_ivi
227 The DALi Tizen Adaptor for ivi.
230 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
231 # if common ||"undefined"
232 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
233 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
234 %package profile_common
235 %define tizen_2_2_compatibility 0
236 Summary: The DALi Tizen Adaptor for common
237 Provides: %{name}-compat = %{version}-%{release}
238 Conflicts: %{name}-profile_mobile
239 Conflicts: %{name}-profile_wearable
240 Conflicts: %{name}-profile_tv
241 Conflicts: %{name}-profile_ivi
242 %description profile_common
243 The DALi Tizen Adaptor for common.
246 %if !0%{?disable_cxx03_build}
247 ###########################################
248 # Dali adapter for profiles for cxx03 ABI
249 ###########################################
251 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
252 # if mobile || "undefined"
253 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
254 %package profile_mobile-cxx03
255 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
256 Provides: %{name}-cxx03-compat = %{version}-%{release}
257 Conflicts: %{name}-profile_tv-cxx03
258 Conflicts: %{name}-profile_wearable-cxx03
259 Conflicts: %{name}-profile_ivi-cxx03
260 Conflicts: %{name}-profile_common-cxx03
261 %description profile_mobile-cxx03
262 The DALi Tizen Adaptor for mobile.
265 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
266 # if tv ||"undefined"
267 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
268 %package profile_tv-cxx03
269 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
270 Provides: %{name}-cxx03-compat = %{version}-%{release}
271 Conflicts: %{name}-profile_mobile-cxx03
272 Conflicts: %{name}-profile_wearable-cxx03
273 Conflicts: %{name}-profile_ivi-cxx03
274 Conflicts: %{name}-profile_common-cxx03
275 %description profile_tv-cxx03
276 The DALi Tizen Adaptor for tv.
279 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
280 # if wearable || "undefined"
281 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
282 %package profile_wearable-cxx03
283 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
284 Provides: %{name}-cxx03-compat = %{version}-%{release}
285 Conflicts: %{name}-profile_mobile-cxx03
286 Conflicts: %{name}-profile_tv-cxx03
287 Conflicts: %{name}-profile_ivi-cxx03
288 Conflicts: %{name}-profile_common-cxx03
289 %description profile_wearable-cxx03
290 The DALi Tizen Adaptor for wearable.
293 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
294 # if ivi ||"undefined"
295 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
296 %package profile_ivi-cxx03
297 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
298 Provides: %{name}-cxx03-compat = %{version}-%{release}
299 Conflicts: %{name}-profile_mobile-cxx03
300 Conflicts: %{name}-profile_wearable-cxx03
301 Conflicts: %{name}-profile_tv-cxx03
302 Conflicts: %{name}-profile_common-cxx03
303 %description profile_ivi-cxx03
304 The DALi Tizen Adaptor for ivi.
307 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
308 # if common ||"undefined"
309 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
310 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
311 %package profile_common-cxx03
312 %define tizen_2_2_compatibility 0
313 Summary: The DALi Tizen Adaptor for common with cxx03 abi
314 Provides: %{name}-cxx03-compat = %{version}-%{release}
315 Conflicts: %{name}-profile_mobile-cxx03
316 Conflicts: %{name}-profile_wearable-cxx03
317 Conflicts: %{name}-profile_tv-cxx03
318 Conflicts: %{name}-profile_ivi-cxx03
319 %description profile_common-cxx03
320 The DALi Tizen Adaptor for common.
324 ##############################
326 ##############################
328 Summary: Development components for the DALi Tizen Adaptor
329 Group: Development/Building
330 Requires: %{name} = %{version}-%{release}
331 Requires: %{name}-integration-devel = %{version}-%{release}
334 Development components for the DALi Tizen Adaptor - public headers and package configs
336 ##############################
338 ##############################
339 %package integration-devel
340 Summary: Integration development package for the Adaptor
341 Group: Development/Building
342 Requires: %{name} = %{version}-%{release}
344 %description integration-devel
345 Integration development package for the Adaptor - headers for integrating with an adaptor library.
347 %if !0%{?disable_cxx03_build}
348 ##############################
350 ##############################
352 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
353 Group: Development/Building
354 Requires: %{name}-cxx03 = %{version}-%{release}
355 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
357 %description devel-cxx03
358 Development components for the DALi Tizen Adaptor - public headers and package configs
360 ##############################
361 # integration-devel cxx03
362 ##############################
363 %package integration-devel-cxx03
364 Summary: Integration development package for the Adaptor with cxx03 abi
365 Group: Development/Building
366 Requires: %{name}-cxx03 = %{version}-%{release}
368 %description integration-devel-cxx03
369 Integration development package for the Adaptor - headers for integrating with an adaptor library.
372 ##############################
373 # Dali Feedback Plugin
374 ##############################
375 %package dali-feedback-plugin
376 Summary: Plugin to play haptic and audio feedback for Dali
377 Group: System/Libraries
378 Requires: %{name} = %{version}-%{release}
379 %description dali-feedback-plugin
380 Feedback plugin to play haptic and audio feedback for Dali
382 ##############################
383 # Dali WebEngineLite Plugin
384 ##############################
386 %package dali-web-engine-lite-plugin
387 Summary: Plugin WebEngineLite for Dali
388 Group: System/Libraries
389 %description dali-web-engine-lite-plugin
390 WebEngineLite plugin for Dali
392 %if !0%{?disable_cxx03_build}
393 ##############################
394 # Dali Feedback Plugin cxx03
395 ##############################
397 %package dali-feedback-plugin-cxx03
398 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
399 Group: System/Libraries
400 Requires: %{name}-cxx03 = %{version}-%{release}
401 %description dali-feedback-plugin-cxx03
402 Feedback plugin to play haptic and audio feedback for Dali
404 ##############################
405 # Dali WebEngineLite Plugin
406 ##############################
408 %package dali-web-engine-lite-plugin-cxx03
409 Summary: Plugin WebEngineLite for Dali with cxx03 abi
410 Group: System/Libraries
411 %description dali-web-engine-lite-plugin-cxx03
412 WebEngineLite plugin for Dali
415 ##############################
417 ##############################
421 #Use TZ_PATH when tizen version is 3.x or greater
423 %if 0%{?tizen_version_major} >= 3
424 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
425 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
426 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
427 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
428 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
429 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
431 %define dali_data_rw_dir /usr/share/dali/
432 %define dali_data_ro_dir /usr/share/dali/
433 %define font_preloaded_path /usr/share/fonts/
434 %define font_downloaded_path /opt/share/fonts/
435 %define font_application_path /usr/share/app_fonts/
436 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
439 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
440 %define dali_plugin_sound_files /plugins/sounds/
441 %define dev_include_path %{_includedir}
443 ##############################
445 ##############################
448 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
449 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
452 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
457 CXXFLAGS+=" -DWAYLAND"
458 %if 0%{?tizen_version_major} >= 5
459 CFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
460 CXXFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
462 configure_flags="--enable-wayland"
465 # Use this conditional when Tizen version is 4.x or greater
466 %if 0%{?tizen_version_major} >= 5
467 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
470 %if 0%{?tizen_2_2_compatibility}
471 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
472 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
476 cd %{_builddir}/%{name}-%{version}/build/tizen
479 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
480 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
481 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
482 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
483 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
484 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
485 %if 0%{?tizen_platform_config_supported}
486 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
489 # Default to GLES 2.0 if not specified.
490 %if 0%{?target_gles_version} == 0
491 %define target_gles_version 20
494 # Set up the build via configure.
495 #######################################################################
496 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
497 # if mobile || "undefined"
498 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
499 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
500 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
501 --enable-tizen-major-version=%{tizen_version_major} \
502 %if 0%{?tizen_version_major} >= 3
505 %if 0%{?tizen_2_2_compatibility}
506 --with-tizen-2-2-compatibility \
513 %if 0%{?enable_web_engine_lite}
514 --enable-web-engine-lite \
516 %if 0%{?enable_debug}
520 $configure_flags --libdir=%{_libdir} \
521 --enable-rename-so=no
524 make %{?jobs:-j%jobs}
526 pushd %{_builddir}/%{name}-%{version}/build/tizen
527 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
530 pushd %{buildroot}%{_libdir}
531 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
532 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
533 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
540 #######################################################################
541 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
542 # if tv ||"undefined"
543 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
544 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
545 --enable-shaderbincache=DISABLE --enable-profile=TV \
546 --enable-tizen-major-version=%{tizen_version_major} \
547 %if 0%{?tizen_version_major} >= 3
550 %if 0%{?tizen_2_2_compatibility}
551 --with-tizen-2-2-compatibility \
558 %if 0%{?enable_web_engine_lite}
559 --enable-web-engine-lite \
561 %if 0%{?enable_debug}
565 $configure_flags --libdir=%{_libdir} \
566 --enable-rename-so=no
569 make %{?jobs:-j%jobs}
571 pushd %{_builddir}/%{name}-%{version}/build/tizen
572 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
575 pushd %{buildroot}%{_libdir}
576 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
577 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
578 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
584 #######################################################################
585 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
586 # if wearable || "undefined"
587 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
588 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
589 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
590 --enable-tizen-major-version=%{tizen_version_major} \
591 %if 0%{?tizen_version_major} >= 3
594 %if 0%{?tizen_2_2_compatibility}
595 --with-tizen-2-2-compatibility \
602 %if 0%{?enable_web_engine_lite}
603 --enable-web-engine-lite \
605 %if 0%{?enable_debug}
609 $configure_flags --libdir=%{_libdir} \
610 --enable-rename-so=no
613 make %{?jobs:-j%jobs}
615 pushd %{_builddir}/%{name}-%{version}/build/tizen
616 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
619 pushd %{buildroot}%{_libdir}
620 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
621 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
622 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
628 #######################################################################
629 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
630 # if ivi ||"undefined"
631 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
632 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
633 --enable-shaderbincache=DISABLE --enable-profile=IVI \
634 --enable-tizen-major-version=%{tizen_version_major} \
635 %if 0%{?tizen_version_major} >= 3
638 %if 0%{?tizen_2_2_compatibility}
639 --with-tizen-2-2-compatibility \
646 %if 0%{?enable_web_engine_lite}
647 --enable-web-engine-lite \
649 %if 0%{?enable_debug}
653 $configure_flags --libdir=%{_libdir} \
654 --enable-rename-so=no
657 make %{?jobs:-j%jobs}
659 pushd %{_builddir}/%{name}-%{version}/build/tizen
660 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
663 pushd %{buildroot}%{_libdir}
664 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
665 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
667 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
673 #######################################################################
675 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
676 # if common ||"undefined"
677 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
678 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
679 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
680 --enable-tizen-major-version=%{tizen_version_major} \
681 %if 0%{?tizen_version_major} >= 3
684 %if 0%{?tizen_2_2_compatibility}
685 --with-tizen-2-2-compatibility \
692 %if 0%{?enable_web_engine_lite}
693 --enable-web-engine-lite \
695 %if 0%{?enable_debug}
699 $configure_flags --libdir=%{_libdir} \
700 --enable-rename-so=no
703 make %{?jobs:-j%jobs}
705 pushd %{_builddir}/%{name}-%{version}/build/tizen
706 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
709 pushd %{buildroot}%{_libdir}
710 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
711 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
713 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
720 %if !0%{?disable_cxx03_build}
721 #######################################################################
723 #######################################################################
725 # Set up the build via configure.
726 #######################################################################
727 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
728 # if mobile || "undefined"
729 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
731 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
732 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
733 --enable-tizen-major-version=%{tizen_version_major} \
734 %if 0%{?tizen_version_major} >= 3
737 --enable-cxx03-abi=yes \
738 %if 0%{?tizen_2_2_compatibility}
739 --with-tizen-2-2-compatibility \
746 %if 0%{?enable_web_engine_lite}
747 --enable-web-engine-lite \
749 %if 0%{?enable_debug}
753 $configure_flags --libdir=%{_libdir} \
754 --enable-rename-so=no
757 make %{?jobs:-j%jobs}
759 pushd %{_builddir}/%{name}-%{version}/build/tizen
760 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
763 pushd %{buildroot}%{_libdir}
764 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
765 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
772 #######################################################################
773 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
774 # if tv ||"undefined"
775 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
777 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
778 --enable-shaderbincache=DISABLE --enable-profile=TV \
779 --enable-tizen-major-version=%{tizen_version_major} \
780 %if 0%{?tizen_version_major} >= 3
783 --enable-cxx03-abi=yes \
784 %if 0%{?tizen_2_2_compatibility}
785 --with-tizen-2-2-compatibility \
792 %if 0%{?enable_web_engine_lite}
793 --enable-web-engine-lite \
795 %if 0%{?enable_debug}
799 $configure_flags --libdir=%{_libdir} \
800 --enable-rename-so=no
803 make %{?jobs:-j%jobs}
805 pushd %{_builddir}/%{name}-%{version}/build/tizen
806 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
809 pushd %{buildroot}%{_libdir}
810 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
811 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
817 #######################################################################
818 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
819 # if wearable || "undefined"
820 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
822 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
823 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
824 --enable-tizen-major-version=%{tizen_version_major} \
825 %if 0%{?tizen_version_major} >= 3
828 --enable-cxx03-abi=yes \
829 %if 0%{?tizen_2_2_compatibility}
830 --with-tizen-2-2-compatibility \
837 %if 0%{?enable_web_engine_lite}
838 --enable-web-engine-lite \
840 %if 0%{?enable_debug}
844 $configure_flags --libdir=%{_libdir} \
845 --enable-rename-so=no
848 make %{?jobs:-j%jobs}
850 pushd %{_builddir}/%{name}-%{version}/build/tizen
851 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
854 pushd %{buildroot}%{_libdir}
855 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
856 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
862 #######################################################################
863 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
864 # if ivi ||"undefined"
865 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
867 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
868 --enable-shaderbincache=DISABLE --enable-profile=IVI \
869 --enable-tizen-major-version=%{tizen_version_major} \
870 %if 0%{?tizen_version_major} >= 3
873 --enable-cxx03-abi=yes \
874 %if 0%{?tizen_2_2_compatibility}
875 --with-tizen-2-2-compatibility \
882 %if 0%{?enable_web_engine_lite}
883 --enable-web-engine-lite \
885 %if 0%{?enable_debug}
889 $configure_flags --libdir=%{_libdir} \
890 --enable-rename-so=no
893 make %{?jobs:-j%jobs}
895 pushd %{_builddir}/%{name}-%{version}/build/tizen
896 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
899 pushd %{buildroot}%{_libdir}
900 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
901 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
907 #######################################################################
909 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
910 # if common ||"undefined"
911 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
913 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
914 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
915 --enable-tizen-major-version=%{tizen_version_major} \
916 %if 0%{?tizen_version_major} >= 3
919 --enable-cxx03-abi=yes \
920 %if 0%{?tizen_2_2_compatibility}
921 --with-tizen-2-2-compatibility \
928 %if 0%{?enable_web_engine_lite}
929 --enable-web-engine-lite \
931 %if 0%{?enable_debug}
935 $configure_flags --libdir=%{_libdir} \
936 --enable-rename-so=no
939 make %{?jobs:-j%jobs}
944 ##############################
946 ##############################
950 pushd %{_builddir}/%{name}-%{version}/build/tizen
951 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
954 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
955 # !unified && (wearable || tv || ivi || mobile)
956 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
957 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
960 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
961 # wearable || tv || ivi || mobile || unified
962 %if "%{?profile}" != "common"
963 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
964 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
968 ################################################
970 ###############################################
971 pushd %{buildroot}%{_libdir}
973 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
974 # if common ||"undefined"
975 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
976 rm -rf libdali-adaptor*.so
977 %if !0%{?disable_cxx03_build}
978 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
980 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
983 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
984 # if wearable || "undefined"
985 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
986 rm -rf libdali-adaptor*.so.wearable
987 %if !0%{?disable_cxx03_build}
988 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
990 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
993 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
994 # if tv ||"undefined"
995 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
996 rm -rf libdali-adaptor*.so.tv
997 %if !0%{?disable_cxx03_build}
998 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
1000 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
1003 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1004 # if ivi ||"undefined"
1005 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1006 rm -rf libdali-adaptor*.so.ivi
1007 %if !0%{?disable_cxx03_build}
1008 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1010 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1013 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1014 # if mobile || "undefined"
1015 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1016 rm -rf libdali-adaptor*.so.mobile
1017 %if !0%{?disable_cxx03_build}
1018 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1020 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1024 ##############################
1026 # 1 - Pre Install new package
1027 # 2 - Install new package
1028 # 3 - Post install new package
1029 # 4 - Pre uninstall old package
1030 # 5 - Remove files not overwritten by new package
1031 # 6 - Post uninstall old package
1032 ##############################
1037 ##############################
1038 # Post Install new package
1039 ##############################
1044 ##############################
1045 # Pre Uninstall old package
1046 ##############################
1050 ##############################
1051 # Post Uninstall old package
1052 ##############################
1057 #%if %{with wayland}
1058 %post dali-web-engine-lite-plugin
1063 ##############################
1065 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1066 # if mobile || "undefined"
1067 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1068 %post profile_mobile
1070 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1075 %postun profile_mobile
1080 ##############################
1082 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1083 # if tv ||"undefined"
1084 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1087 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1097 ##############################
1099 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1100 # if wearable || "undefined"
1101 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1102 %post profile_wearable
1104 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1109 %postun profile_wearable
1114 ##############################
1116 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1117 # if ivi ||"undefined"
1118 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1121 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1131 %if !0%{?disable_cxx03_build}
1132 ##############################
1134 #############################
1135 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1136 # if mobile || "undefined"
1137 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1138 %post profile_mobile-cxx03
1140 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1145 %postun profile_mobile-cxx03
1150 ##############################
1152 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1153 # if tv ||"undefined"
1154 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1155 %post profile_tv-cxx03
1157 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1162 %postun profile_tv-cxx03
1167 ##############################
1169 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1170 # if wearable || "undefined"
1171 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1172 %post profile_wearable-cxx03
1174 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1179 %postun profile_wearable-cxx03
1184 ##############################
1186 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1187 # if ivi ||"undefined"
1188 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1189 %post profile_ivi-cxx03
1191 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1196 %postun profile_ivi-cxx03
1202 ##############################
1203 # Files in Binary Packages
1204 ##############################
1207 %manifest dali-adaptor.manifest
1208 %defattr(-,root,root,-)
1209 %defattr(-,app,app,-)
1210 %dir %{user_shader_cache_dir}
1214 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1215 # if common ||"undefined"
1216 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1217 %defattr(-,root,root,-)
1218 %{_libdir}/libdali-adaptor-cxx11.so.0*
1219 %{_libdir}/libdali-adaptor.so
1220 %exclude %{_libdir}/libdali-adap*.so*.mobile
1221 %exclude %{_libdir}/libdali-adap*.so*.wearable
1222 %exclude %{_libdir}/libdali-adap*.so*.tv
1223 %exclude %{_libdir}/libdali-adap*.so*.ivi
1226 %if !0%{?disable_cxx03_build}
1228 %manifest dali-adaptor.manifest
1229 %defattr(-,root,root,-)
1230 %defattr(-,app,app,-)
1231 %dir %{user_shader_cache_dir}
1234 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1235 # if common ||"undefined"
1236 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1237 %defattr(-,root,root,-)
1238 %{_libdir}/libdali-adaptor.so.0*
1239 %{_libdir}/libdali-adaptor-cxx03.so
1240 %exclude %{_libdir}/libdali-adap*.so*.mobile
1241 %exclude %{_libdir}/libdali-adap*.so*.wearable
1242 %exclude %{_libdir}/libdali-adap*.so*.tv
1243 %exclude %{_libdir}/libdali-adap*.so*.ivi
1246 %if 0%{?tizen_version_major} >= 3
1247 %if 0%{?enable_web_engine_lite}
1248 %files dali-web-engine-lite-plugin-cxx03
1249 %manifest dali-adaptor.manifest
1250 %defattr(-,root,root,-)
1251 %{_libdir}/libdali-web-engine-lite-plugin.so*
1255 %files dali-feedback-plugin-cxx03
1256 %manifest dali-adaptor.manifest
1257 %defattr(-,root,root,-)
1258 %{_libdir}/libdali-feedback-plugin.so*
1259 %{dali_plugin_sound_files}/*
1263 #################################################
1265 %if 0%{?tizen_version_major} >= 3
1266 %if 0%{?enable_web_engine_lite}
1267 %files dali-web-engine-lite-plugin
1268 %manifest dali-adaptor.manifest
1269 %defattr(-,root,root,-)
1270 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1274 %files dali-feedback-plugin
1275 %manifest dali-adaptor.manifest
1276 %defattr(-,root,root,-)
1277 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1278 %{dali_plugin_sound_files}/*
1281 #################################################
1283 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1284 # if common ||"undefined"
1285 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1286 %files profile_common
1287 # default .so files are housed in the main pkg.
1290 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1291 # if mobile || "undefined"
1292 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1293 %files profile_mobile
1294 %manifest dali-adaptor.manifest
1295 %defattr(-,root,root,-)
1296 %{_libdir}/libdali-adaptor.so.mobile
1297 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1301 # if tv ||"undefined"
1302 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1304 %manifest dali-adaptor.manifest
1305 %defattr(-,root,root,-)
1306 %{_libdir}/libdali-adaptor.so.tv
1307 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1310 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1311 # if wearable || "undefined"
1312 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1313 %files profile_wearable
1314 %manifest dali-adaptor.manifest
1315 %defattr(-,root,root,-)
1316 %{_libdir}/libdali-adaptor.so.wearable
1317 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1320 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1321 # if ivi ||"undefined"
1322 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1324 %manifest dali-adaptor.manifest
1325 %defattr(-,root,root,-)
1326 %{_libdir}/libdali-adaptor.so.ivi
1327 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1332 %defattr(-,root,root,-)
1333 %{dev_include_path}/dali/dali.h
1334 %{dev_include_path}/dali/public-api/*
1335 %{dev_include_path}/dali/devel-api/*
1336 %{dev_include_path}/dali/doc/*
1337 %{_libdir}/pkgconfig/dali-adaptor.pc
1339 %files integration-devel
1340 %defattr(-,root,root,-)
1341 %{dev_include_path}/dali/integration-api/adaptors/*
1342 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1344 %if !0%{?disable_cxx03_build}
1345 ################################################
1347 ################################################
1349 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1350 # if common ||"undefined"
1351 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1352 %files profile_common-cxx03
1353 # default .so files are housed in the main pkg.
1356 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1357 # if mobile || "undefined"
1358 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1359 %files profile_mobile-cxx03
1360 %manifest dali-adaptor.manifest
1361 %defattr(-,root,root,-)
1362 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1363 %{_libdir}/libdali-adaptor.so.0*mobile
1366 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1367 # if tv ||"undefined"
1368 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1369 %files profile_tv-cxx03
1370 %manifest dali-adaptor.manifest
1371 %defattr(-,root,root,-)
1372 %{_libdir}/libdali-adaptor-cxx03.so.tv
1373 %{_libdir}/libdali-adaptor.so.0*.tv
1376 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1377 # if wearable || "undefined"
1378 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1379 %files profile_wearable-cxx03
1380 %manifest dali-adaptor.manifest
1381 %defattr(-,root,root,-)
1382 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1383 %{_libdir}/libdali-adaptor.so.0*.wearable
1386 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1387 # if ivi ||"undefined"
1388 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1389 %files profile_ivi-cxx03
1390 %manifest dali-adaptor.manifest
1391 %defattr(-,root,root,-)
1392 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1393 %{_libdir}/libdali-adaptor.so.0*.ivi
1398 %defattr(-,root,root,-)
1399 %{dev_include_path}/dali/dali.h
1400 %{dev_include_path}/dali/public-api/*
1401 %{dev_include_path}/dali/devel-api/*
1402 %{dev_include_path}/dali/doc/*
1403 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1405 %files integration-devel-cxx03
1406 %defattr(-,root,root,-)
1407 %{dev_include_path}/dali/integration-api/adaptors/*
1408 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc