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(appcore-ui)
113 BuildRequires: pkgconfig(appcore-multiwindow)
114 BuildRequires: pkgconfig(capi-appfw-app-common)
115 BuildRequires: pkgconfig(capi-appfw-app-control)
116 BuildRequires: pkgconfig(screen_connector_provider)
118 BuildRequires: pkgconfig(capi-system-system-settings)
120 # for feedback plugin
121 BuildRequires: pkgconfig(mm-sound)
122 %if 0%{?tizen_version_major} >= 3
123 BuildRequires: pkgconfig(feedback)
126 # for videoplayer Plugin
127 BuildRequires: pkgconfig(capi-media-player)
131 Requires: %{name}-compat = %{version}-%{release}
132 Recommends: %{name}-profile_common = %{version}-%{release}
135 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
136 platform abstraction and application shell
138 ###########################################
139 # Dali adapter for profiles
140 ###########################################
142 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
143 # if mobile || "undefined"
144 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
145 %package profile_mobile
146 Summary: The DALi Tizen Adaptor for mobile
147 Provides: %{name}-compat = %{version}-%{release}
148 Conflicts: %{name}-profile_tv
149 Conflicts: %{name}-profile_wearable
150 Conflicts: %{name}-profile_ivi
151 Conflicts: %{name}-profile_common
152 %description profile_mobile
153 The DALi Tizen Adaptor for mobile.
156 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
157 # if tv ||"undefined"
158 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
160 Summary: The DALi Tizen Adaptor for tv
161 Provides: %{name}-compat = %{version}-%{release}
162 Conflicts: %{name}-profile_mobile
163 Conflicts: %{name}-profile_wearable
164 Conflicts: %{name}-profile_ivi
165 Conflicts: %{name}-profile_common
166 %description profile_tv
167 The DALi Tizen Adaptor for tv.
170 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
171 # if wearable || "undefined"
172 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
173 %package profile_wearable
174 Summary: The DALi Tizen Adaptor for wearable
175 Provides: %{name}-compat = %{version}-%{release}
176 Conflicts: %{name}-profile_mobile
177 Conflicts: %{name}-profile_tv
178 Conflicts: %{name}-profile_ivi
179 Conflicts: %{name}-profile_common
180 %description profile_wearable
181 The DALi Tizen Adaptor for wearable.
184 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
185 # if ivi ||"undefined"
186 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
188 Summary: The DALi Tizen Adaptor for ivi
189 Provides: %{name}-compat = %{version}-%{release}
190 Conflicts: %{name}-profile_mobile
191 Conflicts: %{name}-profile_wearable
192 Conflicts: %{name}-profile_tv
193 Conflicts: %{name}-profile_common
194 %description profile_ivi
195 The DALi Tizen Adaptor for ivi.
198 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
199 # if common ||"undefined"
200 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
201 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
202 %package profile_common
203 %define tizen_2_2_compatibility 0
204 Summary: The DALi Tizen Adaptor for common
205 Provides: %{name}-compat = %{version}-%{release}
206 Conflicts: %{name}-profile_mobile
207 Conflicts: %{name}-profile_wearable
208 Conflicts: %{name}-profile_tv
209 Conflicts: %{name}-profile_ivi
210 %description profile_common
211 The DALi Tizen Adaptor for common.
214 ##############################
216 ##############################
218 Summary: Development components for the DALi Tizen Adaptor
219 Group: Development/Building
220 Requires: %{name} = %{version}-%{release}
221 Requires: %{name}-integration-devel = %{version}-%{release}
224 Development components for the DALi Tizen Adaptor - public headers and package configs
226 ##############################
228 ##############################
229 %package integration-devel
230 Summary: Integration development package for the Adaptor
231 Group: Development/Building
232 Requires: %{name} = %{version}-%{release}
234 %description integration-devel
235 Integration development package for the Adaptor - headers for integrating with an adaptor library.
237 ##############################
238 # Dali Feedback Plugin
239 ##############################
240 %package dali-feedback-plugin
241 Summary: Plugin to play haptic and audio feedback for Dali
242 Group: System/Libraries
243 Requires: %{name} = %{version}-%{release}
244 %description dali-feedback-plugin
245 Feedback plugin to play haptic and audio feedback for Dali
247 ##############################
248 # Dali VideoPlayer Plugin
249 ##############################
252 %package dali-video-player-plugin
253 Summary: Plugin to play a video file for Dali
254 Group: System/Libraries
255 %description dali-video-player-plugin
256 VideoPlayer plugin to play a video file for Dali
259 ##############################
261 ##############################
265 #Use TZ_PATH when tizen version is 3.x or greater
267 %if 0%{?tizen_version_major} >= 3
268 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
269 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
270 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
271 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
272 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
273 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
275 %define dali_data_rw_dir /usr/share/dali/
276 %define dali_data_ro_dir /usr/share/dali/
277 %define font_preloaded_path /usr/share/fonts/
278 %define font_downloaded_path /opt/share/fonts/
279 %define font_application_path /usr/share/app_fonts/
280 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
283 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
284 %define dali_plugin_sound_files /plugins/sounds/
285 %define dev_include_path %{_includedir}
287 ##############################
289 ##############################
292 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
293 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
296 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
301 CXXFLAGS+=" -DWAYLAND"
302 configure_flags="--enable-wayland"
305 # Use this conditional when Tizen version is 4.x or greater
306 %if 0%{?tizen_version_major} >= 4
307 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
310 %if 0%{?tizen_2_2_compatibility}
311 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
312 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
316 cd %{_builddir}/%{name}-%{version}/build/tizen
319 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
320 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
321 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
322 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
323 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
324 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
325 %if 0%{?tizen_platform_config_supported}
326 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
329 # Default to GLES 2.0 if not specified.
330 %define target_gles_version 20
332 # Set up the build via configure.
333 #######################################################################
334 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
335 # if mobile || "undefined"
336 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
338 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
339 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
340 --enable-tizen-major-version=%{tizen_version_major} \
341 %if 0%{?tizen_version_major} >= 3
344 --enable-videoplayer \
345 %if 0%{?tizen_2_2_compatibility}
346 --with-tizen-2-2-compatibility \
353 %if 0%{?enable_debug}
357 $configure_flags --libdir=%{_libdir}
360 make %{?jobs:-j%jobs}
362 pushd %{_builddir}/%{name}-%{version}/build/tizen
363 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
366 pushd %{buildroot}%{_libdir}
367 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
374 #######################################################################
375 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
376 # if tv ||"undefined"
377 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
379 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
380 --enable-shaderbincache=DISABLE --enable-profile=TV \
381 --enable-tizen-major-version=%{tizen_version_major} \
382 %if 0%{?tizen_version_major} >= 3
385 --enable-videoplayer \
386 %if 0%{?tizen_2_2_compatibility}
387 --with-tizen-2-2-compatibility \
394 %if 0%{?enable_debug}
398 $configure_flags --libdir=%{_libdir}
401 make %{?jobs:-j%jobs}
403 pushd %{_builddir}/%{name}-%{version}/build/tizen
404 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
407 pushd %{buildroot}%{_libdir}
408 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
414 #######################################################################
415 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
416 # if wearable || "undefined"
417 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
419 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
420 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
421 --enable-tizen-major-version=%{tizen_version_major} \
422 %if 0%{?tizen_version_major} >= 3
425 --enable-videoplayer \
426 %if 0%{?tizen_2_2_compatibility}
427 --with-tizen-2-2-compatibility \
434 %if 0%{?enable_debug}
438 $configure_flags --libdir=%{_libdir}
441 make %{?jobs:-j%jobs}
443 pushd %{_builddir}/%{name}-%{version}/build/tizen
444 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
447 pushd %{buildroot}%{_libdir}
448 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
454 #######################################################################
455 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
456 # if ivi ||"undefined"
457 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
459 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
460 --enable-shaderbincache=DISABLE --enable-profile=IVI \
461 --enable-tizen-major-version=%{tizen_version_major} \
462 %if 0%{?tizen_version_major} >= 3
465 --enable-videoplayer \
466 %if 0%{?tizen_2_2_compatibility}
467 --with-tizen-2-2-compatibility \
474 %if 0%{?enable_debug}
478 $configure_flags --libdir=%{_libdir}
481 make %{?jobs:-j%jobs}
483 pushd %{_builddir}/%{name}-%{version}/build/tizen
484 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
487 pushd %{buildroot}%{_libdir}
488 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
494 #######################################################################
495 # common ( build dali_videoplayer_plugin for common uses )
496 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
497 # if common ||"undefined"
498 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
500 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
501 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
502 --enable-tizen-major-version=%{tizen_version_major} \
503 %if 0%{?tizen_version_major} >= 3
506 --enable-videoplayer \
507 %if 0%{?tizen_2_2_compatibility}
508 --with-tizen-2-2-compatibility \
515 %if 0%{?enable_debug}
519 $configure_flags --libdir=%{_libdir}
522 make %{?jobs:-j%jobs}
527 ##############################
529 ##############################
533 pushd %{_builddir}/%{name}-%{version}/build/tizen
534 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
537 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
538 # !unified && (wearable || tv || ivi || mobile)
539 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
540 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
543 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
544 # wearable || tv || ivi || mobile || unified
545 %if "%{?profile}" != "common"
546 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
550 ##############################
552 # 1 - Pre Install new package
553 # 2 - Install new package
554 # 3 - Post install new package
555 # 4 - Pre uninstall old package
556 # 5 - Remove files not overwritten by new package
557 # 6 - Post uninstall old package
558 ##############################
563 ##############################
564 # Post Install new package
565 ##############################
570 ##############################
571 # Pre Uninstall old package
572 ##############################
576 ##############################
577 # Post Uninstall old package
578 ##############################
584 %post dali-video-player-plugin
590 %postun dali-video-player-plugin
596 ##############################
598 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
599 # if mobile || "undefined"
600 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
603 for FILE in libdali-adap*.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
608 %postun profile_mobile
613 ##############################
615 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
616 # if tv ||"undefined"
617 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
620 for FILE in libdali-adap*.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
630 ##############################
632 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
633 # if wearable || "undefined"
634 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
635 %post profile_wearable
637 for FILE in libdali-adap*.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
642 %postun profile_wearable
647 ##############################
649 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
650 # if ivi ||"undefined"
651 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
654 for FILE in libdali-adap*.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
665 ##############################
666 # Files in Binary Packages
667 ##############################
670 %manifest dali-adaptor.manifest
671 %defattr(-,root,root,-)
672 %defattr(-,app,app,-)
673 %dir %{user_shader_cache_dir}
677 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
678 # if common ||"undefined"
679 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
680 %defattr(-,root,root,-)
681 %{_libdir}/libdali-adap*.so*
682 %exclude %{_libdir}/libdali-adap*.so*.mobile
683 %exclude %{_libdir}/libdali-adap*.so*.wearable
684 %exclude %{_libdir}/libdali-adap*.so*.tv
685 %exclude %{_libdir}/libdali-adap*.so*.ivi
689 %files dali-video-player-plugin
690 %manifest dali-adaptor.manifest
691 %defattr(-,root,root,-)
692 %{_libdir}/libdali-video-player-plugin.so*
696 %if 0%{?tizen_version_major} >= 3
697 %files dali-feedback-plugin
698 %manifest dali-adaptor.manifest
699 %defattr(-,root,root,-)
700 %{_libdir}/libdali-feedback-plugin.so*
701 %{dali_plugin_sound_files}/*
704 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
705 # if common ||"undefined"
706 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
707 %files profile_common
708 # default .so files are housed in the main pkg.
711 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
712 # if mobile || "undefined"
713 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
714 %files profile_mobile
715 %manifest dali-adaptor.manifest
716 %defattr(-,root,root,-)
717 %{_libdir}/libdali-adap*.so*.mobile
720 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
721 # if tv ||"undefined"
722 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
724 %manifest dali-adaptor.manifest
725 %defattr(-,root,root,-)
726 %{_libdir}/libdali-adap*.so*.tv
729 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
730 # if wearable || "undefined"
731 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
732 %files profile_wearable
733 %manifest dali-adaptor.manifest
734 %defattr(-,root,root,-)
735 %{_libdir}/libdali-adap*.so*.wearable
738 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
739 # if ivi ||"undefined"
740 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
742 %manifest dali-adaptor.manifest
743 %defattr(-,root,root,-)
744 %{_libdir}/libdali-adap*.so*.ivi
749 %defattr(-,root,root,-)
750 %{dev_include_path}/dali/dali.h
751 %{dev_include_path}/dali/public-api/*
752 %{dev_include_path}/dali/devel-api/*
753 %{dev_include_path}/dali/doc/*
754 %{_libdir}/pkgconfig/dali-adaptor.pc
756 %files integration-devel
757 %defattr(-,root,root,-)
758 %{dev_include_path}/dali/integration-api/adaptors/*
759 %{_libdir}/pkgconfig/dali-adaptor-integration.pc