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)
90 ####### BUILDING FOR WAYLAND #######
91 BuildRequires: pkgconfig(wayland-egl)
92 BuildRequires: pkgconfig(wayland-client)
93 BuildRequires: wayland-devel
94 BuildRequires: wayland-extension-client-devel
96 # dali-adaptor uses ecore mainloop
97 BuildRequires: pkgconfig(ecore-wayland)
99 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
100 BuildRequires: pkgconfig(libtbm)
102 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
103 %if !0%{?disable_cxx03_build}
104 BuildRequires: pkgconfig(tpkp-curl-deprecated)
106 BuildRequires: pkgconfig(tpkp-curl)
108 ####### BUILDING FOR X11#######
110 BuildRequires: pkgconfig(egl)
111 BuildRequires: pkgconfig(xext)
112 BuildRequires: pkgconfig(xi)
113 BuildRequires: pkgconfig(xfixes)
114 BuildRequires: pkgconfig(xdamage)
115 BuildRequires: pkgconfig(utilX)
119 %if 0%{?tizen_version_major} == 3
120 BuildRequires: pkgconfig(capi-appfw-application)
121 BuildRequires: pkgconfig(elementary)
123 BuildRequires: pkgconfig(appcore-ui)
124 BuildRequires: pkgconfig(capi-appfw-app-common)
125 BuildRequires: pkgconfig(capi-appfw-app-control)
126 BuildRequires: pkgconfig(ecore-imf)
129 BuildRequires: pkgconfig(capi-system-system-settings)
131 # for feedback plugin
132 BuildRequires: pkgconfig(mm-sound)
133 %if 0%{?tizen_version_major} >= 3
134 BuildRequires: pkgconfig(feedback)
138 Requires: %{name}-compat = %{version}-%{release}
139 Recommends: %{name}-profile_common = %{version}-%{release}
142 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
143 platform abstraction and application shell
145 %if !0%{?disable_cxx03_build}
147 Summary: The DALi Tizen Adaptor with cxx03 abi
148 Provides: %{name}-cxx03 = %{version}-%{release}
151 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
152 platform abstraction and application shell
155 ###########################################
156 # Dali adapter for profiles
157 ###########################################
159 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
160 # if mobile || "undefined"
161 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
162 %package profile_mobile
163 Summary: The DALi Tizen Adaptor for mobile
164 Provides: %{name}-compat = %{version}-%{release}
165 Conflicts: %{name}-profile_tv
166 Conflicts: %{name}-profile_wearable
167 Conflicts: %{name}-profile_ivi
168 Conflicts: %{name}-profile_common
169 %description profile_mobile
170 The DALi Tizen Adaptor for mobile.
173 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
174 # if tv ||"undefined"
175 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
177 Summary: The DALi Tizen Adaptor for tv
178 Provides: %{name}-compat = %{version}-%{release}
179 Conflicts: %{name}-profile_mobile
180 Conflicts: %{name}-profile_wearable
181 Conflicts: %{name}-profile_ivi
182 Conflicts: %{name}-profile_common
183 %description profile_tv
184 The DALi Tizen Adaptor for tv.
187 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
188 # if wearable || "undefined"
189 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
190 %package profile_wearable
191 Summary: The DALi Tizen Adaptor for wearable
192 Provides: %{name}-compat = %{version}-%{release}
193 Conflicts: %{name}-profile_mobile
194 Conflicts: %{name}-profile_tv
195 Conflicts: %{name}-profile_ivi
196 Conflicts: %{name}-profile_common
197 %description profile_wearable
198 The DALi Tizen Adaptor for wearable.
201 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
202 # if ivi ||"undefined"
203 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
205 Summary: The DALi Tizen Adaptor for ivi
206 Provides: %{name}-compat = %{version}-%{release}
207 Conflicts: %{name}-profile_mobile
208 Conflicts: %{name}-profile_wearable
209 Conflicts: %{name}-profile_tv
210 Conflicts: %{name}-profile_common
211 %description profile_ivi
212 The DALi Tizen Adaptor for ivi.
215 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
216 # if common ||"undefined"
217 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
218 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
219 %package profile_common
220 %define tizen_2_2_compatibility 0
221 Summary: The DALi Tizen Adaptor for common
222 Provides: %{name}-compat = %{version}-%{release}
223 Conflicts: %{name}-profile_mobile
224 Conflicts: %{name}-profile_wearable
225 Conflicts: %{name}-profile_tv
226 Conflicts: %{name}-profile_ivi
227 %description profile_common
228 The DALi Tizen Adaptor for common.
231 %if !0%{?disable_cxx03_build}
232 ###########################################
233 # Dali adapter for profiles for cxx03 ABI
234 ###########################################
236 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
237 # if mobile || "undefined"
238 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
239 %package profile_mobile-cxx03
240 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
241 Provides: %{name}-cxx03-compat = %{version}-%{release}
242 Conflicts: %{name}-profile_tv-cxx03
243 Conflicts: %{name}-profile_wearable-cxx03
244 Conflicts: %{name}-profile_ivi-cxx03
245 Conflicts: %{name}-profile_common-cxx03
246 %description profile_mobile-cxx03
247 The DALi Tizen Adaptor for mobile.
250 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
251 # if tv ||"undefined"
252 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
253 %package profile_tv-cxx03
254 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
255 Provides: %{name}-cxx03-compat = %{version}-%{release}
256 Conflicts: %{name}-profile_mobile-cxx03
257 Conflicts: %{name}-profile_wearable-cxx03
258 Conflicts: %{name}-profile_ivi-cxx03
259 Conflicts: %{name}-profile_common-cxx03
260 %description profile_tv-cxx03
261 The DALi Tizen Adaptor for tv.
264 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
265 # if wearable || "undefined"
266 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
267 %package profile_wearable-cxx03
268 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
269 Provides: %{name}-cxx03-compat = %{version}-%{release}
270 Conflicts: %{name}-profile_mobile-cxx03
271 Conflicts: %{name}-profile_tv-cxx03
272 Conflicts: %{name}-profile_ivi-cxx03
273 Conflicts: %{name}-profile_common-cxx03
274 %description profile_wearable-cxx03
275 The DALi Tizen Adaptor for wearable.
278 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
279 # if ivi ||"undefined"
280 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
281 %package profile_ivi-cxx03
282 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
283 Provides: %{name}-cxx03-compat = %{version}-%{release}
284 Conflicts: %{name}-profile_mobile-cxx03
285 Conflicts: %{name}-profile_wearable-cxx03
286 Conflicts: %{name}-profile_tv-cxx03
287 Conflicts: %{name}-profile_common-cxx03
288 %description profile_ivi-cxx03
289 The DALi Tizen Adaptor for ivi.
292 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
293 # if common ||"undefined"
294 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
295 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
296 %package profile_common-cxx03
297 %define tizen_2_2_compatibility 0
298 Summary: The DALi Tizen Adaptor for common with cxx03 abi
299 Provides: %{name}-cxx03-compat = %{version}-%{release}
300 Conflicts: %{name}-profile_mobile-cxx03
301 Conflicts: %{name}-profile_wearable-cxx03
302 Conflicts: %{name}-profile_tv-cxx03
303 Conflicts: %{name}-profile_ivi-cxx03
304 %description profile_common-cxx03
305 The DALi Tizen Adaptor for common.
309 ##############################
311 ##############################
313 Summary: Development components for the DALi Tizen Adaptor
314 Group: Development/Building
315 Requires: %{name} = %{version}-%{release}
316 Requires: %{name}-integration-devel = %{version}-%{release}
319 Development components for the DALi Tizen Adaptor - public headers and package configs
321 ##############################
323 ##############################
324 %package integration-devel
325 Summary: Integration development package for the Adaptor
326 Group: Development/Building
327 Requires: %{name} = %{version}-%{release}
329 %description integration-devel
330 Integration development package for the Adaptor - headers for integrating with an adaptor library.
332 %if !0%{?disable_cxx03_build}
333 ##############################
335 ##############################
337 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
338 Group: Development/Building
339 Requires: %{name}-cxx03 = %{version}-%{release}
340 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
342 %description devel-cxx03
343 Development components for the DALi Tizen Adaptor - public headers and package configs
345 ##############################
346 # integration-devel cxx03
347 ##############################
348 %package integration-devel-cxx03
349 Summary: Integration development package for the Adaptor with cxx03 abi
350 Group: Development/Building
351 Requires: %{name}-cxx03 = %{version}-%{release}
353 %description integration-devel-cxx03
354 Integration development package for the Adaptor - headers for integrating with an adaptor library.
357 ##############################
358 # Dali Feedback Plugin
359 ##############################
360 %package dali-feedback-plugin
361 Summary: Plugin to play haptic and audio feedback for Dali
362 Group: System/Libraries
363 Requires: %{name} = %{version}-%{release}
364 %description dali-feedback-plugin
365 Feedback plugin to play haptic and audio feedback for Dali
367 %if !0%{?disable_cxx03_build}
368 ##############################
369 # Dali Feedback Plugin cxx03
370 ##############################
372 %package dali-feedback-plugin-cxx03
373 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
374 Group: System/Libraries
375 Requires: %{name}-cxx03 = %{version}-%{release}
376 %description dali-feedback-plugin-cxx03
377 Feedback plugin to play haptic and audio feedback for Dali
381 ##############################
383 ##############################
387 #Use TZ_PATH when tizen version is 3.x or greater
389 %if 0%{?tizen_version_major} >= 3
390 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
391 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
392 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
393 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
394 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
395 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
397 %define dali_data_rw_dir /usr/share/dali/
398 %define dali_data_ro_dir /usr/share/dali/
399 %define font_preloaded_path /usr/share/fonts/
400 %define font_downloaded_path /opt/share/fonts/
401 %define font_application_path /usr/share/app_fonts/
402 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
405 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
406 %define dali_plugin_sound_files /plugins/sounds/
407 %define dev_include_path %{_includedir}
409 ##############################
411 ##############################
414 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
415 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
418 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
423 CXXFLAGS+=" -DWAYLAND"
424 configure_flags="--enable-wayland"
427 # Use this conditional when Tizen version is 4.x or greater
428 %if 0%{?tizen_version_major} >= 4
429 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
432 %if 0%{?tizen_2_2_compatibility}
433 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
434 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
438 cd %{_builddir}/%{name}-%{version}/build/tizen
441 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
442 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
443 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
444 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
445 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
446 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
447 %if 0%{?tizen_platform_config_supported}
448 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
451 # Default to GLES 2.0 if not specified.
452 %if 0%{?target_gles_version} == 0
453 %define target_gles_version 20
456 # Set up the build via configure.
457 #######################################################################
458 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
459 # if mobile || "undefined"
460 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
461 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
462 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
463 --enable-tizen-major-version=%{tizen_version_major} \
464 %if 0%{?tizen_version_major} >= 3
467 %if 0%{?tizen_2_2_compatibility}
468 --with-tizen-2-2-compatibility \
475 %if 0%{?enable_debug}
479 $configure_flags --libdir=%{_libdir} \
480 --enable-rename-so=no
483 make %{?jobs:-j%jobs}
485 pushd %{_builddir}/%{name}-%{version}/build/tizen
486 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
489 pushd %{buildroot}%{_libdir}
490 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
491 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
492 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
499 #######################################################################
500 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
501 # if tv ||"undefined"
502 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
503 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
504 --enable-shaderbincache=DISABLE --enable-profile=TV \
505 --enable-tizen-major-version=%{tizen_version_major} \
506 %if 0%{?tizen_version_major} >= 3
509 %if 0%{?tizen_2_2_compatibility}
510 --with-tizen-2-2-compatibility \
517 %if 0%{?enable_debug}
521 $configure_flags --libdir=%{_libdir} \
522 --enable-rename-so=no
525 make %{?jobs:-j%jobs}
527 pushd %{_builddir}/%{name}-%{version}/build/tizen
528 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
531 pushd %{buildroot}%{_libdir}
532 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
533 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
534 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 wearable || "undefined"
543 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
544 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
545 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
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_debug}
562 $configure_flags --libdir=%{_libdir} \
563 --enable-rename-so=no
566 make %{?jobs:-j%jobs}
568 pushd %{_builddir}/%{name}-%{version}/build/tizen
569 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
572 pushd %{buildroot}%{_libdir}
573 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
574 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
575 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
581 #######################################################################
582 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
583 # if ivi ||"undefined"
584 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
585 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
586 --enable-shaderbincache=DISABLE --enable-profile=IVI \
587 --enable-tizen-major-version=%{tizen_version_major} \
588 %if 0%{?tizen_version_major} >= 3
591 %if 0%{?tizen_2_2_compatibility}
592 --with-tizen-2-2-compatibility \
599 %if 0%{?enable_debug}
603 $configure_flags --libdir=%{_libdir} \
604 --enable-rename-so=no
607 make %{?jobs:-j%jobs}
609 pushd %{_builddir}/%{name}-%{version}/build/tizen
610 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
613 pushd %{buildroot}%{_libdir}
614 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
615 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
617 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
623 #######################################################################
625 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
626 # if common ||"undefined"
627 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
628 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
629 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
630 --enable-tizen-major-version=%{tizen_version_major} \
631 %if 0%{?tizen_version_major} >= 3
634 %if 0%{?tizen_2_2_compatibility}
635 --with-tizen-2-2-compatibility \
642 %if 0%{?enable_debug}
646 $configure_flags --libdir=%{_libdir} \
647 --enable-rename-so=no
650 make %{?jobs:-j%jobs}
652 pushd %{_builddir}/%{name}-%{version}/build/tizen
653 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
656 pushd %{buildroot}%{_libdir}
657 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
658 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
660 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
667 %if !0%{?disable_cxx03_build}
668 #######################################################################
670 #######################################################################
672 # Set up the build via configure.
673 #######################################################################
674 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
675 # if mobile || "undefined"
676 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
678 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
679 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
680 --enable-tizen-major-version=%{tizen_version_major} \
681 %if 0%{?tizen_version_major} >= 3
684 --enable-cxx03-abi=yes \
685 %if 0%{?tizen_2_2_compatibility}
686 --with-tizen-2-2-compatibility \
693 %if 0%{?enable_debug}
697 $configure_flags --libdir=%{_libdir} \
698 --enable-rename-so=no
701 make %{?jobs:-j%jobs}
703 pushd %{_builddir}/%{name}-%{version}/build/tizen
704 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
707 pushd %{buildroot}%{_libdir}
708 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
709 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
716 #######################################################################
717 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
718 # if tv ||"undefined"
719 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
721 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
722 --enable-shaderbincache=DISABLE --enable-profile=TV \
723 --enable-tizen-major-version=%{tizen_version_major} \
724 %if 0%{?tizen_version_major} >= 3
727 --enable-cxx03-abi=yes \
728 %if 0%{?tizen_2_2_compatibility}
729 --with-tizen-2-2-compatibility \
736 %if 0%{?enable_debug}
740 $configure_flags --libdir=%{_libdir} \
741 --enable-rename-so=no
744 make %{?jobs:-j%jobs}
746 pushd %{_builddir}/%{name}-%{version}/build/tizen
747 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
750 pushd %{buildroot}%{_libdir}
751 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
752 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
758 #######################################################################
759 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
760 # if wearable || "undefined"
761 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
763 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
764 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
765 --enable-tizen-major-version=%{tizen_version_major} \
766 %if 0%{?tizen_version_major} >= 3
769 --enable-cxx03-abi=yes \
770 %if 0%{?tizen_2_2_compatibility}
771 --with-tizen-2-2-compatibility \
778 %if 0%{?enable_debug}
782 $configure_flags --libdir=%{_libdir} \
783 --enable-rename-so=no
786 make %{?jobs:-j%jobs}
788 pushd %{_builddir}/%{name}-%{version}/build/tizen
789 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
792 pushd %{buildroot}%{_libdir}
793 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
794 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
800 #######################################################################
801 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
802 # if ivi ||"undefined"
803 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
805 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
806 --enable-shaderbincache=DISABLE --enable-profile=IVI \
807 --enable-tizen-major-version=%{tizen_version_major} \
808 %if 0%{?tizen_version_major} >= 3
811 --enable-cxx03-abi=yes \
812 %if 0%{?tizen_2_2_compatibility}
813 --with-tizen-2-2-compatibility \
820 %if 0%{?enable_debug}
824 $configure_flags --libdir=%{_libdir} \
825 --enable-rename-so=no
828 make %{?jobs:-j%jobs}
830 pushd %{_builddir}/%{name}-%{version}/build/tizen
831 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
834 pushd %{buildroot}%{_libdir}
835 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
836 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
842 #######################################################################
844 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
845 # if common ||"undefined"
846 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
848 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
849 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
850 --enable-tizen-major-version=%{tizen_version_major} \
851 %if 0%{?tizen_version_major} >= 3
854 --enable-cxx03-abi=yes \
855 %if 0%{?tizen_2_2_compatibility}
856 --with-tizen-2-2-compatibility \
863 %if 0%{?enable_debug}
867 $configure_flags --libdir=%{_libdir} \
868 --enable-rename-so=no
871 make %{?jobs:-j%jobs}
876 ##############################
878 ##############################
882 pushd %{_builddir}/%{name}-%{version}/build/tizen
883 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
886 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
887 # !unified && (wearable || tv || ivi || mobile)
888 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
889 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
892 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
893 # wearable || tv || ivi || mobile || unified
894 %if "%{?profile}" != "common"
895 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
896 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
900 ################################################
902 ###############################################
903 pushd %{buildroot}%{_libdir}
905 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
906 # if common ||"undefined"
907 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
908 rm -rf libdali-adaptor*.so
909 %if !0%{?disable_cxx03_build}
910 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
912 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
915 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
916 # if wearable || "undefined"
917 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
918 rm -rf libdali-adaptor*.so.wearable
919 %if !0%{?disable_cxx03_build}
920 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
922 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
925 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
926 # if tv ||"undefined"
927 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
928 rm -rf libdali-adaptor*.so.tv
929 %if !0%{?disable_cxx03_build}
930 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
932 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
935 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
936 # if ivi ||"undefined"
937 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
938 rm -rf libdali-adaptor*.so.ivi
939 %if !0%{?disable_cxx03_build}
940 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
942 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
945 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
946 # if mobile || "undefined"
947 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
948 rm -rf libdali-adaptor*.so.mobile
949 %if !0%{?disable_cxx03_build}
950 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
952 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
956 ##############################
958 # 1 - Pre Install new package
959 # 2 - Install new package
960 # 3 - Post install new package
961 # 4 - Pre uninstall old package
962 # 5 - Remove files not overwritten by new package
963 # 6 - Post uninstall old package
964 ##############################
969 ##############################
970 # Post Install new package
971 ##############################
976 ##############################
977 # Pre Uninstall old package
978 ##############################
982 ##############################
983 # Post Uninstall old package
984 ##############################
989 ##############################
991 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
992 # if mobile || "undefined"
993 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
996 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1001 %postun profile_mobile
1006 ##############################
1008 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1009 # if tv ||"undefined"
1010 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1013 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1023 ##############################
1025 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1026 # if wearable || "undefined"
1027 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1028 %post profile_wearable
1030 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1035 %postun profile_wearable
1040 ##############################
1042 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1043 # if ivi ||"undefined"
1044 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1047 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1057 %if !0%{?disable_cxx03_build}
1058 ##############################
1060 #############################
1061 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1062 # if mobile || "undefined"
1063 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1064 %post profile_mobile-cxx03
1066 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1071 %postun profile_mobile-cxx03
1076 ##############################
1078 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1079 # if tv ||"undefined"
1080 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1081 %post profile_tv-cxx03
1083 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1088 %postun profile_tv-cxx03
1093 ##############################
1095 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1096 # if wearable || "undefined"
1097 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1098 %post profile_wearable-cxx03
1100 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1105 %postun profile_wearable-cxx03
1110 ##############################
1112 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1113 # if ivi ||"undefined"
1114 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1115 %post profile_ivi-cxx03
1117 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1122 %postun profile_ivi-cxx03
1128 ##############################
1129 # Files in Binary Packages
1130 ##############################
1133 %manifest dali-adaptor.manifest
1134 %defattr(-,root,root,-)
1135 %defattr(-,app,app,-)
1136 %dir %{user_shader_cache_dir}
1140 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1141 # if common ||"undefined"
1142 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1143 %defattr(-,root,root,-)
1144 %{_libdir}/libdali-adaptor-cxx11.so.0*
1145 %{_libdir}/libdali-adaptor.so
1146 %exclude %{_libdir}/libdali-adap*.so*.mobile
1147 %exclude %{_libdir}/libdali-adap*.so*.wearable
1148 %exclude %{_libdir}/libdali-adap*.so*.tv
1149 %exclude %{_libdir}/libdali-adap*.so*.ivi
1152 %if !0%{?disable_cxx03_build}
1154 %manifest dali-adaptor.manifest
1155 %defattr(-,root,root,-)
1156 %defattr(-,app,app,-)
1157 %dir %{user_shader_cache_dir}
1160 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1161 # if common ||"undefined"
1162 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1163 %defattr(-,root,root,-)
1164 %{_libdir}/libdali-adaptor.so.0*
1165 %{_libdir}/libdali-adaptor-cxx03.so
1166 %exclude %{_libdir}/libdali-adap*.so*.mobile
1167 %exclude %{_libdir}/libdali-adap*.so*.wearable
1168 %exclude %{_libdir}/libdali-adap*.so*.tv
1169 %exclude %{_libdir}/libdali-adap*.so*.ivi
1172 %if 0%{?tizen_version_major} >= 3
1173 %files dali-feedback-plugin-cxx03
1174 %manifest dali-adaptor.manifest
1175 %defattr(-,root,root,-)
1176 %{_libdir}/libdali-feedback-plugin.so*
1177 %{dali_plugin_sound_files}/*
1181 #################################################
1183 %if 0%{?tizen_version_major} >= 3
1184 %files dali-feedback-plugin
1185 %manifest dali-adaptor.manifest
1186 %defattr(-,root,root,-)
1187 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1188 %{dali_plugin_sound_files}/*
1191 #################################################
1193 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1194 # if common ||"undefined"
1195 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1196 %files profile_common
1197 # default .so files are housed in the main pkg.
1200 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1201 # if mobile || "undefined"
1202 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1203 %files profile_mobile
1204 %manifest dali-adaptor.manifest
1205 %defattr(-,root,root,-)
1206 %{_libdir}/libdali-adaptor.so.mobile
1207 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1210 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1211 # if tv ||"undefined"
1212 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1214 %manifest dali-adaptor.manifest
1215 %defattr(-,root,root,-)
1216 %{_libdir}/libdali-adaptor.so.tv
1217 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1220 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1221 # if wearable || "undefined"
1222 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1223 %files profile_wearable
1224 %manifest dali-adaptor.manifest
1225 %defattr(-,root,root,-)
1226 %{_libdir}/libdali-adaptor.so.wearable
1227 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1230 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1231 # if ivi ||"undefined"
1232 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1234 %manifest dali-adaptor.manifest
1235 %defattr(-,root,root,-)
1236 %{_libdir}/libdali-adaptor.so.ivi
1237 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1242 %defattr(-,root,root,-)
1243 %{dev_include_path}/dali/dali.h
1244 %{dev_include_path}/dali/public-api/*
1245 %{dev_include_path}/dali/devel-api/*
1246 %{dev_include_path}/dali/doc/*
1247 %{_libdir}/pkgconfig/dali-adaptor.pc
1249 %files integration-devel
1250 %defattr(-,root,root,-)
1251 %{dev_include_path}/dali/integration-api/adaptors/*
1252 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1254 %if !0%{?disable_cxx03_build}
1255 ################################################
1257 ################################################
1259 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1260 # if common ||"undefined"
1261 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1262 %files profile_common-cxx03
1263 # default .so files are housed in the main pkg.
1266 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1267 # if mobile || "undefined"
1268 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1269 %files profile_mobile-cxx03
1270 %manifest dali-adaptor.manifest
1271 %defattr(-,root,root,-)
1272 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1273 %{_libdir}/libdali-adaptor.so.0*mobile
1276 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1277 # if tv ||"undefined"
1278 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1279 %files profile_tv-cxx03
1280 %manifest dali-adaptor.manifest
1281 %defattr(-,root,root,-)
1282 %{_libdir}/libdali-adaptor-cxx03.so.tv
1283 %{_libdir}/libdali-adaptor.so.0*.tv
1286 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1287 # if wearable || "undefined"
1288 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1289 %files profile_wearable-cxx03
1290 %manifest dali-adaptor.manifest
1291 %defattr(-,root,root,-)
1292 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1293 %{_libdir}/libdali-adaptor.so.0*.wearable
1296 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1297 # if ivi ||"undefined"
1298 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1299 %files profile_ivi-cxx03
1300 %manifest dali-adaptor.manifest
1301 %defattr(-,root,root,-)
1302 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1303 %{_libdir}/libdali-adaptor.so.0*.ivi
1308 %defattr(-,root,root,-)
1309 %{dev_include_path}/dali/dali.h
1310 %{dev_include_path}/dali/public-api/*
1311 %{dev_include_path}/dali/devel-api/*
1312 %{dev_include_path}/dali/doc/*
1313 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1315 %files integration-devel-cxx03
1316 %defattr(-,root,root,-)
1317 %{dev_include_path}/dali/integration-api/adaptors/*
1318 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc