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)
40 %if 0%{?tizen_version_major} < 4
41 %define disable_cxx03_build 1
44 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
46 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
47 %define profile %{tizen_profile_name}
50 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
51 # if wearable || "undefined"
52 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
53 BuildRequires: pkgconfig(capi-appfw-watch-application)
54 BuildRequires: pkgconfig(appcore-watch)
55 BuildRequires: pkgconfig(screen_connector_provider)
58 BuildRequires: pkgconfig(gles20)
59 BuildRequires: pkgconfig(glesv2)
61 %if !0%{?disable_cxx03_build}
62 BuildRequires: dali-devel-cxx03
63 BuildRequires: dali-integration-devel-cxx03
65 BuildRequires: dali-devel
66 BuildRequires: dali-integration-devel
68 BuildRequires: pkgconfig
70 BuildRequires: giflib-devel
71 BuildRequires: pkgconfig(fontconfig)
72 BuildRequires: libjpeg-turbo-devel
73 BuildRequires: pkgconfig(vconf)
74 BuildRequires: tts-devel
75 BuildRequires: pkgconfig(dlog)
76 BuildRequires: libdrm-devel
77 BuildRequires: pkgconfig(libexif)
78 BuildRequires: pkgconfig(libpng)
79 BuildRequires: pkgconfig(egl)
80 BuildRequires: libcurl-devel
81 BuildRequires: pkgconfig(harfbuzz)
82 BuildRequires: fribidi-devel
84 BuildRequires: pkgconfig(capi-system-info)
85 BuildRequires: pkgconfig(capi-system-sensor)
89 ####### BUILDING FOR WAYLAND #######
90 BuildRequires: pkgconfig(wayland-egl)
91 BuildRequires: pkgconfig(wayland-client)
92 BuildRequires: wayland-devel
93 BuildRequires: wayland-extension-client-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 %if !0%{?disable_cxx03_build}
103 BuildRequires: pkgconfig(tpkp-curl-deprecated)
105 BuildRequires: pkgconfig(tpkp-curl)
107 ####### BUILDING FOR X11#######
109 BuildRequires: pkgconfig(egl)
110 BuildRequires: pkgconfig(xext)
111 BuildRequires: pkgconfig(xi)
112 BuildRequires: pkgconfig(xfixes)
113 BuildRequires: pkgconfig(xdamage)
114 BuildRequires: pkgconfig(utilX)
118 %if 0%{?tizen_version_major} == 3
119 BuildRequires: pkgconfig(capi-appfw-application)
120 BuildRequires: pkgconfig(elementary)
122 BuildRequires: pkgconfig(appcore-ui)
123 BuildRequires: pkgconfig(appcore-widget-base)
124 BuildRequires: pkgconfig(bundle)
125 BuildRequires: pkgconfig(capi-appfw-app-common)
126 BuildRequires: pkgconfig(capi-appfw-app-control)
127 BuildRequires: pkgconfig(ecore-imf)
130 BuildRequires: pkgconfig(capi-system-system-settings)
132 # for feedback plugin
133 BuildRequires: pkgconfig(mm-sound)
134 %if 0%{?tizen_version_major} >= 3
135 BuildRequires: pkgconfig(feedback)
139 Requires: %{name}-compat = %{version}-%{release}
140 Recommends: %{name}-profile_common = %{version}-%{release}
143 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
144 platform abstraction and application shell
146 %if !0%{?disable_cxx03_build}
148 Summary: The DALi Tizen Adaptor with cxx03 abi
149 Provides: %{name}-cxx03 = %{version}-%{release}
152 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
153 platform abstraction and application shell
156 ###########################################
157 # Dali adapter for profiles
158 ###########################################
160 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
161 # if mobile || "undefined"
162 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
163 %package profile_mobile
164 Summary: The DALi Tizen Adaptor for mobile
165 Provides: %{name}-compat = %{version}-%{release}
166 Conflicts: %{name}-profile_tv
167 Conflicts: %{name}-profile_wearable
168 Conflicts: %{name}-profile_ivi
169 Conflicts: %{name}-profile_common
170 %description profile_mobile
171 The DALi Tizen Adaptor for mobile.
174 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
175 # if tv ||"undefined"
176 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
178 Summary: The DALi Tizen Adaptor for tv
179 Provides: %{name}-compat = %{version}-%{release}
180 Conflicts: %{name}-profile_mobile
181 Conflicts: %{name}-profile_wearable
182 Conflicts: %{name}-profile_ivi
183 Conflicts: %{name}-profile_common
184 %description profile_tv
185 The DALi Tizen Adaptor for tv.
188 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
189 # if wearable || "undefined"
190 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
191 %package profile_wearable
192 Summary: The DALi Tizen Adaptor for wearable
193 Provides: %{name}-compat = %{version}-%{release}
194 Conflicts: %{name}-profile_mobile
195 Conflicts: %{name}-profile_tv
196 Conflicts: %{name}-profile_ivi
197 Conflicts: %{name}-profile_common
198 %description profile_wearable
199 The DALi Tizen Adaptor for wearable.
202 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
203 # if ivi ||"undefined"
204 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
206 Summary: The DALi Tizen Adaptor for ivi
207 Provides: %{name}-compat = %{version}-%{release}
208 Conflicts: %{name}-profile_mobile
209 Conflicts: %{name}-profile_wearable
210 Conflicts: %{name}-profile_tv
211 Conflicts: %{name}-profile_common
212 %description profile_ivi
213 The DALi Tizen Adaptor for ivi.
216 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
217 # if common ||"undefined"
218 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
219 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
220 %package profile_common
221 %define tizen_2_2_compatibility 0
222 Summary: The DALi Tizen Adaptor for common
223 Provides: %{name}-compat = %{version}-%{release}
224 Conflicts: %{name}-profile_mobile
225 Conflicts: %{name}-profile_wearable
226 Conflicts: %{name}-profile_tv
227 Conflicts: %{name}-profile_ivi
228 %description profile_common
229 The DALi Tizen Adaptor for common.
232 %if !0%{?disable_cxx03_build}
233 ###########################################
234 # Dali adapter for profiles for cxx03 ABI
235 ###########################################
237 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
238 # if mobile || "undefined"
239 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
240 %package profile_mobile-cxx03
241 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
242 Provides: %{name}-cxx03-compat = %{version}-%{release}
243 Conflicts: %{name}-profile_tv-cxx03
244 Conflicts: %{name}-profile_wearable-cxx03
245 Conflicts: %{name}-profile_ivi-cxx03
246 Conflicts: %{name}-profile_common-cxx03
247 %description profile_mobile-cxx03
248 The DALi Tizen Adaptor for mobile.
251 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
252 # if tv ||"undefined"
253 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
254 %package profile_tv-cxx03
255 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
256 Provides: %{name}-cxx03-compat = %{version}-%{release}
257 Conflicts: %{name}-profile_mobile-cxx03
258 Conflicts: %{name}-profile_wearable-cxx03
259 Conflicts: %{name}-profile_ivi-cxx03
260 Conflicts: %{name}-profile_common-cxx03
261 %description profile_tv-cxx03
262 The DALi Tizen Adaptor for tv.
265 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
266 # if wearable || "undefined"
267 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
268 %package profile_wearable-cxx03
269 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
270 Provides: %{name}-cxx03-compat = %{version}-%{release}
271 Conflicts: %{name}-profile_mobile-cxx03
272 Conflicts: %{name}-profile_tv-cxx03
273 Conflicts: %{name}-profile_ivi-cxx03
274 Conflicts: %{name}-profile_common-cxx03
275 %description profile_wearable-cxx03
276 The DALi Tizen Adaptor for wearable.
279 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
280 # if ivi ||"undefined"
281 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
282 %package profile_ivi-cxx03
283 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
284 Provides: %{name}-cxx03-compat = %{version}-%{release}
285 Conflicts: %{name}-profile_mobile-cxx03
286 Conflicts: %{name}-profile_wearable-cxx03
287 Conflicts: %{name}-profile_tv-cxx03
288 Conflicts: %{name}-profile_common-cxx03
289 %description profile_ivi-cxx03
290 The DALi Tizen Adaptor for ivi.
293 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
294 # if common ||"undefined"
295 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
296 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
297 %package profile_common-cxx03
298 %define tizen_2_2_compatibility 0
299 Summary: The DALi Tizen Adaptor for common with cxx03 abi
300 Provides: %{name}-cxx03-compat = %{version}-%{release}
301 Conflicts: %{name}-profile_mobile-cxx03
302 Conflicts: %{name}-profile_wearable-cxx03
303 Conflicts: %{name}-profile_tv-cxx03
304 Conflicts: %{name}-profile_ivi-cxx03
305 %description profile_common-cxx03
306 The DALi Tizen Adaptor for common.
310 ##############################
312 ##############################
314 Summary: Development components for the DALi Tizen Adaptor
315 Group: Development/Building
316 Requires: %{name} = %{version}-%{release}
317 Requires: %{name}-integration-devel = %{version}-%{release}
320 Development components for the DALi Tizen Adaptor - public headers and package configs
322 ##############################
324 ##############################
325 %package integration-devel
326 Summary: Integration development package for the Adaptor
327 Group: Development/Building
328 Requires: %{name} = %{version}-%{release}
330 %description integration-devel
331 Integration development package for the Adaptor - headers for integrating with an adaptor library.
333 %if !0%{?disable_cxx03_build}
334 ##############################
336 ##############################
338 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
339 Group: Development/Building
340 Requires: %{name}-cxx03 = %{version}-%{release}
341 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
343 %description devel-cxx03
344 Development components for the DALi Tizen Adaptor - public headers and package configs
346 ##############################
347 # integration-devel cxx03
348 ##############################
349 %package integration-devel-cxx03
350 Summary: Integration development package for the Adaptor with cxx03 abi
351 Group: Development/Building
352 Requires: %{name}-cxx03 = %{version}-%{release}
354 %description integration-devel-cxx03
355 Integration development package for the Adaptor - headers for integrating with an adaptor library.
358 ##############################
359 # Dali Feedback Plugin
360 ##############################
361 %package dali-feedback-plugin
362 Summary: Plugin to play haptic and audio feedback for Dali
363 Group: System/Libraries
364 Requires: %{name} = %{version}-%{release}
365 %description dali-feedback-plugin
366 Feedback plugin to play haptic and audio feedback for Dali
368 %if !0%{?disable_cxx03_build}
369 ##############################
370 # Dali Feedback Plugin cxx03
371 ##############################
373 %package dali-feedback-plugin-cxx03
374 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
375 Group: System/Libraries
376 Requires: %{name}-cxx03 = %{version}-%{release}
377 %description dali-feedback-plugin-cxx03
378 Feedback plugin to play haptic and audio feedback for Dali
382 ##############################
384 ##############################
388 #Use TZ_PATH when tizen version is 3.x or greater
390 %if 0%{?tizen_version_major} >= 3
391 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
392 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
393 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
394 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
395 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
396 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
398 %define dali_data_rw_dir /usr/share/dali/
399 %define dali_data_ro_dir /usr/share/dali/
400 %define font_preloaded_path /usr/share/fonts/
401 %define font_downloaded_path /opt/share/fonts/
402 %define font_application_path /usr/share/app_fonts/
403 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
406 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
407 %define dali_plugin_sound_files /plugins/sounds/
408 %define dev_include_path %{_includedir}
410 ##############################
412 ##############################
415 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
416 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
419 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
424 CXXFLAGS+=" -DWAYLAND"
425 configure_flags="--enable-wayland"
428 # Use this conditional when Tizen version is 4.x or greater
429 %if 0%{?tizen_version_major} >= 4
430 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
433 %if 0%{?tizen_2_2_compatibility}
434 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
435 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
439 cd %{_builddir}/%{name}-%{version}/build/tizen
442 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
443 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
444 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
445 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
446 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
447 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
448 %if 0%{?tizen_platform_config_supported}
449 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
452 # Default to GLES 2.0 if not specified.
453 %if 0%{?target_gles_version} == 0
454 %define target_gles_version 20
457 # Set up the build via configure.
458 #######################################################################
459 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
460 # if mobile || "undefined"
461 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
462 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
463 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
464 --enable-tizen-major-version=%{tizen_version_major} \
465 %if 0%{?tizen_version_major} >= 3
468 %if 0%{?tizen_2_2_compatibility}
469 --with-tizen-2-2-compatibility \
476 %if 0%{?enable_debug}
480 $configure_flags --libdir=%{_libdir} \
481 --enable-rename-so=no
484 make %{?jobs:-j%jobs}
486 pushd %{_builddir}/%{name}-%{version}/build/tizen
487 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
490 pushd %{buildroot}%{_libdir}
491 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
492 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
493 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
500 #######################################################################
501 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
502 # if tv ||"undefined"
503 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
504 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
505 --enable-shaderbincache=DISABLE --enable-profile=TV \
506 --enable-tizen-major-version=%{tizen_version_major} \
507 %if 0%{?tizen_version_major} >= 3
510 %if 0%{?tizen_2_2_compatibility}
511 --with-tizen-2-2-compatibility \
518 %if 0%{?enable_debug}
522 $configure_flags --libdir=%{_libdir} \
523 --enable-rename-so=no
526 make %{?jobs:-j%jobs}
528 pushd %{_builddir}/%{name}-%{version}/build/tizen
529 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
532 pushd %{buildroot}%{_libdir}
533 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
534 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
535 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
541 #######################################################################
542 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
543 # if wearable || "undefined"
544 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
545 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
546 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
547 --enable-tizen-major-version=%{tizen_version_major} \
548 %if 0%{?tizen_version_major} >= 3
551 %if 0%{?tizen_2_2_compatibility}
552 --with-tizen-2-2-compatibility \
559 %if 0%{?enable_debug}
563 $configure_flags --libdir=%{_libdir} \
564 --enable-rename-so=no
567 make %{?jobs:-j%jobs}
569 pushd %{_builddir}/%{name}-%{version}/build/tizen
570 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
573 pushd %{buildroot}%{_libdir}
574 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
575 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
576 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
582 #######################################################################
583 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
584 # if ivi ||"undefined"
585 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
586 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
587 --enable-shaderbincache=DISABLE --enable-profile=IVI \
588 --enable-tizen-major-version=%{tizen_version_major} \
589 %if 0%{?tizen_version_major} >= 3
592 %if 0%{?tizen_2_2_compatibility}
593 --with-tizen-2-2-compatibility \
600 %if 0%{?enable_debug}
604 $configure_flags --libdir=%{_libdir} \
605 --enable-rename-so=no
608 make %{?jobs:-j%jobs}
610 pushd %{_builddir}/%{name}-%{version}/build/tizen
611 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
614 pushd %{buildroot}%{_libdir}
615 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
616 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
618 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
624 #######################################################################
626 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
627 # if common ||"undefined"
628 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
629 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
630 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
631 --enable-tizen-major-version=%{tizen_version_major} \
632 %if 0%{?tizen_version_major} >= 3
635 %if 0%{?tizen_2_2_compatibility}
636 --with-tizen-2-2-compatibility \
643 %if 0%{?enable_debug}
647 $configure_flags --libdir=%{_libdir} \
648 --enable-rename-so=no
651 make %{?jobs:-j%jobs}
653 pushd %{_builddir}/%{name}-%{version}/build/tizen
654 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
657 pushd %{buildroot}%{_libdir}
658 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
659 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
661 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
668 %if !0%{?disable_cxx03_build}
669 #######################################################################
671 #######################################################################
673 # Set up the build via configure.
674 #######################################################################
675 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
676 # if mobile || "undefined"
677 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
679 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
680 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
681 --enable-tizen-major-version=%{tizen_version_major} \
682 %if 0%{?tizen_version_major} >= 3
685 --enable-cxx03-abi=yes \
686 %if 0%{?tizen_2_2_compatibility}
687 --with-tizen-2-2-compatibility \
694 %if 0%{?enable_debug}
698 $configure_flags --libdir=%{_libdir} \
699 --enable-rename-so=no
702 make %{?jobs:-j%jobs}
704 pushd %{_builddir}/%{name}-%{version}/build/tizen
705 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
708 pushd %{buildroot}%{_libdir}
709 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
710 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
717 #######################################################################
718 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
719 # if tv ||"undefined"
720 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
722 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
723 --enable-shaderbincache=DISABLE --enable-profile=TV \
724 --enable-tizen-major-version=%{tizen_version_major} \
725 %if 0%{?tizen_version_major} >= 3
728 --enable-cxx03-abi=yes \
729 %if 0%{?tizen_2_2_compatibility}
730 --with-tizen-2-2-compatibility \
737 %if 0%{?enable_debug}
741 $configure_flags --libdir=%{_libdir} \
742 --enable-rename-so=no
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 \
766 --enable-tizen-major-version=%{tizen_version_major} \
767 %if 0%{?tizen_version_major} >= 3
770 --enable-cxx03-abi=yes \
771 %if 0%{?tizen_2_2_compatibility}
772 --with-tizen-2-2-compatibility \
779 %if 0%{?enable_debug}
783 $configure_flags --libdir=%{_libdir} \
784 --enable-rename-so=no
787 make %{?jobs:-j%jobs}
789 pushd %{_builddir}/%{name}-%{version}/build/tizen
790 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
793 pushd %{buildroot}%{_libdir}
794 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
795 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
801 #######################################################################
802 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
803 # if ivi ||"undefined"
804 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
806 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
807 --enable-shaderbincache=DISABLE --enable-profile=IVI \
808 --enable-tizen-major-version=%{tizen_version_major} \
809 %if 0%{?tizen_version_major} >= 3
812 --enable-cxx03-abi=yes \
813 %if 0%{?tizen_2_2_compatibility}
814 --with-tizen-2-2-compatibility \
821 %if 0%{?enable_debug}
825 $configure_flags --libdir=%{_libdir} \
826 --enable-rename-so=no
829 make %{?jobs:-j%jobs}
831 pushd %{_builddir}/%{name}-%{version}/build/tizen
832 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
835 pushd %{buildroot}%{_libdir}
836 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
837 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
843 #######################################################################
845 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
846 # if common ||"undefined"
847 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
849 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
850 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
851 --enable-tizen-major-version=%{tizen_version_major} \
852 %if 0%{?tizen_version_major} >= 3
855 --enable-cxx03-abi=yes \
856 %if 0%{?tizen_2_2_compatibility}
857 --with-tizen-2-2-compatibility \
864 %if 0%{?enable_debug}
868 $configure_flags --libdir=%{_libdir} \
869 --enable-rename-so=no
872 make %{?jobs:-j%jobs}
877 ##############################
879 ##############################
883 pushd %{_builddir}/%{name}-%{version}/build/tizen
884 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
887 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
888 # !unified && (wearable || tv || ivi || mobile)
889 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
890 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
893 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
894 # wearable || tv || ivi || mobile || unified
895 %if "%{?profile}" != "common"
896 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
897 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
901 ################################################
903 ###############################################
904 pushd %{buildroot}%{_libdir}
906 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
907 # if common ||"undefined"
908 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
909 rm -rf libdali-adaptor*.so
910 %if !0%{?disable_cxx03_build}
911 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
913 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
916 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
917 # if wearable || "undefined"
918 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
919 rm -rf libdali-adaptor*.so.wearable
920 %if !0%{?disable_cxx03_build}
921 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
923 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
926 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
927 # if tv ||"undefined"
928 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
929 rm -rf libdali-adaptor*.so.tv
930 %if !0%{?disable_cxx03_build}
931 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
933 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
936 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
937 # if ivi ||"undefined"
938 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
939 rm -rf libdali-adaptor*.so.ivi
940 %if !0%{?disable_cxx03_build}
941 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
943 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
946 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
947 # if mobile || "undefined"
948 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
949 rm -rf libdali-adaptor*.so.mobile
950 %if !0%{?disable_cxx03_build}
951 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
953 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
957 ##############################
959 # 1 - Pre Install new package
960 # 2 - Install new package
961 # 3 - Post install new package
962 # 4 - Pre uninstall old package
963 # 5 - Remove files not overwritten by new package
964 # 6 - Post uninstall old package
965 ##############################
970 ##############################
971 # Post Install new package
972 ##############################
977 ##############################
978 # Pre Uninstall old package
979 ##############################
983 ##############################
984 # Post Uninstall old package
985 ##############################
990 ##############################
992 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
993 # if mobile || "undefined"
994 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
997 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1002 %postun profile_mobile
1007 ##############################
1009 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1010 # if tv ||"undefined"
1011 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1014 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1024 ##############################
1026 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1027 # if wearable || "undefined"
1028 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1029 %post profile_wearable
1031 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1036 %postun profile_wearable
1041 ##############################
1043 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1044 # if ivi ||"undefined"
1045 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1048 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1058 %if !0%{?disable_cxx03_build}
1059 ##############################
1061 #############################
1062 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1063 # if mobile || "undefined"
1064 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1065 %post profile_mobile-cxx03
1067 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1072 %postun profile_mobile-cxx03
1077 ##############################
1079 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1080 # if tv ||"undefined"
1081 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1082 %post profile_tv-cxx03
1084 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1089 %postun profile_tv-cxx03
1094 ##############################
1096 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1097 # if wearable || "undefined"
1098 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1099 %post profile_wearable-cxx03
1101 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1106 %postun profile_wearable-cxx03
1111 ##############################
1113 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1114 # if ivi ||"undefined"
1115 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1116 %post profile_ivi-cxx03
1118 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1123 %postun profile_ivi-cxx03
1129 ##############################
1130 # Files in Binary Packages
1131 ##############################
1134 %manifest dali-adaptor.manifest
1135 %defattr(-,root,root,-)
1136 %defattr(-,app,app,-)
1137 %dir %{user_shader_cache_dir}
1141 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1142 # if common ||"undefined"
1143 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1144 %defattr(-,root,root,-)
1145 %{_libdir}/libdali-adaptor-cxx11.so.0*
1146 %{_libdir}/libdali-adaptor.so
1147 %exclude %{_libdir}/libdali-adap*.so*.mobile
1148 %exclude %{_libdir}/libdali-adap*.so*.wearable
1149 %exclude %{_libdir}/libdali-adap*.so*.tv
1150 %exclude %{_libdir}/libdali-adap*.so*.ivi
1153 %if !0%{?disable_cxx03_build}
1155 %manifest dali-adaptor.manifest
1156 %defattr(-,root,root,-)
1157 %defattr(-,app,app,-)
1158 %dir %{user_shader_cache_dir}
1161 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1162 # if common ||"undefined"
1163 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1164 %defattr(-,root,root,-)
1165 %{_libdir}/libdali-adaptor.so.0*
1166 %{_libdir}/libdali-adaptor-cxx03.so
1167 %exclude %{_libdir}/libdali-adap*.so*.mobile
1168 %exclude %{_libdir}/libdali-adap*.so*.wearable
1169 %exclude %{_libdir}/libdali-adap*.so*.tv
1170 %exclude %{_libdir}/libdali-adap*.so*.ivi
1173 %if 0%{?tizen_version_major} >= 3
1174 %files dali-feedback-plugin-cxx03
1175 %manifest dali-adaptor.manifest
1176 %defattr(-,root,root,-)
1177 %{_libdir}/libdali-feedback-plugin.so*
1178 %{dali_plugin_sound_files}/*
1182 #################################################
1184 %if 0%{?tizen_version_major} >= 3
1185 %files dali-feedback-plugin
1186 %manifest dali-adaptor.manifest
1187 %defattr(-,root,root,-)
1188 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1189 %{dali_plugin_sound_files}/*
1192 #################################################
1194 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1195 # if common ||"undefined"
1196 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1197 %files profile_common
1198 # default .so files are housed in the main pkg.
1201 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1202 # if mobile || "undefined"
1203 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1204 %files profile_mobile
1205 %manifest dali-adaptor.manifest
1206 %defattr(-,root,root,-)
1207 %{_libdir}/libdali-adaptor.so.mobile
1208 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1211 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1212 # if tv ||"undefined"
1213 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1215 %manifest dali-adaptor.manifest
1216 %defattr(-,root,root,-)
1217 %{_libdir}/libdali-adaptor.so.tv
1218 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1221 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1222 # if wearable || "undefined"
1223 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1224 %files profile_wearable
1225 %manifest dali-adaptor.manifest
1226 %defattr(-,root,root,-)
1227 %{_libdir}/libdali-adaptor.so.wearable
1228 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1231 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1232 # if ivi ||"undefined"
1233 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1235 %manifest dali-adaptor.manifest
1236 %defattr(-,root,root,-)
1237 %{_libdir}/libdali-adaptor.so.ivi
1238 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1243 %defattr(-,root,root,-)
1244 %{dev_include_path}/dali/dali.h
1245 %{dev_include_path}/dali/public-api/*
1246 %{dev_include_path}/dali/devel-api/*
1247 %{dev_include_path}/dali/doc/*
1248 %{_libdir}/pkgconfig/dali-adaptor.pc
1250 %files integration-devel
1251 %defattr(-,root,root,-)
1252 %{dev_include_path}/dali/integration-api/adaptors/*
1253 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1255 %if !0%{?disable_cxx03_build}
1256 ################################################
1258 ################################################
1260 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1261 # if common ||"undefined"
1262 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1263 %files profile_common-cxx03
1264 # default .so files are housed in the main pkg.
1267 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1268 # if mobile || "undefined"
1269 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1270 %files profile_mobile-cxx03
1271 %manifest dali-adaptor.manifest
1272 %defattr(-,root,root,-)
1273 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1274 %{_libdir}/libdali-adaptor.so.0*mobile
1277 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1278 # if tv ||"undefined"
1279 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1280 %files profile_tv-cxx03
1281 %manifest dali-adaptor.manifest
1282 %defattr(-,root,root,-)
1283 %{_libdir}/libdali-adaptor-cxx03.so.tv
1284 %{_libdir}/libdali-adaptor.so.0*.tv
1287 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1288 # if wearable || "undefined"
1289 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1290 %files profile_wearable-cxx03
1291 %manifest dali-adaptor.manifest
1292 %defattr(-,root,root,-)
1293 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1294 %{_libdir}/libdali-adaptor.so.0*.wearable
1297 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1298 # if ivi ||"undefined"
1299 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1300 %files profile_ivi-cxx03
1301 %manifest dali-adaptor.manifest
1302 %defattr(-,root,root,-)
1303 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1304 %{_libdir}/libdali-adaptor.so.0*.ivi
1309 %defattr(-,root,root,-)
1310 %{dev_include_path}/dali/dali.h
1311 %{dev_include_path}/dali/public-api/*
1312 %{dev_include_path}/dali/devel-api/*
1313 %{dev_include_path}/dali/doc/*
1314 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1316 %files integration-devel-cxx03
1317 %defattr(-,root,root,-)
1318 %{dev_include_path}/dali/integration-api/adaptors/*
1319 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc