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)
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)
137 # for videoplayer Plugin
138 BuildRequires: pkgconfig(capi-media-player)
142 Requires: %{name}-compat = %{version}-%{release}
143 Recommends: %{name}-profile_common = %{version}-%{release}
146 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
147 platform abstraction and application shell
149 %if !0%{?disable_cxx03_build}
151 Summary: The DALi Tizen Adaptor with cxx03 abi
152 Provides: %{name}-cxx03 = %{version}-%{release}
155 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
156 platform abstraction and application shell
159 ###########################################
160 # Dali adapter for profiles
161 ###########################################
163 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
164 # if mobile || "undefined"
165 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
166 %package profile_mobile
167 Summary: The DALi Tizen Adaptor for mobile
168 Provides: %{name}-compat = %{version}-%{release}
169 Conflicts: %{name}-profile_tv
170 Conflicts: %{name}-profile_wearable
171 Conflicts: %{name}-profile_ivi
172 Conflicts: %{name}-profile_common
173 %description profile_mobile
174 The DALi Tizen Adaptor for mobile.
177 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
178 # if tv ||"undefined"
179 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
181 Summary: The DALi Tizen Adaptor for tv
182 Provides: %{name}-compat = %{version}-%{release}
183 Conflicts: %{name}-profile_mobile
184 Conflicts: %{name}-profile_wearable
185 Conflicts: %{name}-profile_ivi
186 Conflicts: %{name}-profile_common
187 %description profile_tv
188 The DALi Tizen Adaptor for tv.
191 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
192 # if wearable || "undefined"
193 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
194 %package profile_wearable
195 Summary: The DALi Tizen Adaptor for wearable
196 Provides: %{name}-compat = %{version}-%{release}
197 Conflicts: %{name}-profile_mobile
198 Conflicts: %{name}-profile_tv
199 Conflicts: %{name}-profile_ivi
200 Conflicts: %{name}-profile_common
201 %description profile_wearable
202 The DALi Tizen Adaptor for wearable.
205 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
206 # if ivi ||"undefined"
207 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
209 Summary: The DALi Tizen Adaptor for ivi
210 Provides: %{name}-compat = %{version}-%{release}
211 Conflicts: %{name}-profile_mobile
212 Conflicts: %{name}-profile_wearable
213 Conflicts: %{name}-profile_tv
214 Conflicts: %{name}-profile_common
215 %description profile_ivi
216 The DALi Tizen Adaptor for ivi.
219 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
220 # if common ||"undefined"
221 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
222 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
223 %package profile_common
224 %define tizen_2_2_compatibility 0
225 Summary: The DALi Tizen Adaptor for common
226 Provides: %{name}-compat = %{version}-%{release}
227 Conflicts: %{name}-profile_mobile
228 Conflicts: %{name}-profile_wearable
229 Conflicts: %{name}-profile_tv
230 Conflicts: %{name}-profile_ivi
231 %description profile_common
232 The DALi Tizen Adaptor for common.
235 %if !0%{?disable_cxx03_build}
236 ###########################################
237 # Dali adapter for profiles for cxx03 ABI
238 ###########################################
240 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
241 # if mobile || "undefined"
242 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
243 %package profile_mobile-cxx03
244 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
245 Provides: %{name}-cxx03-compat = %{version}-%{release}
246 Conflicts: %{name}-profile_tv-cxx03
247 Conflicts: %{name}-profile_wearable-cxx03
248 Conflicts: %{name}-profile_ivi-cxx03
249 Conflicts: %{name}-profile_common-cxx03
250 %description profile_mobile-cxx03
251 The DALi Tizen Adaptor for mobile.
254 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
255 # if tv ||"undefined"
256 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
257 %package profile_tv-cxx03
258 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
259 Provides: %{name}-cxx03-compat = %{version}-%{release}
260 Conflicts: %{name}-profile_mobile-cxx03
261 Conflicts: %{name}-profile_wearable-cxx03
262 Conflicts: %{name}-profile_ivi-cxx03
263 Conflicts: %{name}-profile_common-cxx03
264 %description profile_tv-cxx03
265 The DALi Tizen Adaptor for tv.
268 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
269 # if wearable || "undefined"
270 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
271 %package profile_wearable-cxx03
272 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
273 Provides: %{name}-cxx03-compat = %{version}-%{release}
274 Conflicts: %{name}-profile_mobile-cxx03
275 Conflicts: %{name}-profile_tv-cxx03
276 Conflicts: %{name}-profile_ivi-cxx03
277 Conflicts: %{name}-profile_common-cxx03
278 %description profile_wearable-cxx03
279 The DALi Tizen Adaptor for wearable.
282 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
283 # if ivi ||"undefined"
284 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
285 %package profile_ivi-cxx03
286 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
287 Provides: %{name}-cxx03-compat = %{version}-%{release}
288 Conflicts: %{name}-profile_mobile-cxx03
289 Conflicts: %{name}-profile_wearable-cxx03
290 Conflicts: %{name}-profile_tv-cxx03
291 Conflicts: %{name}-profile_common-cxx03
292 %description profile_ivi-cxx03
293 The DALi Tizen Adaptor for ivi.
296 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
297 # if common ||"undefined"
298 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
299 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
300 %package profile_common-cxx03
301 %define tizen_2_2_compatibility 0
302 Summary: The DALi Tizen Adaptor for common with cxx03 abi
303 Provides: %{name}-cxx03-compat = %{version}-%{release}
304 Conflicts: %{name}-profile_mobile-cxx03
305 Conflicts: %{name}-profile_wearable-cxx03
306 Conflicts: %{name}-profile_tv-cxx03
307 Conflicts: %{name}-profile_ivi-cxx03
308 %description profile_common-cxx03
309 The DALi Tizen Adaptor for common.
313 ##############################
315 ##############################
317 Summary: Development components for the DALi Tizen Adaptor
318 Group: Development/Building
319 Requires: %{name} = %{version}-%{release}
320 Requires: %{name}-integration-devel = %{version}-%{release}
323 Development components for the DALi Tizen Adaptor - public headers and package configs
325 ##############################
327 ##############################
328 %package integration-devel
329 Summary: Integration development package for the Adaptor
330 Group: Development/Building
331 Requires: %{name} = %{version}-%{release}
333 %description integration-devel
334 Integration development package for the Adaptor - headers for integrating with an adaptor library.
336 %if !0%{?disable_cxx03_build}
337 ##############################
339 ##############################
341 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
342 Group: Development/Building
343 Requires: %{name}-cxx03 = %{version}-%{release}
344 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
346 %description devel-cxx03
347 Development components for the DALi Tizen Adaptor - public headers and package configs
349 ##############################
350 # integration-devel cxx03
351 ##############################
352 %package integration-devel-cxx03
353 Summary: Integration development package for the Adaptor with cxx03 abi
354 Group: Development/Building
355 Requires: %{name}-cxx03 = %{version}-%{release}
357 %description integration-devel-cxx03
358 Integration development package for the Adaptor - headers for integrating with an adaptor library.
361 ##############################
362 # Dali Feedback Plugin
363 ##############################
364 %package dali-feedback-plugin
365 Summary: Plugin to play haptic and audio feedback for Dali
366 Group: System/Libraries
367 Requires: %{name} = %{version}-%{release}
368 %description dali-feedback-plugin
369 Feedback plugin to play haptic and audio feedback for Dali
371 ##############################
372 # Dali VideoPlayer Plugin
373 ##############################
376 %package dali-video-player-plugin
377 Summary: Plugin to play a video file for Dali
378 Group: System/Libraries
379 %description dali-video-player-plugin
380 VideoPlayer plugin to play a video file for Dali
383 %if !0%{?disable_cxx03_build}
384 ##############################
385 # Dali Feedback Plugin cxx03
386 ##############################
388 %package dali-feedback-plugin-cxx03
389 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
390 Group: System/Libraries
391 Requires: %{name}-cxx03 = %{version}-%{release}
392 %description dali-feedback-plugin-cxx03
393 Feedback plugin to play haptic and audio feedback for Dali
395 ##############################
396 # Dali VideoPlayer Plugin
397 ##############################
400 %package dali-video-player-plugin-cxx03
401 Summary: Plugin to play a video file for Dali with cxx03 abi
402 Group: System/Libraries
403 %description dali-video-player-plugin-cxx03
404 VideoPlayer plugin to play a video file for Dali
408 ##############################
410 ##############################
414 #Use TZ_PATH when tizen version is 3.x or greater
416 %if 0%{?tizen_version_major} >= 3
417 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
418 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
419 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
420 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
421 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
422 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
424 %define dali_data_rw_dir /usr/share/dali/
425 %define dali_data_ro_dir /usr/share/dali/
426 %define font_preloaded_path /usr/share/fonts/
427 %define font_downloaded_path /opt/share/fonts/
428 %define font_application_path /usr/share/app_fonts/
429 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
432 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
433 %define dali_plugin_sound_files /plugins/sounds/
434 %define dev_include_path %{_includedir}
436 ##############################
438 ##############################
441 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
442 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
445 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
450 CXXFLAGS+=" -DWAYLAND"
451 configure_flags="--enable-wayland"
454 # Use this conditional when Tizen version is 4.x or greater
455 %if 0%{?tizen_version_major} >= 4
456 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
459 %if 0%{?tizen_2_2_compatibility}
460 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
461 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
465 cd %{_builddir}/%{name}-%{version}/build/tizen
468 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
469 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
470 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
471 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
472 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
473 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
474 %if 0%{?tizen_platform_config_supported}
475 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
478 # Default to GLES 2.0 if not specified.
479 %if 0%{?target_gles_version} == 0
480 %define target_gles_version 20
483 # Set up the build via configure.
484 #######################################################################
485 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
486 # if mobile || "undefined"
487 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
488 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
489 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
490 --enable-tizen-major-version=%{tizen_version_major} \
491 %if 0%{?tizen_version_major} >= 3
494 --enable-videoplayer \
495 %if 0%{?tizen_2_2_compatibility}
496 --with-tizen-2-2-compatibility \
503 %if 0%{?enable_debug}
507 $configure_flags --libdir=%{_libdir} \
508 --enable-rename-so=no
511 make %{?jobs:-j%jobs}
513 pushd %{_builddir}/%{name}-%{version}/build/tizen
514 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
517 pushd %{buildroot}%{_libdir}
518 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
519 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
520 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
527 #######################################################################
528 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
529 # if tv ||"undefined"
530 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
531 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
532 --enable-shaderbincache=DISABLE --enable-profile=TV \
533 --enable-tizen-major-version=%{tizen_version_major} \
534 %if 0%{?tizen_version_major} >= 3
537 --enable-videoplayer \
538 %if 0%{?tizen_2_2_compatibility}
539 --with-tizen-2-2-compatibility \
546 %if 0%{?enable_debug}
550 $configure_flags --libdir=%{_libdir} \
551 --enable-rename-so=no
554 make %{?jobs:-j%jobs}
556 pushd %{_builddir}/%{name}-%{version}/build/tizen
557 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
560 pushd %{buildroot}%{_libdir}
561 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
562 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
563 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
569 #######################################################################
570 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
571 # if wearable || "undefined"
572 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
573 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
574 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
575 --enable-tizen-major-version=%{tizen_version_major} \
576 %if 0%{?tizen_version_major} >= 3
579 --enable-videoplayer \
580 %if 0%{?tizen_2_2_compatibility}
581 --with-tizen-2-2-compatibility \
588 %if 0%{?enable_debug}
592 $configure_flags --libdir=%{_libdir} \
593 --enable-rename-so=no
596 make %{?jobs:-j%jobs}
598 pushd %{_builddir}/%{name}-%{version}/build/tizen
599 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
602 pushd %{buildroot}%{_libdir}
603 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
604 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
605 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
611 #######################################################################
612 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
613 # if ivi ||"undefined"
614 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
615 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
616 --enable-shaderbincache=DISABLE --enable-profile=IVI \
617 --enable-tizen-major-version=%{tizen_version_major} \
618 %if 0%{?tizen_version_major} >= 3
621 --enable-videoplayer \
622 %if 0%{?tizen_2_2_compatibility}
623 --with-tizen-2-2-compatibility \
630 %if 0%{?enable_debug}
634 $configure_flags --libdir=%{_libdir} \
635 --enable-rename-so=no
638 make %{?jobs:-j%jobs}
640 pushd %{_builddir}/%{name}-%{version}/build/tizen
641 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
644 pushd %{buildroot}%{_libdir}
645 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
646 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
648 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
654 #######################################################################
655 # common ( build dali_videoplayer_plugin for common uses )
656 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
657 # if common ||"undefined"
658 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
659 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
660 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
661 --enable-tizen-major-version=%{tizen_version_major} \
662 %if 0%{?tizen_version_major} >= 3
665 --enable-videoplayer \
666 %if 0%{?tizen_2_2_compatibility}
667 --with-tizen-2-2-compatibility \
674 %if 0%{?enable_debug}
678 $configure_flags --libdir=%{_libdir} \
679 --enable-rename-so=no
682 make %{?jobs:-j%jobs}
684 pushd %{_builddir}/%{name}-%{version}/build/tizen
685 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
688 pushd %{buildroot}%{_libdir}
689 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
690 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
692 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
699 %if !0%{?disable_cxx03_build}
700 #######################################################################
702 #######################################################################
704 # Set up the build via configure.
705 #######################################################################
706 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
707 # if mobile || "undefined"
708 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
710 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
711 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
712 --enable-tizen-major-version=%{tizen_version_major} \
713 %if 0%{?tizen_version_major} >= 3
716 --enable-videoplayer \
717 --enable-cxx03-abi=yes \
718 %if 0%{?tizen_2_2_compatibility}
719 --with-tizen-2-2-compatibility \
726 %if 0%{?enable_debug}
730 $configure_flags --libdir=%{_libdir} \
731 --enable-rename-so=no
734 make %{?jobs:-j%jobs}
736 pushd %{_builddir}/%{name}-%{version}/build/tizen
737 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
740 pushd %{buildroot}%{_libdir}
741 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
742 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
749 #######################################################################
750 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
751 # if tv ||"undefined"
752 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
754 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
755 --enable-shaderbincache=DISABLE --enable-profile=TV \
756 --enable-tizen-major-version=%{tizen_version_major} \
757 %if 0%{?tizen_version_major} >= 3
760 --enable-videoplayer \
761 --enable-cxx03-abi=yes \
762 %if 0%{?tizen_2_2_compatibility}
763 --with-tizen-2-2-compatibility \
770 %if 0%{?enable_debug}
774 $configure_flags --libdir=%{_libdir} \
775 --enable-rename-so=no
778 make %{?jobs:-j%jobs}
780 pushd %{_builddir}/%{name}-%{version}/build/tizen
781 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
784 pushd %{buildroot}%{_libdir}
785 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
786 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
792 #######################################################################
793 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
794 # if wearable || "undefined"
795 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
797 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
798 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
799 --enable-tizen-major-version=%{tizen_version_major} \
800 %if 0%{?tizen_version_major} >= 3
803 --enable-videoplayer \
804 --enable-cxx03-abi=yes \
805 %if 0%{?tizen_2_2_compatibility}
806 --with-tizen-2-2-compatibility \
813 %if 0%{?enable_debug}
817 $configure_flags --libdir=%{_libdir} \
818 --enable-rename-so=no
821 make %{?jobs:-j%jobs}
823 pushd %{_builddir}/%{name}-%{version}/build/tizen
824 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
827 pushd %{buildroot}%{_libdir}
828 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
829 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
835 #######################################################################
836 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
837 # if ivi ||"undefined"
838 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
840 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
841 --enable-shaderbincache=DISABLE --enable-profile=IVI \
842 --enable-tizen-major-version=%{tizen_version_major} \
843 %if 0%{?tizen_version_major} >= 3
846 --enable-videoplayer \
847 --enable-cxx03-abi=yes \
848 %if 0%{?tizen_2_2_compatibility}
849 --with-tizen-2-2-compatibility \
856 %if 0%{?enable_debug}
860 $configure_flags --libdir=%{_libdir} \
861 --enable-rename-so=no
864 make %{?jobs:-j%jobs}
866 pushd %{_builddir}/%{name}-%{version}/build/tizen
867 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
870 pushd %{buildroot}%{_libdir}
871 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
872 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
878 #######################################################################
879 # common ( build dali_videoplayer_plugin for common uses )
880 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
881 # if common ||"undefined"
882 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
884 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
885 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
886 --enable-tizen-major-version=%{tizen_version_major} \
887 %if 0%{?tizen_version_major} >= 3
890 --enable-videoplayer \
891 --enable-cxx03-abi=yes \
892 %if 0%{?tizen_2_2_compatibility}
893 --with-tizen-2-2-compatibility \
900 %if 0%{?enable_debug}
904 $configure_flags --libdir=%{_libdir} \
905 --enable-rename-so=no
908 make %{?jobs:-j%jobs}
913 ##############################
915 ##############################
919 pushd %{_builddir}/%{name}-%{version}/build/tizen
920 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
923 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
924 # !unified && (wearable || tv || ivi || mobile)
925 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
926 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
929 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
930 # wearable || tv || ivi || mobile || unified
931 %if "%{?profile}" != "common"
932 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
933 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
937 ################################################
939 ###############################################
940 pushd %{buildroot}%{_libdir}
942 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
943 # if common ||"undefined"
944 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
945 rm -rf libdali-adaptor*.so
946 %if !0%{?disable_cxx03_build}
947 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
949 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
952 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
953 # if wearable || "undefined"
954 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
955 rm -rf libdali-adaptor*.so.wearable
956 %if !0%{?disable_cxx03_build}
957 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
959 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
962 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
963 # if tv ||"undefined"
964 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
965 rm -rf libdali-adaptor*.so.tv
966 %if !0%{?disable_cxx03_build}
967 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
969 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
972 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
973 # if ivi ||"undefined"
974 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
975 rm -rf libdali-adaptor*.so.ivi
976 %if !0%{?disable_cxx03_build}
977 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
979 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
982 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
983 # if mobile || "undefined"
984 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
985 rm -rf libdali-adaptor*.so.mobile
986 %if !0%{?disable_cxx03_build}
987 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
989 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
993 ##############################
995 # 1 - Pre Install new package
996 # 2 - Install new package
997 # 3 - Post install new package
998 # 4 - Pre uninstall old package
999 # 5 - Remove files not overwritten by new package
1000 # 6 - Post uninstall old package
1001 ##############################
1006 ##############################
1007 # Post Install new package
1008 ##############################
1013 ##############################
1014 # Pre Uninstall old package
1015 ##############################
1019 ##############################
1020 # Post Uninstall old package
1021 ##############################
1027 %post dali-video-player-plugin
1033 %postun dali-video-player-plugin
1039 ##############################
1041 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1042 # if mobile || "undefined"
1043 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1044 %post profile_mobile
1046 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1051 %postun profile_mobile
1056 ##############################
1058 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1059 # if tv ||"undefined"
1060 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1063 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1073 ##############################
1075 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1076 # if wearable || "undefined"
1077 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1078 %post profile_wearable
1080 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1085 %postun profile_wearable
1090 ##############################
1092 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1093 # if ivi ||"undefined"
1094 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1097 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1107 %if !0%{?disable_cxx03_build}
1108 ##############################
1110 #############################
1111 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1112 # if mobile || "undefined"
1113 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1114 %post profile_mobile-cxx03
1116 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1121 %postun profile_mobile-cxx03
1126 ##############################
1128 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1129 # if tv ||"undefined"
1130 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1131 %post profile_tv-cxx03
1133 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1138 %postun profile_tv-cxx03
1143 ##############################
1145 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1146 # if wearable || "undefined"
1147 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1148 %post profile_wearable-cxx03
1150 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1155 %postun profile_wearable-cxx03
1160 ##############################
1162 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1163 # if ivi ||"undefined"
1164 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1165 %post profile_ivi-cxx03
1167 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1172 %postun profile_ivi-cxx03
1178 ##############################
1179 # Files in Binary Packages
1180 ##############################
1183 %manifest dali-adaptor.manifest
1184 %defattr(-,root,root,-)
1185 %defattr(-,app,app,-)
1186 %dir %{user_shader_cache_dir}
1190 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1191 # if common ||"undefined"
1192 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1193 %defattr(-,root,root,-)
1194 %{_libdir}/libdali-adaptor-cxx11.so.0*
1195 %{_libdir}/libdali-adaptor.so
1196 %exclude %{_libdir}/libdali-adap*.so*.mobile
1197 %exclude %{_libdir}/libdali-adap*.so*.wearable
1198 %exclude %{_libdir}/libdali-adap*.so*.tv
1199 %exclude %{_libdir}/libdali-adap*.so*.ivi
1202 %if !0%{?disable_cxx03_build}
1204 %manifest dali-adaptor.manifest
1205 %defattr(-,root,root,-)
1206 %defattr(-,app,app,-)
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
1223 %files dali-video-player-plugin-cxx03
1224 %manifest dali-adaptor.manifest
1225 %defattr(-,root,root,-)
1226 %{_libdir}/libdali-video-player-plugin.so*
1230 %if 0%{?tizen_version_major} >= 3
1231 %files dali-feedback-plugin-cxx03
1232 %manifest dali-adaptor.manifest
1233 %defattr(-,root,root,-)
1234 %{_libdir}/libdali-feedback-plugin.so*
1235 %{dali_plugin_sound_files}/*
1239 #################################################
1242 %files dali-video-player-plugin
1243 %manifest dali-adaptor.manifest
1244 %defattr(-,root,root,-)
1245 %{_libdir}/libdali-video-player-plugin-cxx11.so*
1249 %if 0%{?tizen_version_major} >= 3
1250 %files dali-feedback-plugin
1251 %manifest dali-adaptor.manifest
1252 %defattr(-,root,root,-)
1253 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1254 %{dali_plugin_sound_files}/*
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
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
1270 %manifest dali-adaptor.manifest
1271 %defattr(-,root,root,-)
1272 %{_libdir}/libdali-adaptor.so.mobile
1273 %{_libdir}/libdali-adaptor-cxx11.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"
1280 %manifest dali-adaptor.manifest
1281 %defattr(-,root,root,-)
1282 %{_libdir}/libdali-adaptor.so.tv
1283 %{_libdir}/libdali-adaptor-cxx11.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
1290 %manifest dali-adaptor.manifest
1291 %defattr(-,root,root,-)
1292 %{_libdir}/libdali-adaptor.so.wearable
1293 %{_libdir}/libdali-adaptor-cxx11.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"
1300 %manifest dali-adaptor.manifest
1301 %defattr(-,root,root,-)
1302 %{_libdir}/libdali-adaptor.so.ivi
1303 %{_libdir}/libdali-adaptor-cxx11.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.pc
1315 %files integration-devel
1316 %defattr(-,root,root,-)
1317 %{dev_include_path}/dali/integration-api/adaptors/*
1318 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1320 %if !0%{?disable_cxx03_build}
1321 ################################################
1323 ################################################
1325 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1326 # if common ||"undefined"
1327 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1328 %files profile_common-cxx03
1329 # default .so files are housed in the main pkg.
1332 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1333 # if mobile || "undefined"
1334 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1335 %files profile_mobile-cxx03
1336 %manifest dali-adaptor.manifest
1337 %defattr(-,root,root,-)
1338 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1339 %{_libdir}/libdali-adaptor.so.0*mobile
1342 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1343 # if tv ||"undefined"
1344 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1345 %files profile_tv-cxx03
1346 %manifest dali-adaptor.manifest
1347 %defattr(-,root,root,-)
1348 %{_libdir}/libdali-adaptor-cxx03.so.tv
1349 %{_libdir}/libdali-adaptor.so.0*.tv
1352 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1353 # if wearable || "undefined"
1354 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1355 %files profile_wearable-cxx03
1356 %manifest dali-adaptor.manifest
1357 %defattr(-,root,root,-)
1358 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1359 %{_libdir}/libdali-adaptor.so.0*.wearable
1362 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1363 # if ivi ||"undefined"
1364 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1365 %files profile_ivi-cxx03
1366 %manifest dali-adaptor.manifest
1367 %defattr(-,root,root,-)
1368 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1369 %{_libdir}/libdali-adaptor.so.0*.ivi
1374 %defattr(-,root,root,-)
1375 %{dev_include_path}/dali/dali.h
1376 %{dev_include_path}/dali/public-api/*
1377 %{dev_include_path}/dali/devel-api/*
1378 %{dev_include_path}/dali/doc/*
1379 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1381 %files integration-devel-cxx03
1382 %defattr(-,root,root,-)
1383 %{dev_include_path}/dali/integration-api/adaptors/*
1384 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc