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 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
42 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
43 %define profile %{tizen_profile_name}
46 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
47 # if wearable || "undefined"
48 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
49 BuildRequires: pkgconfig(capi-appfw-watch-application)
50 BuildRequires: pkgconfig(appcore-watch)
51 BuildRequires: pkgconfig(screen_connector_provider)
54 BuildRequires: pkgconfig(gles20)
55 BuildRequires: pkgconfig(glesv2)
57 BuildRequires: pkgconfig
59 BuildRequires: giflib-devel
60 BuildRequires: pkgconfig(fontconfig)
61 BuildRequires: libjpeg-turbo-devel
62 BuildRequires: dali-devel
63 BuildRequires: dali-integration-devel
64 BuildRequires: pkgconfig(vconf)
65 BuildRequires: tts-devel
66 BuildRequires: pkgconfig(dlog)
67 BuildRequires: libdrm-devel
68 BuildRequires: pkgconfig(libexif)
69 BuildRequires: pkgconfig(libpng)
70 BuildRequires: pkgconfig(egl)
71 BuildRequires: libcurl-devel
72 BuildRequires: pkgconfig(harfbuzz)
73 BuildRequires: fribidi-devel
75 BuildRequires: pkgconfig(capi-system-info)
76 BuildRequires: pkgconfig(capi-system-sensor)
80 ####### BUILDING FOR WAYLAND #######
81 BuildRequires: pkgconfig(wayland-egl)
82 BuildRequires: pkgconfig(wayland-client)
83 BuildRequires: wayland-devel
84 BuildRequires: wayland-extension-client-devel
86 # dali-adaptor uses ecore mainloop
87 BuildRequires: pkgconfig(ecore-wayland)
89 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
90 BuildRequires: pkgconfig(libtbm)
92 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
93 BuildRequires: pkgconfig(tpkp-curl)
95 ####### BUILDING FOR X11#######
97 BuildRequires: pkgconfig(egl)
98 BuildRequires: pkgconfig(xext)
99 BuildRequires: pkgconfig(xi)
100 BuildRequires: pkgconfig(xfixes)
101 BuildRequires: pkgconfig(xdamage)
102 BuildRequires: pkgconfig(utilX)
106 BuildRequires: pkgconfig(evas)
107 BuildRequires: pkgconfig(elementary)
109 %if 0%{?tizen_version_major} == 3
110 BuildRequires: pkgconfig(capi-appfw-application)
112 BuildRequires: pkgconfig(bundle)
113 BuildRequires: pkgconfig(appcore-ui)
114 BuildRequires: pkgconfig(appcore-multiwindow)
115 BuildRequires: pkgconfig(capi-appfw-app-common)
116 BuildRequires: pkgconfig(capi-appfw-app-control)
117 BuildRequires: pkgconfig(screen_connector_provider)
119 BuildRequires: pkgconfig(capi-system-system-settings)
121 # for feedback plugin
122 BuildRequires: pkgconfig(mm-sound)
123 %if 0%{?tizen_version_major} >= 3
124 BuildRequires: pkgconfig(feedback)
127 # for videoplayer Plugin
128 BuildRequires: pkgconfig(capi-media-player)
132 Requires: %{name}-compat = %{version}-%{release}
133 Recommends: %{name}-profile_common = %{version}-%{release}
136 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
137 platform abstraction and application shell
139 ###########################################
140 # Dali adapter for profiles
141 ###########################################
143 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
144 # if mobile || "undefined"
145 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
146 %package profile_mobile
147 Summary: The DALi Tizen Adaptor for mobile
148 Provides: %{name}-compat = %{version}-%{release}
149 Conflicts: %{name}-profile_tv
150 Conflicts: %{name}-profile_wearable
151 Conflicts: %{name}-profile_ivi
152 Conflicts: %{name}-profile_common
153 %description profile_mobile
154 The DALi Tizen Adaptor for mobile.
157 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
158 # if tv ||"undefined"
159 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
161 Summary: The DALi Tizen Adaptor for tv
162 Provides: %{name}-compat = %{version}-%{release}
163 Conflicts: %{name}-profile_mobile
164 Conflicts: %{name}-profile_wearable
165 Conflicts: %{name}-profile_ivi
166 Conflicts: %{name}-profile_common
167 %description profile_tv
168 The DALi Tizen Adaptor for tv.
171 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
172 # if wearable || "undefined"
173 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
174 %package profile_wearable
175 Summary: The DALi Tizen Adaptor for wearable
176 Provides: %{name}-compat = %{version}-%{release}
177 Conflicts: %{name}-profile_mobile
178 Conflicts: %{name}-profile_tv
179 Conflicts: %{name}-profile_ivi
180 Conflicts: %{name}-profile_common
181 %description profile_wearable
182 The DALi Tizen Adaptor for wearable.
185 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
186 # if ivi ||"undefined"
187 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
189 Summary: The DALi Tizen Adaptor for ivi
190 Provides: %{name}-compat = %{version}-%{release}
191 Conflicts: %{name}-profile_mobile
192 Conflicts: %{name}-profile_wearable
193 Conflicts: %{name}-profile_tv
194 Conflicts: %{name}-profile_common
195 %description profile_ivi
196 The DALi Tizen Adaptor for ivi.
199 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
200 # if common ||"undefined"
201 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
202 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
203 %package profile_common
204 %define tizen_2_2_compatibility 0
205 Summary: The DALi Tizen Adaptor for common
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_ivi
211 %description profile_common
212 The DALi Tizen Adaptor for common.
215 ##############################
217 ##############################
219 Summary: Development components for the DALi Tizen Adaptor
220 Group: Development/Building
221 Requires: %{name} = %{version}-%{release}
222 Requires: %{name}-integration-devel = %{version}-%{release}
225 Development components for the DALi Tizen Adaptor - public headers and package configs
227 ##############################
229 ##############################
230 %package integration-devel
231 Summary: Integration development package for the Adaptor
232 Group: Development/Building
233 Requires: %{name} = %{version}-%{release}
235 %description integration-devel
236 Integration development package for the Adaptor - headers for integrating with an adaptor library.
238 ##############################
239 # Dali Feedback Plugin
240 ##############################
241 %package dali-feedback-plugin
242 Summary: Plugin to play haptic and audio feedback for Dali
243 Group: System/Libraries
244 Requires: %{name} = %{version}-%{release}
245 %description dali-feedback-plugin
246 Feedback plugin to play haptic and audio feedback for Dali
248 ##############################
249 # Dali VideoPlayer Plugin
250 ##############################
253 %package dali-video-player-plugin
254 Summary: Plugin to play a video file for Dali
255 Group: System/Libraries
256 %description dali-video-player-plugin
257 VideoPlayer plugin to play a video file for Dali
260 ##############################
262 ##############################
266 #Use TZ_PATH when tizen version is 3.x or greater
268 %if 0%{?tizen_version_major} >= 3
269 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
270 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
271 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
272 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
273 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
274 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
276 %define dali_data_rw_dir /usr/share/dali/
277 %define dali_data_ro_dir /usr/share/dali/
278 %define font_preloaded_path /usr/share/fonts/
279 %define font_downloaded_path /opt/share/fonts/
280 %define font_application_path /usr/share/app_fonts/
281 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
284 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
285 %define dali_plugin_sound_files /plugins/sounds/
286 %define dev_include_path %{_includedir}
288 ##############################
290 ##############################
293 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
294 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
297 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
302 CXXFLAGS+=" -DWAYLAND"
303 configure_flags="--enable-wayland"
306 # Use this conditional when Tizen version is 4.x or greater
307 %if 0%{?tizen_version_major} >= 4
308 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
311 %if 0%{?tizen_2_2_compatibility}
312 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
313 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
317 cd %{_builddir}/%{name}-%{version}/build/tizen
320 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
321 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
322 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
323 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
324 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
325 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
326 %if 0%{?tizen_platform_config_supported}
327 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
330 # Default to GLES 2.0 if not specified.
331 %define target_gles_version 20
333 # Set up the build via configure.
334 #######################################################################
335 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
336 # if mobile || "undefined"
337 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
339 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
340 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
341 --enable-tizen-major-version=%{tizen_version_major} \
342 %if 0%{?tizen_version_major} >= 3
345 --enable-videoplayer \
346 %if 0%{?tizen_2_2_compatibility}
347 --with-tizen-2-2-compatibility \
354 %if 0%{?enable_debug}
358 $configure_flags --libdir=%{_libdir}
361 make %{?jobs:-j%jobs}
363 pushd %{_builddir}/%{name}-%{version}/build/tizen
364 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
367 pushd %{buildroot}%{_libdir}
368 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
375 #######################################################################
376 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
377 # if tv ||"undefined"
378 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
380 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
381 --enable-shaderbincache=DISABLE --enable-profile=TV \
382 --enable-tizen-major-version=%{tizen_version_major} \
383 %if 0%{?tizen_version_major} >= 3
386 --enable-videoplayer \
387 %if 0%{?tizen_2_2_compatibility}
388 --with-tizen-2-2-compatibility \
395 %if 0%{?enable_debug}
399 $configure_flags --libdir=%{_libdir}
402 make %{?jobs:-j%jobs}
404 pushd %{_builddir}/%{name}-%{version}/build/tizen
405 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
408 pushd %{buildroot}%{_libdir}
409 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
415 #######################################################################
416 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
417 # if wearable || "undefined"
418 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
420 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
421 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
422 --enable-tizen-major-version=%{tizen_version_major} \
423 %if 0%{?tizen_version_major} >= 3
426 --enable-videoplayer \
427 %if 0%{?tizen_2_2_compatibility}
428 --with-tizen-2-2-compatibility \
435 %if 0%{?enable_debug}
439 $configure_flags --libdir=%{_libdir}
442 make %{?jobs:-j%jobs}
444 pushd %{_builddir}/%{name}-%{version}/build/tizen
445 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
448 pushd %{buildroot}%{_libdir}
449 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
455 #######################################################################
456 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
457 # if ivi ||"undefined"
458 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
460 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
461 --enable-shaderbincache=DISABLE --enable-profile=IVI \
462 --enable-tizen-major-version=%{tizen_version_major} \
463 %if 0%{?tizen_version_major} >= 3
466 --enable-videoplayer \
467 %if 0%{?tizen_2_2_compatibility}
468 --with-tizen-2-2-compatibility \
475 %if 0%{?enable_debug}
479 $configure_flags --libdir=%{_libdir}
482 make %{?jobs:-j%jobs}
484 pushd %{_builddir}/%{name}-%{version}/build/tizen
485 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
488 pushd %{buildroot}%{_libdir}
489 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
495 #######################################################################
496 # common ( build dali_videoplayer_plugin for common uses )
497 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
498 # if common ||"undefined"
499 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
501 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
502 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
503 --enable-tizen-major-version=%{tizen_version_major} \
504 %if 0%{?tizen_version_major} >= 3
507 --enable-videoplayer \
508 %if 0%{?tizen_2_2_compatibility}
509 --with-tizen-2-2-compatibility \
516 %if 0%{?enable_debug}
520 $configure_flags --libdir=%{_libdir}
523 make %{?jobs:-j%jobs}
528 ##############################
530 ##############################
534 pushd %{_builddir}/%{name}-%{version}/build/tizen
535 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
538 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
539 # !unified && (wearable || tv || ivi || mobile)
540 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
541 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
544 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
545 # wearable || tv || ivi || mobile || unified
546 %if "%{?profile}" != "common"
547 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
551 ##############################
553 # 1 - Pre Install new package
554 # 2 - Install new package
555 # 3 - Post install new package
556 # 4 - Pre uninstall old package
557 # 5 - Remove files not overwritten by new package
558 # 6 - Post uninstall old package
559 ##############################
564 ##############################
565 # Post Install new package
566 ##############################
571 ##############################
572 # Pre Uninstall old package
573 ##############################
577 ##############################
578 # Post Uninstall old package
579 ##############################
585 %post dali-video-player-plugin
591 %postun dali-video-player-plugin
597 ##############################
599 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
600 # if mobile || "undefined"
601 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
604 for FILE in libdali-adap*.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
609 %postun profile_mobile
614 ##############################
616 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
617 # if tv ||"undefined"
618 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
621 for FILE in libdali-adap*.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
631 ##############################
633 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
634 # if wearable || "undefined"
635 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
636 %post profile_wearable
638 for FILE in libdali-adap*.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
643 %postun profile_wearable
648 ##############################
650 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
651 # if ivi ||"undefined"
652 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
655 for FILE in libdali-adap*.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
666 ##############################
667 # Files in Binary Packages
668 ##############################
671 %manifest dali-adaptor.manifest
672 %defattr(-,root,root,-)
673 %defattr(-,app,app,-)
674 %dir %{user_shader_cache_dir}
678 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
679 # if common ||"undefined"
680 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
681 %defattr(-,root,root,-)
682 %{_libdir}/libdali-adap*.so*
683 %exclude %{_libdir}/libdali-adap*.so*.mobile
684 %exclude %{_libdir}/libdali-adap*.so*.wearable
685 %exclude %{_libdir}/libdali-adap*.so*.tv
686 %exclude %{_libdir}/libdali-adap*.so*.ivi
690 %files dali-video-player-plugin
691 %manifest dali-adaptor.manifest
692 %defattr(-,root,root,-)
693 %{_libdir}/libdali-video-player-plugin.so*
697 %if 0%{?tizen_version_major} >= 3
698 %files dali-feedback-plugin
699 %manifest dali-adaptor.manifest
700 %defattr(-,root,root,-)
701 %{_libdir}/libdali-feedback-plugin.so*
702 %{dali_plugin_sound_files}/*
705 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
706 # if common ||"undefined"
707 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
708 %files profile_common
709 # default .so files are housed in the main pkg.
712 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
713 # if mobile || "undefined"
714 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
715 %files profile_mobile
716 %manifest dali-adaptor.manifest
717 %defattr(-,root,root,-)
718 %{_libdir}/libdali-adap*.so*.mobile
721 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
722 # if tv ||"undefined"
723 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
725 %manifest dali-adaptor.manifest
726 %defattr(-,root,root,-)
727 %{_libdir}/libdali-adap*.so*.tv
730 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
731 # if wearable || "undefined"
732 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
733 %files profile_wearable
734 %manifest dali-adaptor.manifest
735 %defattr(-,root,root,-)
736 %{_libdir}/libdali-adap*.so*.wearable
739 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
740 # if ivi ||"undefined"
741 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
743 %manifest dali-adaptor.manifest
744 %defattr(-,root,root,-)
745 %{_libdir}/libdali-adap*.so*.ivi
750 %defattr(-,root,root,-)
751 %{dev_include_path}/dali/dali.h
752 %{dev_include_path}/dali/public-api/*
753 %{dev_include_path}/dali/devel-api/*
754 %{dev_include_path}/dali/doc/*
755 %{_libdir}/pkgconfig/dali-adaptor.pc
757 %files integration-devel
758 %defattr(-,root,root,-)
759 %{dev_include_path}/dali/integration-api/adaptors/*
760 %{_libdir}/pkgconfig/dali-adaptor-integration.pc