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)$
19 Summary: The DALi Tizen Adaptor
22 Group: System/Libraries
23 License: Apache-2.0 and BSD-3-Clause and MIT
24 URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
25 Source0: %{name}-%{version}.tar.gz
27 Requires(post): /sbin/ldconfig
28 Requires(postun): /sbin/ldconfig
31 %define tizen_platform_config_supported 1
32 BuildRequires: pkgconfig(libtzplatform-config)
34 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
35 # if wearable || "undefined"
36 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
37 BuildRequires: pkgconfig(capi-appfw-watch-application)
38 BuildRequires: pkgconfig(appcore-watch)
39 BuildRequires: pkgconfig(screen_connector_provider)
42 BuildRequires: pkgconfig(gles20)
43 BuildRequires: pkgconfig(glesv2)
44 BuildRequires: pkgconfig(ttrace)
46 BuildRequires: dali-devel
47 BuildRequires: dali-integration-devel
49 BuildRequires: pkgconfig
51 BuildRequires: giflib-devel
52 BuildRequires: pkgconfig(fontconfig)
53 BuildRequires: libjpeg-turbo-devel
54 BuildRequires: pkgconfig(vconf)
55 BuildRequires: tts-devel
56 BuildRequires: pkgconfig(dlog)
57 BuildRequires: libdrm-devel
58 BuildRequires: pkgconfig(libexif)
59 BuildRequires: pkgconfig(libpng)
60 BuildRequires: pkgconfig(egl)
61 BuildRequires: libcurl-devel
62 BuildRequires: pkgconfig(harfbuzz)
63 BuildRequires: fribidi-devel
65 BuildRequires: pkgconfig(capi-system-info)
66 BuildRequires: pkgconfig(capi-system-sensor)
68 BuildRequires: pkgconfig(cairo)
70 BuildRequires: pkgconfig(wayland-egl)
71 BuildRequires: pkgconfig(wayland-client)
72 BuildRequires: wayland-devel
73 BuildRequires: wayland-extension-client-devel
75 # dali-adaptor uses ecore mainloop
76 %if 0%{?tizen_version_major} >= 5
77 BuildRequires: pkgconfig(ecore-wl2)
78 BuildRequires: pkgconfig(wayland-egl-tizen)
80 BuildRequires: pkgconfig(ecore-wayland)
83 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
84 BuildRequires: pkgconfig(libtbm)
86 BuildRequires: pkgconfig(tpkp-curl)
89 BuildRequires: pkgconfig(appcore-ui)
90 BuildRequires: pkgconfig(appcore-widget-base)
91 BuildRequires: pkgconfig(bundle)
92 BuildRequires: pkgconfig(capi-appfw-app-common)
93 BuildRequires: pkgconfig(capi-appfw-app-control)
94 BuildRequires: pkgconfig(ecore-imf)
96 BuildRequires: pkgconfig(capi-system-system-settings)
99 BuildRequires: pkgconfig(mm-sound)
100 BuildRequires: pkgconfig(feedback)
103 Requires: %{name}-compat = %{version}-%{release}
104 Recommends: %{name}-profile_common = %{version}-%{release}
107 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
108 platform abstraction and application shell
110 ###########################################
111 # Dali adapter for profiles
112 ###########################################
114 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
115 # if mobile || "undefined"
116 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
117 %package profile_mobile
118 Summary: The DALi Tizen Adaptor for mobile
119 Provides: %{name}-compat = %{version}-%{release}
120 Conflicts: %{name}-profile_tv
121 Conflicts: %{name}-profile_wearable
122 Conflicts: %{name}-profile_ivi
123 Conflicts: %{name}-profile_common
124 %description profile_mobile
125 The DALi Tizen Adaptor for mobile.
128 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
129 # if tv ||"undefined"
130 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
132 Summary: The DALi Tizen Adaptor for tv
133 Provides: %{name}-compat = %{version}-%{release}
134 Conflicts: %{name}-profile_mobile
135 Conflicts: %{name}-profile_wearable
136 Conflicts: %{name}-profile_ivi
137 Conflicts: %{name}-profile_common
138 %description profile_tv
139 The DALi Tizen Adaptor for tv.
142 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
143 # if wearable || "undefined"
144 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
145 %package profile_wearable
146 Summary: The DALi Tizen Adaptor for wearable
147 Provides: %{name}-compat = %{version}-%{release}
148 Conflicts: %{name}-profile_mobile
149 Conflicts: %{name}-profile_tv
150 Conflicts: %{name}-profile_ivi
151 Conflicts: %{name}-profile_common
152 %description profile_wearable
153 The DALi Tizen Adaptor for wearable.
156 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
157 # if ivi ||"undefined"
158 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
160 Summary: The DALi Tizen Adaptor for ivi
161 Provides: %{name}-compat = %{version}-%{release}
162 Conflicts: %{name}-profile_mobile
163 Conflicts: %{name}-profile_wearable
164 Conflicts: %{name}-profile_tv
165 Conflicts: %{name}-profile_common
166 %description profile_ivi
167 The DALi Tizen Adaptor for ivi.
170 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
171 # if common ||"undefined"
172 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
173 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
174 %package profile_common
175 Summary: The DALi Tizen Adaptor for common
176 Provides: %{name}-compat = %{version}-%{release}
177 Conflicts: %{name}-profile_mobile
178 Conflicts: %{name}-profile_wearable
179 Conflicts: %{name}-profile_tv
180 Conflicts: %{name}-profile_ivi
181 %description profile_common
182 The DALi Tizen Adaptor for common.
185 ##############################
187 ##############################
189 Summary: Development components for the DALi Tizen Adaptor
190 Group: Development/Building
191 Requires: %{name} = %{version}-%{release}
192 Requires: %{name}-integration-devel = %{version}-%{release}
195 Development components for the DALi Tizen Adaptor - public headers and package configs
197 ##############################
199 ##############################
200 %package integration-devel
201 Summary: Integration development package for the Adaptor
202 Group: Development/Building
203 Requires: %{name} = %{version}-%{release}
205 %description integration-devel
206 Integration development package for the Adaptor - headers for integrating with an adaptor library.
208 ##############################
209 # Dali Feedback Plugin
210 ##############################
211 %package dali-feedback-plugin
212 Summary: Plugin to play haptic and audio feedback for Dali
213 Group: System/Libraries
214 Requires: %{name} = %{version}-%{release}
215 %description dali-feedback-plugin
216 Feedback plugin to play haptic and audio feedback for Dali
218 ##############################
220 ##############################
224 #Use TZ_PATH when tizen version is 3.x or greater
226 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
227 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
228 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
229 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
230 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
231 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
233 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
234 %define dali_plugin_sound_files /plugins/sounds/
235 %define dev_include_path %{_includedir}
237 ##############################
239 ##############################
242 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
243 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
246 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
250 CXXFLAGS+=" -DWAYLAND"
251 configure_flags="--enable-wayland"
253 # Use this conditional when Tizen version is 5.x or greater
254 %if 0%{?tizen_version_major} >= 5
255 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
257 # Need Ecore-Wayland2 when Tizen version is 5.x or greater
258 CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
259 CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
260 configure_flags+=" --enable-ecore-wayland2"
264 cd %{_builddir}/%{name}-%{version}/build/tizen
267 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
268 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
269 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
270 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
271 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
272 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
273 %if 0%{?tizen_platform_config_supported}
274 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
277 # Set up the build via configure.
278 #######################################################################
279 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
280 # if mobile || "undefined"
281 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
282 %configure --prefix=$PREFIX --with-jpeg-turbo \
283 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
284 --enable-tizen-major-version=%{tizen_version_major} \
287 %if 0%{?enable_debug}
290 %if 0%{?enable_trace}
294 $configure_flags --libdir=%{_libdir} \
295 --enable-rename-so=no
298 make %{?jobs:-j%jobs}
300 pushd %{_builddir}/%{name}-%{version}/build/tizen
301 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
304 pushd %{buildroot}%{_libdir}
305 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
306 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
307 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
314 #######################################################################
315 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
316 # if tv ||"undefined"
317 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
318 %configure --prefix=$PREFIX --with-jpeg-turbo \
319 --enable-shaderbincache=DISABLE --enable-profile=TV \
320 --enable-tizen-major-version=%{tizen_version_major} \
323 %if 0%{?enable_debug}
326 %if 0%{?enable_trace}
330 $configure_flags --libdir=%{_libdir} \
331 --enable-rename-so=no
334 make %{?jobs:-j%jobs}
336 pushd %{_builddir}/%{name}-%{version}/build/tizen
337 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
340 pushd %{buildroot}%{_libdir}
341 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
342 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
343 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
349 #######################################################################
350 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
351 # if wearable || "undefined"
352 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
353 %configure --prefix=$PREFIX --with-jpeg-turbo \
354 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
355 --enable-tizen-major-version=%{tizen_version_major} \
358 %if 0%{?enable_debug}
361 %if 0%{?enable_trace}
365 $configure_flags --libdir=%{_libdir} \
366 --enable-rename-so=no
369 make %{?jobs:-j%jobs}
371 pushd %{_builddir}/%{name}-%{version}/build/tizen
372 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
375 pushd %{buildroot}%{_libdir}
376 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
377 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
378 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
384 #######################################################################
385 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
386 # if ivi ||"undefined"
387 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
388 %configure --prefix=$PREFIX --with-jpeg-turbo \
389 --enable-shaderbincache=DISABLE --enable-profile=IVI \
390 --enable-tizen-major-version=%{tizen_version_major} \
393 %if 0%{?enable_debug}
396 %if 0%{?enable_trace}
400 $configure_flags --libdir=%{_libdir} \
401 --enable-rename-so=no
404 make %{?jobs:-j%jobs}
406 pushd %{_builddir}/%{name}-%{version}/build/tizen
407 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
410 pushd %{buildroot}%{_libdir}
411 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
412 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
414 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
420 #######################################################################
422 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
423 # if common ||"undefined"
424 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
425 %configure --prefix=$PREFIX --with-jpeg-turbo \
426 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
427 --enable-tizen-major-version=%{tizen_version_major} \
430 %if 0%{?enable_debug}
433 %if 0%{?enable_trace}
437 $configure_flags --libdir=%{_libdir} \
438 --enable-rename-so=no
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"; done
449 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
451 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
458 ##############################
460 ##############################
464 pushd %{_builddir}/%{name}-%{version}/build/tizen
465 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
468 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
469 # !unified && (wearable || tv || ivi || mobile)
470 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
471 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
474 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
475 # wearable || tv || ivi || mobile || unified
476 %if "%{?profile}" != "common"
477 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
478 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
482 ################################################
484 ###############################################
485 pushd %{buildroot}%{_libdir}
487 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
488 # if common ||"undefined"
489 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
490 rm -rf libdali-adaptor*.so
491 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
494 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
495 # if wearable || "undefined"
496 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
497 rm -rf libdali-adaptor*.so.wearable
498 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
501 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
502 # if tv ||"undefined"
503 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
504 rm -rf libdali-adaptor*.so.tv
505 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
508 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
509 # if ivi ||"undefined"
510 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
511 rm -rf libdali-adaptor*.so.ivi
512 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
515 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
516 # if mobile || "undefined"
517 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
518 rm -rf libdali-adaptor*.so.mobile
519 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
523 ##############################
525 # 1 - Pre Install new package
526 # 2 - Install new package
527 # 3 - Post install new package
528 # 4 - Pre uninstall old package
529 # 5 - Remove files not overwritten by new package
530 # 6 - Post uninstall old package
531 ##############################
536 ##############################
537 # Post Install new package
538 ##############################
543 ##############################
544 # Pre Uninstall old package
545 ##############################
549 ##############################
550 # Post Uninstall old package
551 ##############################
556 ##############################
558 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
559 # if mobile || "undefined"
560 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
563 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
568 %postun profile_mobile
573 ##############################
575 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
576 # if tv ||"undefined"
577 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
580 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
590 ##############################
592 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
593 # if wearable || "undefined"
594 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
595 %post profile_wearable
597 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
602 %postun profile_wearable
607 ##############################
609 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
610 # if ivi ||"undefined"
611 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
614 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
624 ##############################
625 # Files in Binary Packages
626 ##############################
629 %manifest dali-adaptor.manifest
630 %defattr(-,root,root,-)
631 %dir %{user_shader_cache_dir}
635 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
636 # if common ||"undefined"
637 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
638 %defattr(-,root,root,-)
639 %{_libdir}/libdali-adaptor-cxx11.so.0*
640 %{_libdir}/libdali-adaptor.so
641 %exclude %{_libdir}/libdali-adap*.so*.mobile
642 %exclude %{_libdir}/libdali-adap*.so*.wearable
643 %exclude %{_libdir}/libdali-adap*.so*.tv
644 %exclude %{_libdir}/libdali-adap*.so*.ivi
647 #################################################
649 %files dali-feedback-plugin
650 %manifest dali-adaptor.manifest
651 %defattr(-,root,root,-)
652 %{_libdir}/libdali-feedback-plugin-cxx11.so*
653 %{dali_plugin_sound_files}/*
655 #################################################
657 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
658 # if common ||"undefined"
659 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
660 %files profile_common
661 # default .so files are housed in the main pkg.
664 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
665 # if mobile || "undefined"
666 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
667 %files profile_mobile
668 %manifest dali-adaptor.manifest
669 %defattr(-,root,root,-)
670 %{_libdir}/libdali-adaptor.so.mobile
671 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
674 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
675 # if tv ||"undefined"
676 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
678 %manifest dali-adaptor.manifest
679 %defattr(-,root,root,-)
680 %{_libdir}/libdali-adaptor.so.tv
681 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
684 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
685 # if wearable || "undefined"
686 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
687 %files profile_wearable
688 %manifest dali-adaptor.manifest
689 %defattr(-,root,root,-)
690 %{_libdir}/libdali-adaptor.so.wearable
691 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
694 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
695 # if ivi ||"undefined"
696 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
698 %manifest dali-adaptor.manifest
699 %defattr(-,root,root,-)
700 %{_libdir}/libdali-adaptor.so.ivi
701 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
706 %defattr(-,root,root,-)
707 %{dev_include_path}/dali/dali.h
708 %{dev_include_path}/dali/public-api/*
709 %{dev_include_path}/dali/devel-api/*
710 %{dev_include_path}/dali/doc/*
711 %{_libdir}/pkgconfig/dali-adaptor.pc
713 %files integration-devel
714 %defattr(-,root,root,-)
715 %{dev_include_path}/dali/integration-api/adaptors/*
716 %{_libdir}/pkgconfig/dali-adaptor-integration.pc