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 \
356 $configure_flags --libdir=%{_libdir}
359 make %{?jobs:-j%jobs}
361 pushd %{_builddir}/%{name}-%{version}/build/tizen
362 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
365 pushd %{buildroot}%{_libdir}
366 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
373 #######################################################################
374 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
375 # if tv ||"undefined"
376 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
378 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
379 --enable-shaderbincache=DISABLE --enable-profile=TV \
380 --enable-tizen-major-version=%{tizen_version_major} \
381 %if 0%{?tizen_version_major} >= 3
384 --enable-videoplayer \
385 %if 0%{?tizen_2_2_compatibility}
386 --with-tizen-2-2-compatibility \
395 $configure_flags --libdir=%{_libdir}
398 make %{?jobs:-j%jobs}
400 pushd %{_builddir}/%{name}-%{version}/build/tizen
401 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
404 pushd %{buildroot}%{_libdir}
405 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
411 #######################################################################
412 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
413 # if wearable || "undefined"
414 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
416 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
417 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
418 --enable-tizen-major-version=%{tizen_version_major} \
419 %if 0%{?tizen_version_major} >= 3
422 --enable-videoplayer \
423 %if 0%{?tizen_2_2_compatibility}
424 --with-tizen-2-2-compatibility \
433 $configure_flags --libdir=%{_libdir}
436 make %{?jobs:-j%jobs}
438 pushd %{_builddir}/%{name}-%{version}/build/tizen
439 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
442 pushd %{buildroot}%{_libdir}
443 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
449 #######################################################################
450 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
451 # if ivi ||"undefined"
452 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
454 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
455 --enable-shaderbincache=DISABLE --enable-profile=IVI \
456 --enable-tizen-major-version=%{tizen_version_major} \
457 %if 0%{?tizen_version_major} >= 3
460 --enable-videoplayer \
461 %if 0%{?tizen_2_2_compatibility}
462 --with-tizen-2-2-compatibility \
471 $configure_flags --libdir=%{_libdir}
474 make %{?jobs:-j%jobs}
476 pushd %{_builddir}/%{name}-%{version}/build/tizen
477 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
480 pushd %{buildroot}%{_libdir}
481 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
487 #######################################################################
488 # common ( build dali_videoplayer_plugin for common uses )
489 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
490 # if common ||"undefined"
491 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
493 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
494 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
495 --enable-tizen-major-version=%{tizen_version_major} \
496 %if 0%{?tizen_version_major} >= 3
499 --enable-videoplayer \
500 %if 0%{?tizen_2_2_compatibility}
501 --with-tizen-2-2-compatibility \
510 $configure_flags --libdir=%{_libdir}
513 make %{?jobs:-j%jobs}
518 ##############################
520 ##############################
524 pushd %{_builddir}/%{name}-%{version}/build/tizen
525 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
528 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
529 # !unified && (wearable || tv || ivi || mobile)
530 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
531 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
534 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
535 # wearable || tv || ivi || mobile || unified
536 %if "%{?profile}" != "common"
537 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
541 ##############################
543 # 1 - Pre Install new package
544 # 2 - Install new package
545 # 3 - Post install new package
546 # 4 - Pre uninstall old package
547 # 5 - Remove files not overwritten by new package
548 # 6 - Post uninstall old package
549 ##############################
554 ##############################
555 # Post Install new package
556 ##############################
561 ##############################
562 # Pre Uninstall old package
563 ##############################
567 ##############################
568 # Post Uninstall old package
569 ##############################
575 %post dali-video-player-plugin
581 %postun dali-video-player-plugin
587 ##############################
589 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
590 # if mobile || "undefined"
591 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
594 for FILE in libdali-adap*.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
599 %postun profile_mobile
604 ##############################
606 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
607 # if tv ||"undefined"
608 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
611 for FILE in libdali-adap*.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
621 ##############################
623 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
624 # if wearable || "undefined"
625 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
626 %post profile_wearable
628 for FILE in libdali-adap*.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
633 %postun profile_wearable
638 ##############################
640 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
641 # if ivi ||"undefined"
642 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
645 for FILE in libdali-adap*.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
656 ##############################
657 # Files in Binary Packages
658 ##############################
661 %manifest dali-adaptor.manifest
662 %defattr(-,root,root,-)
663 %defattr(-,app,app,-)
664 %dir %{user_shader_cache_dir}
668 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
669 # if common ||"undefined"
670 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
671 %defattr(-,root,root,-)
672 %{_libdir}/libdali-adap*.so*
673 %exclude %{_libdir}/libdali-adap*.so*.mobile
674 %exclude %{_libdir}/libdali-adap*.so*.wearable
675 %exclude %{_libdir}/libdali-adap*.so*.tv
676 %exclude %{_libdir}/libdali-adap*.so*.ivi
680 %files dali-video-player-plugin
681 %manifest dali-adaptor.manifest
682 %defattr(-,root,root,-)
683 %{_libdir}/libdali-video-player-plugin.so*
687 %if 0%{?tizen_version_major} >= 3
688 %files dali-feedback-plugin
689 %manifest dali-adaptor.manifest
690 %defattr(-,root,root,-)
691 %{_libdir}/libdali-feedback-plugin.so*
692 %{dali_plugin_sound_files}/*
695 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
696 # if common ||"undefined"
697 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
698 %files profile_common
699 # default .so files are housed in the main pkg.
702 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
703 # if mobile || "undefined"
704 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
705 %files profile_mobile
706 %manifest dali-adaptor.manifest
707 %defattr(-,root,root,-)
708 %{_libdir}/libdali-adap*.so*.mobile
711 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
712 # if tv ||"undefined"
713 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
715 %manifest dali-adaptor.manifest
716 %defattr(-,root,root,-)
717 %{_libdir}/libdali-adap*.so*.tv
720 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
721 # if wearable || "undefined"
722 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
723 %files profile_wearable
724 %manifest dali-adaptor.manifest
725 %defattr(-,root,root,-)
726 %{_libdir}/libdali-adap*.so*.wearable
729 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
730 # if ivi ||"undefined"
731 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
733 %manifest dali-adaptor.manifest
734 %defattr(-,root,root,-)
735 %{_libdir}/libdali-adap*.so*.ivi
740 %defattr(-,root,root,-)
741 %{dev_include_path}/dali/dali.h
742 %{dev_include_path}/dali/public-api/*
743 %{dev_include_path}/dali/devel-api/*
744 %{dev_include_path}/dali/doc/*
745 %{_libdir}/pkgconfig/dali-adaptor.pc
747 %files integration-devel
748 %defattr(-,root,root,-)
749 %{dev_include_path}/dali/integration-api/adaptors/*
750 %{_libdir}/pkgconfig/dali-adaptor-integration.pc