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)
60 BuildRequires: pkgconfig(ttrace)
62 %if !0%{?disable_cxx03_build}
63 BuildRequires: dali-devel-cxx03
64 BuildRequires: dali-integration-devel-cxx03
66 BuildRequires: dali-devel
67 BuildRequires: dali-integration-devel
69 BuildRequires: pkgconfig
71 BuildRequires: giflib-devel
72 BuildRequires: pkgconfig(fontconfig)
73 BuildRequires: libjpeg-turbo-devel
74 BuildRequires: pkgconfig(vconf)
75 BuildRequires: tts-devel
76 BuildRequires: pkgconfig(dlog)
77 BuildRequires: libdrm-devel
78 BuildRequires: pkgconfig(libexif)
79 BuildRequires: pkgconfig(libpng)
80 BuildRequires: pkgconfig(egl)
81 BuildRequires: libcurl-devel
82 BuildRequires: pkgconfig(harfbuzz)
83 BuildRequires: fribidi-devel
85 BuildRequires: pkgconfig(capi-system-info)
86 BuildRequires: pkgconfig(capi-system-sensor)
88 BuildRequires: pkgconfig(libcrypto)
89 BuildRequires: pkgconfig(cairo)
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)
102 BuildRequires: pkgconfig(wayland-egl-tizen)
104 BuildRequires: pkgconfig(ecore-wayland)
107 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
108 BuildRequires: pkgconfig(libtbm)
110 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
111 %if !0%{?disable_cxx03_build}
112 BuildRequires: pkgconfig(tpkp-curl-deprecated)
114 BuildRequires: pkgconfig(tpkp-curl)
116 ####### BUILDING FOR X11#######
118 BuildRequires: pkgconfig(egl)
119 BuildRequires: pkgconfig(xext)
120 BuildRequires: pkgconfig(xi)
121 BuildRequires: pkgconfig(xfixes)
122 BuildRequires: pkgconfig(xdamage)
123 BuildRequires: pkgconfig(utilX)
127 %if 0%{?tizen_version_major} == 3
128 BuildRequires: pkgconfig(capi-appfw-application)
129 BuildRequires: pkgconfig(elementary)
131 BuildRequires: pkgconfig(appcore-ui)
132 BuildRequires: pkgconfig(appcore-widget-base)
133 BuildRequires: pkgconfig(bundle)
134 BuildRequires: pkgconfig(capi-appfw-app-common)
135 BuildRequires: pkgconfig(capi-appfw-app-control)
136 BuildRequires: pkgconfig(ecore-imf)
139 BuildRequires: pkgconfig(capi-system-system-settings)
141 # for feedback plugin
142 BuildRequires: pkgconfig(mm-sound)
143 %if 0%{?tizen_version_major} >= 3
144 BuildRequires: pkgconfig(feedback)
148 Requires: %{name}-compat = %{version}-%{release}
149 Recommends: %{name}-profile_common = %{version}-%{release}
152 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
153 platform abstraction and application shell
155 %if !0%{?disable_cxx03_build}
157 Summary: The DALi Tizen Adaptor with cxx03 abi
158 Provides: %{name}-cxx03 = %{version}-%{release}
161 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
162 platform abstraction and application shell
165 ###########################################
166 # Dali adapter for profiles
167 ###########################################
169 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
170 # if mobile || "undefined"
171 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
172 %package profile_mobile
173 Summary: The DALi Tizen Adaptor for mobile
174 Provides: %{name}-compat = %{version}-%{release}
175 Conflicts: %{name}-profile_tv
176 Conflicts: %{name}-profile_wearable
177 Conflicts: %{name}-profile_ivi
178 Conflicts: %{name}-profile_common
179 %description profile_mobile
180 The DALi Tizen Adaptor for mobile.
183 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
184 # if tv ||"undefined"
185 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
187 Summary: The DALi Tizen Adaptor for tv
188 Provides: %{name}-compat = %{version}-%{release}
189 Conflicts: %{name}-profile_mobile
190 Conflicts: %{name}-profile_wearable
191 Conflicts: %{name}-profile_ivi
192 Conflicts: %{name}-profile_common
193 %description profile_tv
194 The DALi Tizen Adaptor for tv.
197 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
198 # if wearable || "undefined"
199 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
200 %package profile_wearable
201 Summary: The DALi Tizen Adaptor for wearable
202 Provides: %{name}-compat = %{version}-%{release}
203 Conflicts: %{name}-profile_mobile
204 Conflicts: %{name}-profile_tv
205 Conflicts: %{name}-profile_ivi
206 Conflicts: %{name}-profile_common
207 %description profile_wearable
208 The DALi Tizen Adaptor for wearable.
211 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
212 # if ivi ||"undefined"
213 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
215 Summary: The DALi Tizen Adaptor for ivi
216 Provides: %{name}-compat = %{version}-%{release}
217 Conflicts: %{name}-profile_mobile
218 Conflicts: %{name}-profile_wearable
219 Conflicts: %{name}-profile_tv
220 Conflicts: %{name}-profile_common
221 %description profile_ivi
222 The DALi Tizen Adaptor for ivi.
225 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
226 # if common ||"undefined"
227 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
228 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
229 %package profile_common
230 %define tizen_2_2_compatibility 0
231 Summary: The DALi Tizen Adaptor for common
232 Provides: %{name}-compat = %{version}-%{release}
233 Conflicts: %{name}-profile_mobile
234 Conflicts: %{name}-profile_wearable
235 Conflicts: %{name}-profile_tv
236 Conflicts: %{name}-profile_ivi
237 %description profile_common
238 The DALi Tizen Adaptor for common.
241 %if !0%{?disable_cxx03_build}
242 ###########################################
243 # Dali adapter for profiles for cxx03 ABI
244 ###########################################
246 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
247 # if mobile || "undefined"
248 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
249 %package profile_mobile-cxx03
250 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
251 Provides: %{name}-cxx03-compat = %{version}-%{release}
252 Conflicts: %{name}-profile_tv-cxx03
253 Conflicts: %{name}-profile_wearable-cxx03
254 Conflicts: %{name}-profile_ivi-cxx03
255 Conflicts: %{name}-profile_common-cxx03
256 %description profile_mobile-cxx03
257 The DALi Tizen Adaptor for mobile.
260 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
261 # if tv ||"undefined"
262 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
263 %package profile_tv-cxx03
264 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
265 Provides: %{name}-cxx03-compat = %{version}-%{release}
266 Conflicts: %{name}-profile_mobile-cxx03
267 Conflicts: %{name}-profile_wearable-cxx03
268 Conflicts: %{name}-profile_ivi-cxx03
269 Conflicts: %{name}-profile_common-cxx03
270 %description profile_tv-cxx03
271 The DALi Tizen Adaptor for tv.
274 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
275 # if wearable || "undefined"
276 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
277 %package profile_wearable-cxx03
278 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
279 Provides: %{name}-cxx03-compat = %{version}-%{release}
280 Conflicts: %{name}-profile_mobile-cxx03
281 Conflicts: %{name}-profile_tv-cxx03
282 Conflicts: %{name}-profile_ivi-cxx03
283 Conflicts: %{name}-profile_common-cxx03
284 %description profile_wearable-cxx03
285 The DALi Tizen Adaptor for wearable.
288 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
289 # if ivi ||"undefined"
290 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
291 %package profile_ivi-cxx03
292 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
293 Provides: %{name}-cxx03-compat = %{version}-%{release}
294 Conflicts: %{name}-profile_mobile-cxx03
295 Conflicts: %{name}-profile_wearable-cxx03
296 Conflicts: %{name}-profile_tv-cxx03
297 Conflicts: %{name}-profile_common-cxx03
298 %description profile_ivi-cxx03
299 The DALi Tizen Adaptor for ivi.
302 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
303 # if common ||"undefined"
304 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
305 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
306 %package profile_common-cxx03
307 %define tizen_2_2_compatibility 0
308 Summary: The DALi Tizen Adaptor for common with cxx03 abi
309 Provides: %{name}-cxx03-compat = %{version}-%{release}
310 Conflicts: %{name}-profile_mobile-cxx03
311 Conflicts: %{name}-profile_wearable-cxx03
312 Conflicts: %{name}-profile_tv-cxx03
313 Conflicts: %{name}-profile_ivi-cxx03
314 %description profile_common-cxx03
315 The DALi Tizen Adaptor for common.
319 ##############################
321 ##############################
323 Summary: Development components for the DALi Tizen Adaptor
324 Group: Development/Building
325 Requires: %{name} = %{version}-%{release}
326 Requires: %{name}-integration-devel = %{version}-%{release}
329 Development components for the DALi Tizen Adaptor - public headers and package configs
331 ##############################
333 ##############################
334 %package integration-devel
335 Summary: Integration development package for the Adaptor
336 Group: Development/Building
337 Requires: %{name} = %{version}-%{release}
339 %description integration-devel
340 Integration development package for the Adaptor - headers for integrating with an adaptor library.
342 %if !0%{?disable_cxx03_build}
343 ##############################
345 ##############################
347 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
348 Group: Development/Building
349 Requires: %{name}-cxx03 = %{version}-%{release}
350 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
352 %description devel-cxx03
353 Development components for the DALi Tizen Adaptor - public headers and package configs
355 ##############################
356 # integration-devel cxx03
357 ##############################
358 %package integration-devel-cxx03
359 Summary: Integration development package for the Adaptor with cxx03 abi
360 Group: Development/Building
361 Requires: %{name}-cxx03 = %{version}-%{release}
363 %description integration-devel-cxx03
364 Integration development package for the Adaptor - headers for integrating with an adaptor library.
367 ##############################
368 # Dali Feedback Plugin
369 ##############################
370 %package dali-feedback-plugin
371 Summary: Plugin to play haptic and audio feedback for Dali
372 Group: System/Libraries
373 Requires: %{name} = %{version}-%{release}
374 %description dali-feedback-plugin
375 Feedback plugin to play haptic and audio feedback for Dali
377 %if !0%{?disable_cxx03_build}
378 ##############################
379 # Dali Feedback Plugin cxx03
380 ##############################
382 %package dali-feedback-plugin-cxx03
383 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
384 Group: System/Libraries
385 Requires: %{name}-cxx03 = %{version}-%{release}
386 %description dali-feedback-plugin-cxx03
387 Feedback plugin to play haptic and audio feedback for Dali
391 ##############################
393 ##############################
397 #Use TZ_PATH when tizen version is 3.x or greater
399 %if 0%{?tizen_version_major} >= 3
400 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
401 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
402 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
403 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
404 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
405 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
407 %define dali_data_rw_dir /usr/share/dali/
408 %define dali_data_ro_dir /usr/share/dali/
409 %define font_preloaded_path /usr/share/fonts/
410 %define font_downloaded_path /opt/share/fonts/
411 %define font_application_path /usr/share/app_fonts/
412 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
415 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
416 %define dali_plugin_sound_files /plugins/sounds/
417 %define dev_include_path %{_includedir}
419 ##############################
421 ##############################
424 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
425 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
428 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
433 CXXFLAGS+=" -DWAYLAND"
434 configure_flags="--enable-wayland"
436 # Need Ecore-Wayland2 when Tizen version is 5.x or greater
437 %if 0%{?tizen_version_major} >= 5
438 CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
439 CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
440 configure_flags+=" --enable-ecore-wayland2"
444 # Use this conditional when Tizen version is 5.x or greater
445 %if 0%{?tizen_version_major} >= 5
446 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
449 # Use this conditional when Tizen version is 4.x or greater
450 %if 0%{?tizen_version_major} >= 4
451 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
454 %if 0%{?tizen_2_2_compatibility}
455 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
456 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
460 cd %{_builddir}/%{name}-%{version}/build/tizen
463 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
464 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
465 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
466 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
467 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
468 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
469 %if 0%{?tizen_platform_config_supported}
470 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
473 # Default to GLES 2.0 if not specified.
474 %if 0%{?target_gles_version} == 0
475 %define target_gles_version 20
478 # Set up the build via configure.
479 #######################################################################
480 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
481 # if mobile || "undefined"
482 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
483 %configure --prefix=$PREFIX --with-jpeg-turbo \
484 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
485 --enable-tizen-major-version=%{tizen_version_major} \
486 %if 0%{?tizen_version_major} >= 3
489 %if 0%{?tizen_2_2_compatibility}
490 --with-tizen-2-2-compatibility \
497 %if 0%{?enable_debug}
500 %if 0%{?enable_trace}
504 $configure_flags --libdir=%{_libdir} \
505 --enable-rename-so=no
508 make %{?jobs:-j%jobs}
510 pushd %{_builddir}/%{name}-%{version}/build/tizen
511 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
514 pushd %{buildroot}%{_libdir}
515 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
516 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
517 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
524 #######################################################################
525 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
526 # if tv ||"undefined"
527 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
528 %configure --prefix=$PREFIX --with-jpeg-turbo \
529 --enable-shaderbincache=DISABLE --enable-profile=TV \
530 --enable-tizen-major-version=%{tizen_version_major} \
531 %if 0%{?tizen_version_major} >= 3
534 %if 0%{?tizen_2_2_compatibility}
535 --with-tizen-2-2-compatibility \
542 %if 0%{?enable_debug}
545 %if 0%{?enable_trace}
549 $configure_flags --libdir=%{_libdir} \
550 --enable-rename-so=no
553 make %{?jobs:-j%jobs}
555 pushd %{_builddir}/%{name}-%{version}/build/tizen
556 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
559 pushd %{buildroot}%{_libdir}
560 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
561 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
562 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
568 #######################################################################
569 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
570 # if wearable || "undefined"
571 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
572 %configure --prefix=$PREFIX --with-jpeg-turbo \
573 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
574 --enable-tizen-major-version=%{tizen_version_major} \
575 %if 0%{?tizen_version_major} >= 3
578 %if 0%{?tizen_2_2_compatibility}
579 --with-tizen-2-2-compatibility \
586 %if 0%{?enable_debug}
589 %if 0%{?enable_trace}
593 $configure_flags --libdir=%{_libdir} \
594 --enable-rename-so=no
597 make %{?jobs:-j%jobs}
599 pushd %{_builddir}/%{name}-%{version}/build/tizen
600 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
603 pushd %{buildroot}%{_libdir}
604 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
605 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
606 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
612 #######################################################################
613 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
614 # if ivi ||"undefined"
615 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
616 %configure --prefix=$PREFIX --with-jpeg-turbo \
617 --enable-shaderbincache=DISABLE --enable-profile=IVI \
618 --enable-tizen-major-version=%{tizen_version_major} \
619 %if 0%{?tizen_version_major} >= 3
622 %if 0%{?tizen_2_2_compatibility}
623 --with-tizen-2-2-compatibility \
630 %if 0%{?enable_debug}
633 %if 0%{?enable_trace}
637 $configure_flags --libdir=%{_libdir} \
638 --enable-rename-so=no
641 make %{?jobs:-j%jobs}
643 pushd %{_builddir}/%{name}-%{version}/build/tizen
644 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
647 pushd %{buildroot}%{_libdir}
648 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
649 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
651 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
657 #######################################################################
659 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
660 # if common ||"undefined"
661 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
662 %configure --prefix=$PREFIX --with-jpeg-turbo \
663 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
664 --enable-tizen-major-version=%{tizen_version_major} \
665 %if 0%{?tizen_version_major} >= 3
668 %if 0%{?tizen_2_2_compatibility}
669 --with-tizen-2-2-compatibility \
676 %if 0%{?enable_debug}
679 %if 0%{?enable_trace}
683 $configure_flags --libdir=%{_libdir} \
684 --enable-rename-so=no
687 make %{?jobs:-j%jobs}
689 pushd %{_builddir}/%{name}-%{version}/build/tizen
690 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
693 pushd %{buildroot}%{_libdir}
694 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
695 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
697 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
704 %if !0%{?disable_cxx03_build}
705 #######################################################################
707 #######################################################################
709 # Set up the build via configure.
710 #######################################################################
711 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
712 # if mobile || "undefined"
713 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
715 %configure --prefix=$PREFIX --with-jpeg-turbo \
716 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
717 --enable-tizen-major-version=%{tizen_version_major} \
718 %if 0%{?tizen_version_major} >= 3
721 --enable-cxx03-abi=yes \
722 %if 0%{?tizen_2_2_compatibility}
723 --with-tizen-2-2-compatibility \
730 %if 0%{?enable_debug}
733 %if 0%{?enable_trace}
737 $configure_flags --libdir=%{_libdir} \
738 --enable-rename-so=no
741 make %{?jobs:-j%jobs}
743 pushd %{_builddir}/%{name}-%{version}/build/tizen
744 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
747 pushd %{buildroot}%{_libdir}
748 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
749 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
756 #######################################################################
757 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
758 # if tv ||"undefined"
759 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
761 %configure --prefix=$PREFIX --with-jpeg-turbo \
762 --enable-shaderbincache=DISABLE --enable-profile=TV \
763 --enable-tizen-major-version=%{tizen_version_major} \
764 %if 0%{?tizen_version_major} >= 3
767 --enable-cxx03-abi=yes \
768 %if 0%{?tizen_2_2_compatibility}
769 --with-tizen-2-2-compatibility \
776 %if 0%{?enable_debug}
779 %if 0%{?enable_trace}
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.tv"; 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 wearable || "undefined"
804 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
806 %configure --prefix=$PREFIX --with-jpeg-turbo \
807 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
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}
824 %if 0%{?enable_trace}
828 $configure_flags --libdir=%{_libdir} \
829 --enable-rename-so=no
832 make %{?jobs:-j%jobs}
834 pushd %{_builddir}/%{name}-%{version}/build/tizen
835 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
838 pushd %{buildroot}%{_libdir}
839 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
840 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
846 #######################################################################
847 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
848 # if ivi ||"undefined"
849 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
851 %configure --prefix=$PREFIX --with-jpeg-turbo \
852 --enable-shaderbincache=DISABLE --enable-profile=IVI \
853 --enable-tizen-major-version=%{tizen_version_major} \
854 %if 0%{?tizen_version_major} >= 3
857 --enable-cxx03-abi=yes \
858 %if 0%{?tizen_2_2_compatibility}
859 --with-tizen-2-2-compatibility \
866 %if 0%{?enable_debug}
869 %if 0%{?enable_trace}
873 $configure_flags --libdir=%{_libdir} \
874 --enable-rename-so=no
877 make %{?jobs:-j%jobs}
879 pushd %{_builddir}/%{name}-%{version}/build/tizen
880 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
883 pushd %{buildroot}%{_libdir}
884 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
885 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
891 #######################################################################
893 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
894 # if common ||"undefined"
895 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
897 %configure --prefix=$PREFIX --with-jpeg-turbo \
898 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
899 --enable-tizen-major-version=%{tizen_version_major} \
900 %if 0%{?tizen_version_major} >= 3
903 --enable-cxx03-abi=yes \
904 %if 0%{?tizen_2_2_compatibility}
905 --with-tizen-2-2-compatibility \
912 %if 0%{?enable_debug}
915 %if 0%{?enable_trace}
919 $configure_flags --libdir=%{_libdir} \
920 --enable-rename-so=no
923 make %{?jobs:-j%jobs}
928 ##############################
930 ##############################
934 pushd %{_builddir}/%{name}-%{version}/build/tizen
935 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
938 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
939 # !unified && (wearable || tv || ivi || mobile)
940 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
941 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
944 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
945 # wearable || tv || ivi || mobile || unified
946 %if "%{?profile}" != "common"
947 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
948 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
952 ################################################
954 ###############################################
955 pushd %{buildroot}%{_libdir}
957 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
958 # if common ||"undefined"
959 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
960 rm -rf libdali-adaptor*.so
961 %if !0%{?disable_cxx03_build}
962 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
964 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
967 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
968 # if wearable || "undefined"
969 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
970 rm -rf libdali-adaptor*.so.wearable
971 %if !0%{?disable_cxx03_build}
972 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
974 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
977 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
978 # if tv ||"undefined"
979 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
980 rm -rf libdali-adaptor*.so.tv
981 %if !0%{?disable_cxx03_build}
982 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
984 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
987 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
988 # if ivi ||"undefined"
989 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
990 rm -rf libdali-adaptor*.so.ivi
991 %if !0%{?disable_cxx03_build}
992 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
994 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
997 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
998 # if mobile || "undefined"
999 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1000 rm -rf libdali-adaptor*.so.mobile
1001 %if !0%{?disable_cxx03_build}
1002 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1004 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1008 ##############################
1010 # 1 - Pre Install new package
1011 # 2 - Install new package
1012 # 3 - Post install new package
1013 # 4 - Pre uninstall old package
1014 # 5 - Remove files not overwritten by new package
1015 # 6 - Post uninstall old package
1016 ##############################
1021 ##############################
1022 # Post Install new package
1023 ##############################
1028 ##############################
1029 # Pre Uninstall old package
1030 ##############################
1034 ##############################
1035 # Post Uninstall old package
1036 ##############################
1041 ##############################
1043 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1044 # if mobile || "undefined"
1045 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1046 %post profile_mobile
1048 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1053 %postun profile_mobile
1058 ##############################
1060 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1061 # if tv ||"undefined"
1062 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1065 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1075 ##############################
1077 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1078 # if wearable || "undefined"
1079 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1080 %post profile_wearable
1082 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1087 %postun profile_wearable
1092 ##############################
1094 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1095 # if ivi ||"undefined"
1096 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1099 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1109 %if !0%{?disable_cxx03_build}
1110 ##############################
1112 #############################
1113 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1114 # if mobile || "undefined"
1115 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1116 %post profile_mobile-cxx03
1118 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1123 %postun profile_mobile-cxx03
1128 ##############################
1130 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1131 # if tv ||"undefined"
1132 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1133 %post profile_tv-cxx03
1135 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1140 %postun profile_tv-cxx03
1145 ##############################
1147 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1148 # if wearable || "undefined"
1149 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1150 %post profile_wearable-cxx03
1152 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1157 %postun profile_wearable-cxx03
1162 ##############################
1164 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1165 # if ivi ||"undefined"
1166 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1167 %post profile_ivi-cxx03
1169 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1174 %postun profile_ivi-cxx03
1180 ##############################
1181 # Files in Binary Packages
1182 ##############################
1185 %manifest dali-adaptor.manifest
1186 %defattr(-,root,root,-)
1187 %dir %{user_shader_cache_dir}
1191 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1192 # if common ||"undefined"
1193 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1194 %defattr(-,root,root,-)
1195 %{_libdir}/libdali-adaptor-cxx11.so.0*
1196 %{_libdir}/libdali-adaptor.so
1197 %exclude %{_libdir}/libdali-adap*.so*.mobile
1198 %exclude %{_libdir}/libdali-adap*.so*.wearable
1199 %exclude %{_libdir}/libdali-adap*.so*.tv
1200 %exclude %{_libdir}/libdali-adap*.so*.ivi
1203 %if !0%{?disable_cxx03_build}
1205 %manifest dali-adaptor.manifest
1206 %defattr(-,root,root,-)
1207 %dir %{user_shader_cache_dir}
1210 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1211 # if common ||"undefined"
1212 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1213 %defattr(-,root,root,-)
1214 %{_libdir}/libdali-adaptor.so.0*
1215 %{_libdir}/libdali-adaptor-cxx03.so
1216 %exclude %{_libdir}/libdali-adap*.so*.mobile
1217 %exclude %{_libdir}/libdali-adap*.so*.wearable
1218 %exclude %{_libdir}/libdali-adap*.so*.tv
1219 %exclude %{_libdir}/libdali-adap*.so*.ivi
1222 %if 0%{?tizen_version_major} >= 3
1223 %files dali-feedback-plugin-cxx03
1224 %manifest dali-adaptor.manifest
1225 %defattr(-,root,root,-)
1226 %{_libdir}/libdali-feedback-plugin.so*
1227 %{dali_plugin_sound_files}/*
1231 #################################################
1233 %if 0%{?tizen_version_major} >= 3
1234 %files dali-feedback-plugin
1235 %manifest dali-adaptor.manifest
1236 %defattr(-,root,root,-)
1237 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1238 %{dali_plugin_sound_files}/*
1241 #################################################
1243 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1244 # if common ||"undefined"
1245 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1246 %files profile_common
1247 # default .so files are housed in the main pkg.
1250 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1251 # if mobile || "undefined"
1252 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1253 %files profile_mobile
1254 %manifest dali-adaptor.manifest
1255 %defattr(-,root,root,-)
1256 %{_libdir}/libdali-adaptor.so.mobile
1257 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1260 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1261 # if tv ||"undefined"
1262 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1264 %manifest dali-adaptor.manifest
1265 %defattr(-,root,root,-)
1266 %{_libdir}/libdali-adaptor.so.tv
1267 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1270 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1271 # if wearable || "undefined"
1272 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1273 %files profile_wearable
1274 %manifest dali-adaptor.manifest
1275 %defattr(-,root,root,-)
1276 %{_libdir}/libdali-adaptor.so.wearable
1277 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1280 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1281 # if ivi ||"undefined"
1282 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1284 %manifest dali-adaptor.manifest
1285 %defattr(-,root,root,-)
1286 %{_libdir}/libdali-adaptor.so.ivi
1287 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1292 %defattr(-,root,root,-)
1293 %{dev_include_path}/dali/dali.h
1294 %{dev_include_path}/dali/public-api/*
1295 %{dev_include_path}/dali/devel-api/*
1296 %{dev_include_path}/dali/doc/*
1297 %{_libdir}/pkgconfig/dali-adaptor.pc
1299 %files integration-devel
1300 %defattr(-,root,root,-)
1301 %{dev_include_path}/dali/integration-api/adaptors/*
1302 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1304 %if !0%{?disable_cxx03_build}
1305 ################################################
1307 ################################################
1309 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1310 # if common ||"undefined"
1311 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1312 %files profile_common-cxx03
1313 # default .so files are housed in the main pkg.
1316 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1317 # if mobile || "undefined"
1318 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1319 %files profile_mobile-cxx03
1320 %manifest dali-adaptor.manifest
1321 %defattr(-,root,root,-)
1322 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1323 %{_libdir}/libdali-adaptor.so.0*mobile
1326 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1327 # if tv ||"undefined"
1328 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1329 %files profile_tv-cxx03
1330 %manifest dali-adaptor.manifest
1331 %defattr(-,root,root,-)
1332 %{_libdir}/libdali-adaptor-cxx03.so.tv
1333 %{_libdir}/libdali-adaptor.so.0*.tv
1336 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1337 # if wearable || "undefined"
1338 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1339 %files profile_wearable-cxx03
1340 %manifest dali-adaptor.manifest
1341 %defattr(-,root,root,-)
1342 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1343 %{_libdir}/libdali-adaptor.so.0*.wearable
1346 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1347 # if ivi ||"undefined"
1348 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1349 %files profile_ivi-cxx03
1350 %manifest dali-adaptor.manifest
1351 %defattr(-,root,root,-)
1352 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1353 %{_libdir}/libdali-adaptor.so.0*.ivi
1358 %defattr(-,root,root,-)
1359 %{dev_include_path}/dali/dali.h
1360 %{dev_include_path}/dali/public-api/*
1361 %{dev_include_path}/dali/devel-api/*
1362 %{dev_include_path}/dali/doc/*
1363 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1365 %files integration-devel-cxx03
1366 %defattr(-,root,root,-)
1367 %{dev_include_path}/dali/integration-api/adaptors/*
1368 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc