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 BuildRequires: pkgconfig(evas)
120 %if 0%{?tizen_version_major} == 3
121 BuildRequires: pkgconfig(capi-appfw-application)
122 BuildRequires: pkgconfig(elementary)
124 BuildRequires: pkgconfig(appcore-ui)
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)
138 # for videoplayer Plugin
139 BuildRequires: pkgconfig(capi-media-player)
143 Requires: %{name}-compat = %{version}-%{release}
144 Recommends: %{name}-profile_common = %{version}-%{release}
147 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
148 platform abstraction and application shell
150 %if !0%{?disable_cxx03_build}
152 Summary: The DALi Tizen Adaptor with cxx03 abi
153 Provides: %{name}-cxx03 = %{version}-%{release}
156 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
157 platform abstraction and application shell
160 ###########################################
161 # Dali adapter for profiles
162 ###########################################
164 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
165 # if mobile || "undefined"
166 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
167 %package profile_mobile
168 Summary: The DALi Tizen Adaptor for mobile
169 Provides: %{name}-compat = %{version}-%{release}
170 Conflicts: %{name}-profile_tv
171 Conflicts: %{name}-profile_wearable
172 Conflicts: %{name}-profile_ivi
173 Conflicts: %{name}-profile_common
174 %description profile_mobile
175 The DALi Tizen Adaptor for mobile.
178 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
179 # if tv ||"undefined"
180 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
182 Summary: The DALi Tizen Adaptor for tv
183 Provides: %{name}-compat = %{version}-%{release}
184 Conflicts: %{name}-profile_mobile
185 Conflicts: %{name}-profile_wearable
186 Conflicts: %{name}-profile_ivi
187 Conflicts: %{name}-profile_common
188 %description profile_tv
189 The DALi Tizen Adaptor for tv.
192 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
193 # if wearable || "undefined"
194 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
195 %package profile_wearable
196 Summary: The DALi Tizen Adaptor for wearable
197 Provides: %{name}-compat = %{version}-%{release}
198 Conflicts: %{name}-profile_mobile
199 Conflicts: %{name}-profile_tv
200 Conflicts: %{name}-profile_ivi
201 Conflicts: %{name}-profile_common
202 %description profile_wearable
203 The DALi Tizen Adaptor for wearable.
206 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
207 # if ivi ||"undefined"
208 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
210 Summary: The DALi Tizen Adaptor for ivi
211 Provides: %{name}-compat = %{version}-%{release}
212 Conflicts: %{name}-profile_mobile
213 Conflicts: %{name}-profile_wearable
214 Conflicts: %{name}-profile_tv
215 Conflicts: %{name}-profile_common
216 %description profile_ivi
217 The DALi Tizen Adaptor for ivi.
220 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
221 # if common ||"undefined"
222 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
223 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
224 %package profile_common
225 %define tizen_2_2_compatibility 0
226 Summary: The DALi Tizen Adaptor for common
227 Provides: %{name}-compat = %{version}-%{release}
228 Conflicts: %{name}-profile_mobile
229 Conflicts: %{name}-profile_wearable
230 Conflicts: %{name}-profile_tv
231 Conflicts: %{name}-profile_ivi
232 %description profile_common
233 The DALi Tizen Adaptor for common.
236 %if !0%{?disable_cxx03_build}
237 ###########################################
238 # Dali adapter for profiles for cxx03 ABI
239 ###########################################
241 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
242 # if mobile || "undefined"
243 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
244 %package profile_mobile-cxx03
245 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
246 Provides: %{name}-cxx03-compat = %{version}-%{release}
247 Conflicts: %{name}-profile_tv-cxx03
248 Conflicts: %{name}-profile_wearable-cxx03
249 Conflicts: %{name}-profile_ivi-cxx03
250 Conflicts: %{name}-profile_common-cxx03
251 %description profile_mobile-cxx03
252 The DALi Tizen Adaptor for mobile.
255 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
256 # if tv ||"undefined"
257 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
258 %package profile_tv-cxx03
259 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
260 Provides: %{name}-cxx03-compat = %{version}-%{release}
261 Conflicts: %{name}-profile_mobile-cxx03
262 Conflicts: %{name}-profile_wearable-cxx03
263 Conflicts: %{name}-profile_ivi-cxx03
264 Conflicts: %{name}-profile_common-cxx03
265 %description profile_tv-cxx03
266 The DALi Tizen Adaptor for tv.
269 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
270 # if wearable || "undefined"
271 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
272 %package profile_wearable-cxx03
273 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
274 Provides: %{name}-cxx03-compat = %{version}-%{release}
275 Conflicts: %{name}-profile_mobile-cxx03
276 Conflicts: %{name}-profile_tv-cxx03
277 Conflicts: %{name}-profile_ivi-cxx03
278 Conflicts: %{name}-profile_common-cxx03
279 %description profile_wearable-cxx03
280 The DALi Tizen Adaptor for wearable.
283 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
284 # if ivi ||"undefined"
285 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
286 %package profile_ivi-cxx03
287 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
288 Provides: %{name}-cxx03-compat = %{version}-%{release}
289 Conflicts: %{name}-profile_mobile-cxx03
290 Conflicts: %{name}-profile_wearable-cxx03
291 Conflicts: %{name}-profile_tv-cxx03
292 Conflicts: %{name}-profile_common-cxx03
293 %description profile_ivi-cxx03
294 The DALi Tizen Adaptor for ivi.
297 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
298 # if common ||"undefined"
299 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
300 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
301 %package profile_common-cxx03
302 %define tizen_2_2_compatibility 0
303 Summary: The DALi Tizen Adaptor for common with cxx03 abi
304 Provides: %{name}-cxx03-compat = %{version}-%{release}
305 Conflicts: %{name}-profile_mobile-cxx03
306 Conflicts: %{name}-profile_wearable-cxx03
307 Conflicts: %{name}-profile_tv-cxx03
308 Conflicts: %{name}-profile_ivi-cxx03
309 %description profile_common-cxx03
310 The DALi Tizen Adaptor for common.
314 ##############################
316 ##############################
318 Summary: Development components for the DALi Tizen Adaptor
319 Group: Development/Building
320 Requires: %{name} = %{version}-%{release}
321 Requires: %{name}-integration-devel = %{version}-%{release}
324 Development components for the DALi Tizen Adaptor - public headers and package configs
326 ##############################
328 ##############################
329 %package integration-devel
330 Summary: Integration development package for the Adaptor
331 Group: Development/Building
332 Requires: %{name} = %{version}-%{release}
334 %description integration-devel
335 Integration development package for the Adaptor - headers for integrating with an adaptor library.
337 %if !0%{?disable_cxx03_build}
338 ##############################
340 ##############################
342 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
343 Group: Development/Building
344 Requires: %{name}-cxx03 = %{version}-%{release}
345 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
347 %description devel-cxx03
348 Development components for the DALi Tizen Adaptor - public headers and package configs
350 ##############################
351 # integration-devel cxx03
352 ##############################
353 %package integration-devel-cxx03
354 Summary: Integration development package for the Adaptor with cxx03 abi
355 Group: Development/Building
356 Requires: %{name}-cxx03 = %{version}-%{release}
358 %description integration-devel-cxx03
359 Integration development package for the Adaptor - headers for integrating with an adaptor library.
362 ##############################
363 # Dali Feedback Plugin
364 ##############################
365 %package dali-feedback-plugin
366 Summary: Plugin to play haptic and audio feedback for Dali
367 Group: System/Libraries
368 Requires: %{name} = %{version}-%{release}
369 %description dali-feedback-plugin
370 Feedback plugin to play haptic and audio feedback for Dali
372 ##############################
373 # Dali VideoPlayer Plugin
374 ##############################
377 %package dali-video-player-plugin
378 Summary: Plugin to play a video file for Dali
379 Group: System/Libraries
380 %description dali-video-player-plugin
381 VideoPlayer plugin to play a video file for Dali
384 %if !0%{?disable_cxx03_build}
385 ##############################
386 # Dali Feedback Plugin cxx03
387 ##############################
389 %package dali-feedback-plugin-cxx03
390 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
391 Group: System/Libraries
392 Requires: %{name}-cxx03 = %{version}-%{release}
393 %description dali-feedback-plugin-cxx03
394 Feedback plugin to play haptic and audio feedback for Dali
396 ##############################
397 # Dali VideoPlayer Plugin
398 ##############################
401 %package dali-video-player-plugin-cxx03
402 Summary: Plugin to play a video file for Dali with cxx03 abi
403 Group: System/Libraries
404 %description dali-video-player-plugin-cxx03
405 VideoPlayer plugin to play a video file for Dali
409 ##############################
411 ##############################
415 #Use TZ_PATH when tizen version is 3.x or greater
417 %if 0%{?tizen_version_major} >= 3
418 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
419 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
420 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
421 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
422 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
423 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
425 %define dali_data_rw_dir /usr/share/dali/
426 %define dali_data_ro_dir /usr/share/dali/
427 %define font_preloaded_path /usr/share/fonts/
428 %define font_downloaded_path /opt/share/fonts/
429 %define font_application_path /usr/share/app_fonts/
430 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
433 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
434 %define dali_plugin_sound_files /plugins/sounds/
435 %define dev_include_path %{_includedir}
437 ##############################
439 ##############################
442 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
443 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
446 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
451 CXXFLAGS+=" -DWAYLAND"
452 configure_flags="--enable-wayland"
455 # Use this conditional when Tizen version is 4.x or greater
456 %if 0%{?tizen_version_major} >= 4
457 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
460 %if 0%{?tizen_2_2_compatibility}
461 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
462 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
466 cd %{_builddir}/%{name}-%{version}/build/tizen
469 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
470 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
471 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
472 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
473 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
474 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
475 %if 0%{?tizen_platform_config_supported}
476 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
479 # Default to GLES 2.0 if not specified.
480 %if 0%{?target_gles_version} == 0
481 %define target_gles_version 20
484 # Set up the build via configure.
485 #######################################################################
486 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
487 # if mobile || "undefined"
488 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
489 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
490 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
491 --enable-tizen-major-version=%{tizen_version_major} \
492 %if 0%{?tizen_version_major} >= 3
495 --enable-videoplayer \
496 %if 0%{?tizen_2_2_compatibility}
497 --with-tizen-2-2-compatibility \
504 %if 0%{?enable_debug}
508 $configure_flags --libdir=%{_libdir} \
509 --enable-rename-so=no
512 make %{?jobs:-j%jobs}
514 pushd %{_builddir}/%{name}-%{version}/build/tizen
515 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
518 pushd %{buildroot}%{_libdir}
519 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
520 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
521 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
528 #######################################################################
529 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
530 # if tv ||"undefined"
531 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
532 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
533 --enable-shaderbincache=DISABLE --enable-profile=TV \
534 --enable-tizen-major-version=%{tizen_version_major} \
535 %if 0%{?tizen_version_major} >= 3
538 --enable-videoplayer \
539 %if 0%{?tizen_2_2_compatibility}
540 --with-tizen-2-2-compatibility \
547 %if 0%{?enable_debug}
551 $configure_flags --libdir=%{_libdir} \
552 --enable-rename-so=no
555 make %{?jobs:-j%jobs}
557 pushd %{_builddir}/%{name}-%{version}/build/tizen
558 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
561 pushd %{buildroot}%{_libdir}
562 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
563 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
564 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
570 #######################################################################
571 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
572 # if wearable || "undefined"
573 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
574 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
575 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
576 --enable-tizen-major-version=%{tizen_version_major} \
577 %if 0%{?tizen_version_major} >= 3
580 --enable-videoplayer \
581 %if 0%{?tizen_2_2_compatibility}
582 --with-tizen-2-2-compatibility \
589 %if 0%{?enable_debug}
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 --enable-gles=%{target_gles_version} \
617 --enable-shaderbincache=DISABLE --enable-profile=IVI \
618 --enable-tizen-major-version=%{tizen_version_major} \
619 %if 0%{?tizen_version_major} >= 3
622 --enable-videoplayer \
623 %if 0%{?tizen_2_2_compatibility}
624 --with-tizen-2-2-compatibility \
631 %if 0%{?enable_debug}
635 $configure_flags --libdir=%{_libdir} \
636 --enable-rename-so=no
639 make %{?jobs:-j%jobs}
641 pushd %{_builddir}/%{name}-%{version}/build/tizen
642 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
645 pushd %{buildroot}%{_libdir}
646 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
647 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
649 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
655 #######################################################################
656 # common ( build dali_videoplayer_plugin for common uses )
657 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
658 # if common ||"undefined"
659 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
660 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
661 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
662 --enable-tizen-major-version=%{tizen_version_major} \
663 %if 0%{?tizen_version_major} >= 3
666 --enable-videoplayer \
667 %if 0%{?tizen_2_2_compatibility}
668 --with-tizen-2-2-compatibility \
675 %if 0%{?enable_debug}
679 $configure_flags --libdir=%{_libdir} \
680 --enable-rename-so=no
683 make %{?jobs:-j%jobs}
685 pushd %{_builddir}/%{name}-%{version}/build/tizen
686 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
689 pushd %{buildroot}%{_libdir}
690 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
691 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
693 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
700 %if !0%{?disable_cxx03_build}
701 #######################################################################
703 #######################################################################
705 # Set up the build via configure.
706 #######################################################################
707 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
708 # if mobile || "undefined"
709 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
711 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
712 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
713 --enable-tizen-major-version=%{tizen_version_major} \
714 %if 0%{?tizen_version_major} >= 3
717 --enable-videoplayer \
718 --enable-cxx03-abi=yes \
719 %if 0%{?tizen_2_2_compatibility}
720 --with-tizen-2-2-compatibility \
727 %if 0%{?enable_debug}
731 $configure_flags --libdir=%{_libdir} \
732 --enable-rename-so=no
735 make %{?jobs:-j%jobs}
737 pushd %{_builddir}/%{name}-%{version}/build/tizen
738 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
741 pushd %{buildroot}%{_libdir}
742 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
743 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
750 #######################################################################
751 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
752 # if tv ||"undefined"
753 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
755 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
756 --enable-shaderbincache=DISABLE --enable-profile=TV \
757 --enable-tizen-major-version=%{tizen_version_major} \
758 %if 0%{?tizen_version_major} >= 3
761 --enable-videoplayer \
762 --enable-cxx03-abi=yes \
763 %if 0%{?tizen_2_2_compatibility}
764 --with-tizen-2-2-compatibility \
771 %if 0%{?enable_debug}
775 $configure_flags --libdir=%{_libdir} \
776 --enable-rename-so=no
779 make %{?jobs:-j%jobs}
781 pushd %{_builddir}/%{name}-%{version}/build/tizen
782 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
785 pushd %{buildroot}%{_libdir}
786 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
787 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
793 #######################################################################
794 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
795 # if wearable || "undefined"
796 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
798 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
799 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
800 --enable-tizen-major-version=%{tizen_version_major} \
801 %if 0%{?tizen_version_major} >= 3
804 --enable-videoplayer \
805 --enable-cxx03-abi=yes \
806 %if 0%{?tizen_2_2_compatibility}
807 --with-tizen-2-2-compatibility \
814 %if 0%{?enable_debug}
818 $configure_flags --libdir=%{_libdir} \
819 --enable-rename-so=no
822 make %{?jobs:-j%jobs}
824 pushd %{_builddir}/%{name}-%{version}/build/tizen
825 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
828 pushd %{buildroot}%{_libdir}
829 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
830 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
836 #######################################################################
837 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
838 # if ivi ||"undefined"
839 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
841 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
842 --enable-shaderbincache=DISABLE --enable-profile=IVI \
843 --enable-tizen-major-version=%{tizen_version_major} \
844 %if 0%{?tizen_version_major} >= 3
847 --enable-videoplayer \
848 --enable-cxx03-abi=yes \
849 %if 0%{?tizen_2_2_compatibility}
850 --with-tizen-2-2-compatibility \
857 %if 0%{?enable_debug}
861 $configure_flags --libdir=%{_libdir} \
862 --enable-rename-so=no
865 make %{?jobs:-j%jobs}
867 pushd %{_builddir}/%{name}-%{version}/build/tizen
868 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
871 pushd %{buildroot}%{_libdir}
872 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
873 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
879 #######################################################################
880 # common ( build dali_videoplayer_plugin for common uses )
881 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
882 # if common ||"undefined"
883 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
885 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
886 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
887 --enable-tizen-major-version=%{tizen_version_major} \
888 %if 0%{?tizen_version_major} >= 3
891 --enable-videoplayer \
892 --enable-cxx03-abi=yes \
893 %if 0%{?tizen_2_2_compatibility}
894 --with-tizen-2-2-compatibility \
901 %if 0%{?enable_debug}
905 $configure_flags --libdir=%{_libdir} \
906 --enable-rename-so=no
909 make %{?jobs:-j%jobs}
914 ##############################
916 ##############################
920 pushd %{_builddir}/%{name}-%{version}/build/tizen
921 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
924 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
925 # !unified && (wearable || tv || ivi || mobile)
926 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
927 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
930 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
931 # wearable || tv || ivi || mobile || unified
932 %if "%{?profile}" != "common"
933 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
934 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
938 ################################################
940 ###############################################
941 pushd %{buildroot}%{_libdir}
943 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
944 # if common ||"undefined"
945 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
946 rm -rf libdali-adaptor*.so
947 %if !0%{?disable_cxx03_build}
948 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
950 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
953 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
954 # if wearable || "undefined"
955 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
956 rm -rf libdali-adaptor*.so.wearable
957 %if !0%{?disable_cxx03_build}
958 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
960 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
963 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
964 # if tv ||"undefined"
965 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
966 rm -rf libdali-adaptor*.so.tv
967 %if !0%{?disable_cxx03_build}
968 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
970 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
973 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
974 # if ivi ||"undefined"
975 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
976 rm -rf libdali-adaptor*.so.ivi
977 %if !0%{?disable_cxx03_build}
978 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
980 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
983 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
984 # if mobile || "undefined"
985 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
986 rm -rf libdali-adaptor*.so.mobile
987 %if !0%{?disable_cxx03_build}
988 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
990 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
994 ##############################
996 # 1 - Pre Install new package
997 # 2 - Install new package
998 # 3 - Post install new package
999 # 4 - Pre uninstall old package
1000 # 5 - Remove files not overwritten by new package
1001 # 6 - Post uninstall old package
1002 ##############################
1007 ##############################
1008 # Post Install new package
1009 ##############################
1014 ##############################
1015 # Pre Uninstall old package
1016 ##############################
1020 ##############################
1021 # Post Uninstall old package
1022 ##############################
1028 %post dali-video-player-plugin
1034 %postun dali-video-player-plugin
1040 ##############################
1042 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1043 # if mobile || "undefined"
1044 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1045 %post profile_mobile
1047 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1052 %postun profile_mobile
1057 ##############################
1059 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1060 # if tv ||"undefined"
1061 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1064 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1074 ##############################
1076 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1077 # if wearable || "undefined"
1078 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1079 %post profile_wearable
1081 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1086 %postun profile_wearable
1091 ##############################
1093 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1094 # if ivi ||"undefined"
1095 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1098 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1108 %if !0%{?disable_cxx03_build}
1109 ##############################
1111 #############################
1112 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1113 # if mobile || "undefined"
1114 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1115 %post profile_mobile-cxx03
1117 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1122 %postun profile_mobile-cxx03
1127 ##############################
1129 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1130 # if tv ||"undefined"
1131 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1132 %post profile_tv-cxx03
1134 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1139 %postun profile_tv-cxx03
1144 ##############################
1146 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1147 # if wearable || "undefined"
1148 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1149 %post profile_wearable-cxx03
1151 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1156 %postun profile_wearable-cxx03
1161 ##############################
1163 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1164 # if ivi ||"undefined"
1165 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1166 %post profile_ivi-cxx03
1168 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1173 %postun profile_ivi-cxx03
1179 ##############################
1180 # Files in Binary Packages
1181 ##############################
1184 %manifest dali-adaptor.manifest
1185 %defattr(-,root,root,-)
1186 %defattr(-,app,app,-)
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 %defattr(-,app,app,-)
1208 %dir %{user_shader_cache_dir}
1211 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1212 # if common ||"undefined"
1213 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1214 %defattr(-,root,root,-)
1215 %{_libdir}/libdali-adaptor.so.0*
1216 %{_libdir}/libdali-adaptor-cxx03.so
1217 %exclude %{_libdir}/libdali-adap*.so*.mobile
1218 %exclude %{_libdir}/libdali-adap*.so*.wearable
1219 %exclude %{_libdir}/libdali-adap*.so*.tv
1220 %exclude %{_libdir}/libdali-adap*.so*.ivi
1224 %files dali-video-player-plugin-cxx03
1225 %manifest dali-adaptor.manifest
1226 %defattr(-,root,root,-)
1227 %{_libdir}/libdali-video-player-plugin.so*
1231 %if 0%{?tizen_version_major} >= 3
1232 %files dali-feedback-plugin-cxx03
1233 %manifest dali-adaptor.manifest
1234 %defattr(-,root,root,-)
1235 %{_libdir}/libdali-feedback-plugin.so*
1236 %{dali_plugin_sound_files}/*
1240 #################################################
1243 %files dali-video-player-plugin
1244 %manifest dali-adaptor.manifest
1245 %defattr(-,root,root,-)
1246 %{_libdir}/libdali-video-player-plugin-cxx11.so*
1250 %if 0%{?tizen_version_major} >= 3
1251 %files dali-feedback-plugin
1252 %manifest dali-adaptor.manifest
1253 %defattr(-,root,root,-)
1254 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1255 %{dali_plugin_sound_files}/*
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
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
1271 %manifest dali-adaptor.manifest
1272 %defattr(-,root,root,-)
1273 %{_libdir}/libdali-adaptor.so.mobile
1274 %{_libdir}/libdali-adaptor-cxx11.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"
1281 %manifest dali-adaptor.manifest
1282 %defattr(-,root,root,-)
1283 %{_libdir}/libdali-adaptor.so.tv
1284 %{_libdir}/libdali-adaptor-cxx11.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
1291 %manifest dali-adaptor.manifest
1292 %defattr(-,root,root,-)
1293 %{_libdir}/libdali-adaptor.so.wearable
1294 %{_libdir}/libdali-adaptor-cxx11.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"
1301 %manifest dali-adaptor.manifest
1302 %defattr(-,root,root,-)
1303 %{_libdir}/libdali-adaptor.so.ivi
1304 %{_libdir}/libdali-adaptor-cxx11.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.pc
1316 %files integration-devel
1317 %defattr(-,root,root,-)
1318 %{dev_include_path}/dali/integration-api/adaptors/*
1319 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1321 %if !0%{?disable_cxx03_build}
1322 ################################################
1324 ################################################
1326 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1327 # if common ||"undefined"
1328 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1329 %files profile_common-cxx03
1330 # default .so files are housed in the main pkg.
1333 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1334 # if mobile || "undefined"
1335 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1336 %files profile_mobile-cxx03
1337 %manifest dali-adaptor.manifest
1338 %defattr(-,root,root,-)
1339 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1340 %{_libdir}/libdali-adaptor.so.0*mobile
1343 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1344 # if tv ||"undefined"
1345 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1346 %files profile_tv-cxx03
1347 %manifest dali-adaptor.manifest
1348 %defattr(-,root,root,-)
1349 %{_libdir}/libdali-adaptor-cxx03.so.tv
1350 %{_libdir}/libdali-adaptor.so.0*.tv
1353 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1354 # if wearable || "undefined"
1355 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1356 %files profile_wearable-cxx03
1357 %manifest dali-adaptor.manifest
1358 %defattr(-,root,root,-)
1359 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1360 %{_libdir}/libdali-adaptor.so.0*.wearable
1363 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1364 # if ivi ||"undefined"
1365 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1366 %files profile_ivi-cxx03
1367 %manifest dali-adaptor.manifest
1368 %defattr(-,root,root,-)
1369 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1370 %{_libdir}/libdali-adaptor.so.0*.ivi
1375 %defattr(-,root,root,-)
1376 %{dev_include_path}/dali/dali.h
1377 %{dev_include_path}/dali/public-api/*
1378 %{dev_include_path}/dali/devel-api/*
1379 %{dev_include_path}/dali/doc/*
1380 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1382 %files integration-devel-cxx03
1383 %defattr(-,root,root,-)
1384 %{dev_include_path}/dali/integration-api/adaptors/*
1385 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc