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)
108 %if 0%{?tizen_version_major} == 3
109 BuildRequires: pkgconfig(capi-appfw-application)
110 BuildRequires: pkgconfig(elementary)
112 BuildRequires: pkgconfig(appcore-ui)
113 BuildRequires: pkgconfig(capi-appfw-app-common)
114 BuildRequires: pkgconfig(capi-appfw-app-control)
115 BuildRequires: pkgconfig(ecore-imf)
117 BuildRequires: pkgconfig(capi-system-system-settings)
119 # for feedback plugin
120 BuildRequires: pkgconfig(mm-sound)
121 %if 0%{?tizen_version_major} >= 3
122 BuildRequires: pkgconfig(feedback)
125 # for videoplayer Plugin
126 BuildRequires: pkgconfig(capi-media-player)
130 Requires: %{name}-compat = %{version}-%{release}
131 Recommends: %{name}-profile_common = %{version}-%{release}
134 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
135 platform abstraction and application shell
137 ###########################################
138 # Dali adapter for profiles
139 ###########################################
141 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
142 # if mobile || "undefined"
143 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
144 %package profile_mobile
145 Summary: The DALi Tizen Adaptor for mobile
146 Provides: %{name}-compat = %{version}-%{release}
147 Conflicts: %{name}-profile_tv
148 Conflicts: %{name}-profile_wearable
149 Conflicts: %{name}-profile_ivi
150 Conflicts: %{name}-profile_common
151 %description profile_mobile
152 The DALi Tizen Adaptor for mobile.
155 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
156 # if tv ||"undefined"
157 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
159 Summary: The DALi Tizen Adaptor for tv
160 Provides: %{name}-compat = %{version}-%{release}
161 Conflicts: %{name}-profile_mobile
162 Conflicts: %{name}-profile_wearable
163 Conflicts: %{name}-profile_ivi
164 Conflicts: %{name}-profile_common
165 %description profile_tv
166 The DALi Tizen Adaptor for tv.
169 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
170 # if wearable || "undefined"
171 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
172 %package profile_wearable
173 Summary: The DALi Tizen Adaptor for wearable
174 Provides: %{name}-compat = %{version}-%{release}
175 Conflicts: %{name}-profile_mobile
176 Conflicts: %{name}-profile_tv
177 Conflicts: %{name}-profile_ivi
178 Conflicts: %{name}-profile_common
179 %description profile_wearable
180 The DALi Tizen Adaptor for wearable.
183 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
184 # if ivi ||"undefined"
185 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
187 Summary: The DALi Tizen Adaptor for ivi
188 Provides: %{name}-compat = %{version}-%{release}
189 Conflicts: %{name}-profile_mobile
190 Conflicts: %{name}-profile_wearable
191 Conflicts: %{name}-profile_tv
192 Conflicts: %{name}-profile_common
193 %description profile_ivi
194 The DALi Tizen Adaptor for ivi.
197 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
198 # if common ||"undefined"
199 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
200 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
201 %package profile_common
202 %define tizen_2_2_compatibility 0
203 Summary: The DALi Tizen Adaptor for common
204 Provides: %{name}-compat = %{version}-%{release}
205 Conflicts: %{name}-profile_mobile
206 Conflicts: %{name}-profile_wearable
207 Conflicts: %{name}-profile_tv
208 Conflicts: %{name}-profile_ivi
209 %description profile_common
210 The DALi Tizen Adaptor for common.
213 ##############################
215 ##############################
217 Summary: Development components for the DALi Tizen Adaptor
218 Group: Development/Building
219 Requires: %{name} = %{version}-%{release}
220 Requires: %{name}-integration-devel = %{version}-%{release}
223 Development components for the DALi Tizen Adaptor - public headers and package configs
225 ##############################
227 ##############################
228 %package integration-devel
229 Summary: Integration development package for the Adaptor
230 Group: Development/Building
231 Requires: %{name} = %{version}-%{release}
233 %description integration-devel
234 Integration development package for the Adaptor - headers for integrating with an adaptor library.
236 ##############################
237 # Dali Feedback Plugin
238 ##############################
239 %package dali-feedback-plugin
240 Summary: Plugin to play haptic and audio feedback for Dali
241 Group: System/Libraries
242 Requires: %{name} = %{version}-%{release}
243 %description dali-feedback-plugin
244 Feedback plugin to play haptic and audio feedback for Dali
246 ##############################
247 # Dali VideoPlayer Plugin
248 ##############################
251 %package dali-video-player-plugin
252 Summary: Plugin to play a video file for Dali
253 Group: System/Libraries
254 %description dali-video-player-plugin
255 VideoPlayer plugin to play a video file for Dali
258 ##############################
260 ##############################
264 #Use TZ_PATH when tizen version is 3.x or greater
266 %if 0%{?tizen_version_major} >= 3
267 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
268 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
269 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
270 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
271 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
272 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
274 %define dali_data_rw_dir /usr/share/dali/
275 %define dali_data_ro_dir /usr/share/dali/
276 %define font_preloaded_path /usr/share/fonts/
277 %define font_downloaded_path /opt/share/fonts/
278 %define font_application_path /usr/share/app_fonts/
279 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
282 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
283 %define dali_plugin_sound_files /plugins/sounds/
284 %define dev_include_path %{_includedir}
286 ##############################
288 ##############################
291 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
292 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
295 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
300 CXXFLAGS+=" -DWAYLAND"
301 configure_flags="--enable-wayland"
304 # Use this conditional when Tizen version is 4.x or greater
305 %if 0%{?tizen_version_major} >= 4
306 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
309 %if 0%{?tizen_2_2_compatibility}
310 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
311 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
315 cd %{_builddir}/%{name}-%{version}/build/tizen
318 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
319 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
320 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
321 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
322 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
323 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
324 %if 0%{?tizen_platform_config_supported}
325 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
328 # Default to GLES 2.0 if not specified.
329 %{!?target_gles_version: %define target_gles_version 20}
331 # Set up the build via configure.
332 #######################################################################
333 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
334 # if mobile || "undefined"
335 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
336 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
337 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
338 --enable-tizen-major-version=%{tizen_version_major} \
339 %if 0%{?tizen_version_major} >= 3
342 --enable-videoplayer \
343 %if 0%{?tizen_2_2_compatibility}
344 --with-tizen-2-2-compatibility \
351 %if 0%{?enable_debug}
355 $configure_flags --libdir=%{_libdir}
358 make %{?jobs:-j%jobs}
360 pushd %{_builddir}/%{name}-%{version}/build/tizen
361 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
364 pushd %{buildroot}%{_libdir}
365 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
370 #######################################################################
371 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
372 # if tv ||"undefined"
373 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
374 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
375 --enable-shaderbincache=DISABLE --enable-profile=TV \
376 --enable-tizen-major-version=%{tizen_version_major} \
377 %if 0%{?tizen_version_major} >= 3
380 --enable-videoplayer \
381 %if 0%{?tizen_2_2_compatibility}
382 --with-tizen-2-2-compatibility \
389 %if 0%{?enable_debug}
393 $configure_flags --libdir=%{_libdir}
396 make %{?jobs:-j%jobs}
398 pushd %{_builddir}/%{name}-%{version}/build/tizen
399 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
402 pushd %{buildroot}%{_libdir}
403 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
408 #######################################################################
409 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
410 # if wearable || "undefined"
411 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
412 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
413 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
414 --enable-tizen-major-version=%{tizen_version_major} \
415 %if 0%{?tizen_version_major} >= 3
418 --enable-videoplayer \
419 %if 0%{?tizen_2_2_compatibility}
420 --with-tizen-2-2-compatibility \
427 %if 0%{?enable_debug}
431 $configure_flags --libdir=%{_libdir}
434 make %{?jobs:-j%jobs}
436 pushd %{_builddir}/%{name}-%{version}/build/tizen
437 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
440 pushd %{buildroot}%{_libdir}
441 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
446 #######################################################################
447 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
448 # if ivi ||"undefined"
449 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
450 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
451 --enable-shaderbincache=DISABLE --enable-profile=IVI \
452 --enable-tizen-major-version=%{tizen_version_major} \
453 %if 0%{?tizen_version_major} >= 3
456 --enable-videoplayer \
457 %if 0%{?tizen_2_2_compatibility}
458 --with-tizen-2-2-compatibility \
465 %if 0%{?enable_debug}
469 $configure_flags --libdir=%{_libdir}
472 make %{?jobs:-j%jobs}
474 pushd %{_builddir}/%{name}-%{version}/build/tizen
475 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
478 pushd %{buildroot}%{_libdir}
479 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
484 #######################################################################
485 # common ( build dali_videoplayer_plugin for common uses )
486 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
487 # if common ||"undefined"
488 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
489 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
490 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
491 --enable-tizen-major-version=%{tizen_version_major} \
492 %if 0%{?tizen_version_major} >= 3
495 --enable-videoplayer \
496 %if 0%{?tizen_2_2_compatibility}
497 --with-tizen-2-2-compatibility \
504 %if 0%{?enable_debug}
508 $configure_flags --libdir=%{_libdir}
511 make %{?jobs:-j%jobs}
515 ##############################
517 ##############################
521 pushd %{_builddir}/%{name}-%{version}/build/tizen
522 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
525 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
526 # !unified && (wearable || tv || ivi || mobile)
527 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
528 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
531 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
532 # wearable || tv || ivi || mobile || unified
533 %if "%{?profile}" != "common"
534 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
538 ##############################
540 # 1 - Pre Install new package
541 # 2 - Install new package
542 # 3 - Post install new package
543 # 4 - Pre uninstall old package
544 # 5 - Remove files not overwritten by new package
545 # 6 - Post uninstall old package
546 ##############################
551 ##############################
552 # Post Install new package
553 ##############################
558 ##############################
559 # Pre Uninstall old package
560 ##############################
564 ##############################
565 # Post Uninstall old package
566 ##############################
572 %post dali-video-player-plugin
578 %postun dali-video-player-plugin
584 ##############################
586 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
587 # if mobile || "undefined"
588 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
591 for FILE in libdali-adap*.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
596 %postun profile_mobile
601 ##############################
603 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
604 # if tv ||"undefined"
605 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
608 for FILE in libdali-adap*.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
618 ##############################
620 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
621 # if wearable || "undefined"
622 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
623 %post profile_wearable
625 for FILE in libdali-adap*.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
630 %postun profile_wearable
635 ##############################
637 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
638 # if ivi ||"undefined"
639 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
642 for FILE in libdali-adap*.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
653 ##############################
654 # Files in Binary Packages
655 ##############################
658 %manifest dali-adaptor.manifest
659 %defattr(-,root,root,-)
660 %defattr(-,app,app,-)
661 %dir %{user_shader_cache_dir}
665 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
666 # if common ||"undefined"
667 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
668 %defattr(-,root,root,-)
669 %{_libdir}/libdali-adap*.so*
670 %exclude %{_libdir}/libdali-adap*.so*.mobile
671 %exclude %{_libdir}/libdali-adap*.so*.wearable
672 %exclude %{_libdir}/libdali-adap*.so*.tv
673 %exclude %{_libdir}/libdali-adap*.so*.ivi
677 %files dali-video-player-plugin
678 %manifest dali-adaptor.manifest
679 %defattr(-,root,root,-)
680 %{_libdir}/libdali-video-player-plugin.so*
684 %if 0%{?tizen_version_major} >= 3
685 %files dali-feedback-plugin
686 %manifest dali-adaptor.manifest
687 %defattr(-,root,root,-)
688 %{_libdir}/libdali-feedback-plugin.so*
689 %{dali_plugin_sound_files}/*
692 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
693 # if common ||"undefined"
694 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
695 %files profile_common
696 # default .so files are housed in the main pkg.
699 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
700 # if mobile || "undefined"
701 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
702 %files profile_mobile
703 %manifest dali-adaptor.manifest
704 %defattr(-,root,root,-)
705 %{_libdir}/libdali-adap*.so*.mobile
708 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
709 # if tv ||"undefined"
710 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
712 %manifest dali-adaptor.manifest
713 %defattr(-,root,root,-)
714 %{_libdir}/libdali-adap*.so*.tv
717 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
718 # if wearable || "undefined"
719 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
720 %files profile_wearable
721 %manifest dali-adaptor.manifest
722 %defattr(-,root,root,-)
723 %{_libdir}/libdali-adap*.so*.wearable
726 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
727 # if ivi ||"undefined"
728 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
730 %manifest dali-adaptor.manifest
731 %defattr(-,root,root,-)
732 %{_libdir}/libdali-adap*.so*.ivi
737 %defattr(-,root,root,-)
738 %{dev_include_path}/dali/dali.h
739 %{dev_include_path}/dali/public-api/*
740 %{dev_include_path}/dali/devel-api/*
741 %{dev_include_path}/dali/doc/*
742 %{_libdir}/pkgconfig/dali-adaptor.pc
744 %files integration-devel
745 %defattr(-,root,root,-)
746 %{dev_include_path}/dali/integration-api/adaptors/*
747 %{_libdir}/pkgconfig/dali-adaptor-integration.pc