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 %if 0%{?tizen_version_major} < 4
41 %define disable_cxx03_build 1
44 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
46 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
47 %define profile %{tizen_profile_name}
50 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
51 # if wearable || "undefined"
52 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
53 BuildRequires: pkgconfig(capi-appfw-watch-application)
54 BuildRequires: pkgconfig(appcore-watch)
55 BuildRequires: pkgconfig(screen_connector_provider)
58 BuildRequires: pkgconfig(gles20)
59 BuildRequires: pkgconfig(glesv2)
60 BuildRequires: pkgconfig(ttrace)
62 %if !0%{?disable_cxx03_build}
63 BuildRequires: dali-devel-cxx03
64 BuildRequires: dali-integration-devel-cxx03
66 BuildRequires: dali-devel
67 BuildRequires: dali-integration-devel
69 BuildRequires: pkgconfig
71 BuildRequires: giflib-devel
72 BuildRequires: pkgconfig(fontconfig)
73 BuildRequires: libjpeg-turbo-devel
74 BuildRequires: pkgconfig(vconf)
75 BuildRequires: tts-devel
76 BuildRequires: pkgconfig(dlog)
77 BuildRequires: libdrm-devel
78 BuildRequires: pkgconfig(libexif)
79 BuildRequires: pkgconfig(libpng)
80 BuildRequires: pkgconfig(egl)
81 BuildRequires: libcurl-devel
82 BuildRequires: pkgconfig(harfbuzz)
83 BuildRequires: fribidi-devel
85 BuildRequires: pkgconfig(capi-system-info)
86 BuildRequires: pkgconfig(capi-system-sensor)
88 BuildRequires: pkgconfig(libcrypto)
92 ####### BUILDING FOR WAYLAND #######
93 BuildRequires: pkgconfig(wayland-egl)
94 BuildRequires: pkgconfig(wayland-client)
95 BuildRequires: wayland-devel
96 BuildRequires: wayland-extension-client-devel
98 # dali-adaptor uses ecore mainloop
99 %if 0%{?tizen_version_major} >= 5
100 BuildRequires: pkgconfig(ecore-wl2)
102 BuildRequires: pkgconfig(ecore-wayland)
105 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
106 BuildRequires: pkgconfig(libtbm)
108 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
109 %if !0%{?disable_cxx03_build}
110 BuildRequires: pkgconfig(tpkp-curl-deprecated)
112 BuildRequires: pkgconfig(tpkp-curl)
114 ####### BUILDING FOR X11#######
116 BuildRequires: pkgconfig(egl)
117 BuildRequires: pkgconfig(xext)
118 BuildRequires: pkgconfig(xi)
119 BuildRequires: pkgconfig(xfixes)
120 BuildRequires: pkgconfig(xdamage)
121 BuildRequires: pkgconfig(utilX)
125 %if 0%{?tizen_version_major} == 3
126 BuildRequires: pkgconfig(capi-appfw-application)
127 BuildRequires: pkgconfig(elementary)
129 BuildRequires: pkgconfig(appcore-ui)
130 BuildRequires: pkgconfig(appcore-widget-base)
131 BuildRequires: pkgconfig(bundle)
132 BuildRequires: pkgconfig(capi-appfw-app-common)
133 BuildRequires: pkgconfig(capi-appfw-app-control)
134 BuildRequires: pkgconfig(ecore-imf)
137 BuildRequires: pkgconfig(capi-system-system-settings)
139 # for feedback plugin
140 BuildRequires: pkgconfig(mm-sound)
141 %if 0%{?tizen_version_major} >= 3
142 BuildRequires: pkgconfig(feedback)
145 # for Web Engine Lite Plugin
146 %if 0%{?enable_web_engine_lite}
147 BuildRequires: lightweight-web-engine
148 BuildRequires: lightweight-web-engine-devel
152 Requires: %{name}-compat = %{version}-%{release}
153 Recommends: %{name}-profile_common = %{version}-%{release}
156 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
157 platform abstraction and application shell
159 %if !0%{?disable_cxx03_build}
161 Summary: The DALi Tizen Adaptor with cxx03 abi
162 Provides: %{name}-cxx03 = %{version}-%{release}
165 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
166 platform abstraction and application shell
169 ###########################################
170 # Dali adapter for profiles
171 ###########################################
173 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
174 # if mobile || "undefined"
175 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
176 %package profile_mobile
177 Summary: The DALi Tizen Adaptor for mobile
178 Provides: %{name}-compat = %{version}-%{release}
179 Conflicts: %{name}-profile_tv
180 Conflicts: %{name}-profile_wearable
181 Conflicts: %{name}-profile_ivi
182 Conflicts: %{name}-profile_common
183 %description profile_mobile
184 The DALi Tizen Adaptor for mobile.
187 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
188 # if tv ||"undefined"
189 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
191 Summary: The DALi Tizen Adaptor for tv
192 Provides: %{name}-compat = %{version}-%{release}
193 Conflicts: %{name}-profile_mobile
194 Conflicts: %{name}-profile_wearable
195 Conflicts: %{name}-profile_ivi
196 Conflicts: %{name}-profile_common
197 %description profile_tv
198 The DALi Tizen Adaptor for tv.
201 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
202 # if wearable || "undefined"
203 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
204 %package profile_wearable
205 Summary: The DALi Tizen Adaptor for wearable
206 Provides: %{name}-compat = %{version}-%{release}
207 Conflicts: %{name}-profile_mobile
208 Conflicts: %{name}-profile_tv
209 Conflicts: %{name}-profile_ivi
210 Conflicts: %{name}-profile_common
211 %description profile_wearable
212 The DALi Tizen Adaptor for wearable.
215 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
216 # if ivi ||"undefined"
217 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
219 Summary: The DALi Tizen Adaptor for ivi
220 Provides: %{name}-compat = %{version}-%{release}
221 Conflicts: %{name}-profile_mobile
222 Conflicts: %{name}-profile_wearable
223 Conflicts: %{name}-profile_tv
224 Conflicts: %{name}-profile_common
225 %description profile_ivi
226 The DALi Tizen Adaptor for ivi.
229 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
230 # if common ||"undefined"
231 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
232 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
233 %package profile_common
234 %define tizen_2_2_compatibility 0
235 Summary: The DALi Tizen Adaptor for common
236 Provides: %{name}-compat = %{version}-%{release}
237 Conflicts: %{name}-profile_mobile
238 Conflicts: %{name}-profile_wearable
239 Conflicts: %{name}-profile_tv
240 Conflicts: %{name}-profile_ivi
241 %description profile_common
242 The DALi Tizen Adaptor for common.
245 %if !0%{?disable_cxx03_build}
246 ###########################################
247 # Dali adapter for profiles for cxx03 ABI
248 ###########################################
250 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
251 # if mobile || "undefined"
252 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
253 %package profile_mobile-cxx03
254 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
255 Provides: %{name}-cxx03-compat = %{version}-%{release}
256 Conflicts: %{name}-profile_tv-cxx03
257 Conflicts: %{name}-profile_wearable-cxx03
258 Conflicts: %{name}-profile_ivi-cxx03
259 Conflicts: %{name}-profile_common-cxx03
260 %description profile_mobile-cxx03
261 The DALi Tizen Adaptor for mobile.
264 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
265 # if tv ||"undefined"
266 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
267 %package profile_tv-cxx03
268 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
269 Provides: %{name}-cxx03-compat = %{version}-%{release}
270 Conflicts: %{name}-profile_mobile-cxx03
271 Conflicts: %{name}-profile_wearable-cxx03
272 Conflicts: %{name}-profile_ivi-cxx03
273 Conflicts: %{name}-profile_common-cxx03
274 %description profile_tv-cxx03
275 The DALi Tizen Adaptor for tv.
278 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
279 # if wearable || "undefined"
280 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
281 %package profile_wearable-cxx03
282 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
283 Provides: %{name}-cxx03-compat = %{version}-%{release}
284 Conflicts: %{name}-profile_mobile-cxx03
285 Conflicts: %{name}-profile_tv-cxx03
286 Conflicts: %{name}-profile_ivi-cxx03
287 Conflicts: %{name}-profile_common-cxx03
288 %description profile_wearable-cxx03
289 The DALi Tizen Adaptor for wearable.
292 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
293 # if ivi ||"undefined"
294 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
295 %package profile_ivi-cxx03
296 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
297 Provides: %{name}-cxx03-compat = %{version}-%{release}
298 Conflicts: %{name}-profile_mobile-cxx03
299 Conflicts: %{name}-profile_wearable-cxx03
300 Conflicts: %{name}-profile_tv-cxx03
301 Conflicts: %{name}-profile_common-cxx03
302 %description profile_ivi-cxx03
303 The DALi Tizen Adaptor for ivi.
306 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
307 # if common ||"undefined"
308 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
309 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
310 %package profile_common-cxx03
311 %define tizen_2_2_compatibility 0
312 Summary: The DALi Tizen Adaptor for common with cxx03 abi
313 Provides: %{name}-cxx03-compat = %{version}-%{release}
314 Conflicts: %{name}-profile_mobile-cxx03
315 Conflicts: %{name}-profile_wearable-cxx03
316 Conflicts: %{name}-profile_tv-cxx03
317 Conflicts: %{name}-profile_ivi-cxx03
318 %description profile_common-cxx03
319 The DALi Tizen Adaptor for common.
323 ##############################
325 ##############################
327 Summary: Development components for the DALi Tizen Adaptor
328 Group: Development/Building
329 Requires: %{name} = %{version}-%{release}
330 Requires: %{name}-integration-devel = %{version}-%{release}
333 Development components for the DALi Tizen Adaptor - public headers and package configs
335 ##############################
337 ##############################
338 %package integration-devel
339 Summary: Integration development package for the Adaptor
340 Group: Development/Building
341 Requires: %{name} = %{version}-%{release}
343 %description integration-devel
344 Integration development package for the Adaptor - headers for integrating with an adaptor library.
346 %if !0%{?disable_cxx03_build}
347 ##############################
349 ##############################
351 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
352 Group: Development/Building
353 Requires: %{name}-cxx03 = %{version}-%{release}
354 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
356 %description devel-cxx03
357 Development components for the DALi Tizen Adaptor - public headers and package configs
359 ##############################
360 # integration-devel cxx03
361 ##############################
362 %package integration-devel-cxx03
363 Summary: Integration development package for the Adaptor with cxx03 abi
364 Group: Development/Building
365 Requires: %{name}-cxx03 = %{version}-%{release}
367 %description integration-devel-cxx03
368 Integration development package for the Adaptor - headers for integrating with an adaptor library.
371 ##############################
372 # Dali Feedback Plugin
373 ##############################
374 %package dali-feedback-plugin
375 Summary: Plugin to play haptic and audio feedback for Dali
376 Group: System/Libraries
377 Requires: %{name} = %{version}-%{release}
378 %description dali-feedback-plugin
379 Feedback plugin to play haptic and audio feedback for Dali
381 ##############################
382 # Dali WebEngineLite Plugin
383 ##############################
385 %package dali-web-engine-lite-plugin
386 Summary: Plugin WebEngineLite for Dali
387 Group: System/Libraries
388 %description dali-web-engine-lite-plugin
389 WebEngineLite plugin for Dali
391 %if !0%{?disable_cxx03_build}
392 ##############################
393 # Dali Feedback Plugin cxx03
394 ##############################
396 %package dali-feedback-plugin-cxx03
397 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
398 Group: System/Libraries
399 Requires: %{name}-cxx03 = %{version}-%{release}
400 %description dali-feedback-plugin-cxx03
401 Feedback plugin to play haptic and audio feedback for Dali
403 ##############################
404 # Dali WebEngineLite Plugin
405 ##############################
407 %package dali-web-engine-lite-plugin-cxx03
408 Summary: Plugin WebEngineLite for Dali with cxx03 abi
409 Group: System/Libraries
410 %description dali-web-engine-lite-plugin-cxx03
411 WebEngineLite plugin for Dali
414 ##############################
416 ##############################
420 #Use TZ_PATH when tizen version is 3.x or greater
422 %if 0%{?tizen_version_major} >= 3
423 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
424 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
425 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
426 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
427 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
428 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
430 %define dali_data_rw_dir /usr/share/dali/
431 %define dali_data_ro_dir /usr/share/dali/
432 %define font_preloaded_path /usr/share/fonts/
433 %define font_downloaded_path /opt/share/fonts/
434 %define font_application_path /usr/share/app_fonts/
435 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
438 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
439 %define dali_plugin_sound_files /plugins/sounds/
440 %define dev_include_path %{_includedir}
442 ##############################
444 ##############################
447 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
448 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
451 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
456 CXXFLAGS+=" -DWAYLAND"
457 configure_flags="--enable-wayland"
459 # Need Ecore-Wayland2 when Tizen version is 5.x or greater
460 %if 0%{?tizen_version_major} >= 5
461 CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
462 CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
463 configure_flags+=" --enable-ecore-wayland2"
467 # Use this conditional when Tizen version is 5.x or greater
468 %if 0%{?tizen_version_major} >= 5
469 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
472 # Use this conditional when Tizen version is 4.x or greater
473 %if 0%{?tizen_version_major} >= 4
474 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
477 %if 0%{?tizen_2_2_compatibility}
478 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
479 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
483 cd %{_builddir}/%{name}-%{version}/build/tizen
486 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
487 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
488 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
489 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
490 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
491 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
492 %if 0%{?tizen_platform_config_supported}
493 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
496 # Default to GLES 2.0 if not specified.
497 %if 0%{?target_gles_version} == 0
498 %define target_gles_version 20
501 # Set up the build via configure.
502 #######################################################################
503 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
504 # if mobile || "undefined"
505 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
506 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
507 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
508 --enable-tizen-major-version=%{tizen_version_major} \
509 %if 0%{?tizen_version_major} >= 3
512 %if 0%{?tizen_2_2_compatibility}
513 --with-tizen-2-2-compatibility \
520 %if 0%{?enable_web_engine_lite}
521 --enable-web-engine-lite \
523 %if 0%{?enable_debug}
526 %if 0%{?enable_trace}
530 $configure_flags --libdir=%{_libdir} \
531 --enable-rename-so=no
534 make %{?jobs:-j%jobs}
536 pushd %{_builddir}/%{name}-%{version}/build/tizen
537 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
540 pushd %{buildroot}%{_libdir}
541 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
542 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
543 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
550 #######################################################################
551 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
552 # if tv ||"undefined"
553 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
554 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
555 --enable-shaderbincache=DISABLE --enable-profile=TV \
556 --enable-tizen-major-version=%{tizen_version_major} \
557 %if 0%{?tizen_version_major} >= 3
560 %if 0%{?tizen_2_2_compatibility}
561 --with-tizen-2-2-compatibility \
568 %if 0%{?enable_web_engine_lite}
569 --enable-web-engine-lite \
571 %if 0%{?enable_debug}
574 %if 0%{?enable_trace}
578 $configure_flags --libdir=%{_libdir} \
579 --enable-rename-so=no
582 make %{?jobs:-j%jobs}
584 pushd %{_builddir}/%{name}-%{version}/build/tizen
585 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
588 pushd %{buildroot}%{_libdir}
589 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
590 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
591 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
597 #######################################################################
598 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
599 # if wearable || "undefined"
600 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
601 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
602 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
603 --enable-tizen-major-version=%{tizen_version_major} \
604 %if 0%{?tizen_version_major} >= 3
607 %if 0%{?tizen_2_2_compatibility}
608 --with-tizen-2-2-compatibility \
615 %if 0%{?enable_web_engine_lite}
616 --enable-web-engine-lite \
618 %if 0%{?enable_debug}
621 %if 0%{?enable_trace}
625 $configure_flags --libdir=%{_libdir} \
626 --enable-rename-so=no
629 make %{?jobs:-j%jobs}
631 pushd %{_builddir}/%{name}-%{version}/build/tizen
632 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
635 pushd %{buildroot}%{_libdir}
636 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
637 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
638 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
644 #######################################################################
645 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
646 # if ivi ||"undefined"
647 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
648 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
649 --enable-shaderbincache=DISABLE --enable-profile=IVI \
650 --enable-tizen-major-version=%{tizen_version_major} \
651 %if 0%{?tizen_version_major} >= 3
654 %if 0%{?tizen_2_2_compatibility}
655 --with-tizen-2-2-compatibility \
662 %if 0%{?enable_web_engine_lite}
663 --enable-web-engine-lite \
665 %if 0%{?enable_debug}
668 %if 0%{?enable_trace}
672 $configure_flags --libdir=%{_libdir} \
673 --enable-rename-so=no
676 make %{?jobs:-j%jobs}
678 pushd %{_builddir}/%{name}-%{version}/build/tizen
679 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
682 pushd %{buildroot}%{_libdir}
683 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
684 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
686 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
692 #######################################################################
694 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
695 # if common ||"undefined"
696 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
697 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
698 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
699 --enable-tizen-major-version=%{tizen_version_major} \
700 %if 0%{?tizen_version_major} >= 3
703 %if 0%{?tizen_2_2_compatibility}
704 --with-tizen-2-2-compatibility \
711 %if 0%{?enable_web_engine_lite}
712 --enable-web-engine-lite \
714 %if 0%{?enable_debug}
717 %if 0%{?enable_trace}
721 $configure_flags --libdir=%{_libdir} \
722 --enable-rename-so=no
725 make %{?jobs:-j%jobs}
727 pushd %{_builddir}/%{name}-%{version}/build/tizen
728 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
731 pushd %{buildroot}%{_libdir}
732 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
733 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
735 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
742 %if !0%{?disable_cxx03_build}
743 #######################################################################
745 #######################################################################
747 # Set up the build via configure.
748 #######################################################################
749 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
750 # if mobile || "undefined"
751 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
753 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
754 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
755 --enable-tizen-major-version=%{tizen_version_major} \
756 %if 0%{?tizen_version_major} >= 3
759 --enable-cxx03-abi=yes \
760 %if 0%{?tizen_2_2_compatibility}
761 --with-tizen-2-2-compatibility \
768 %if 0%{?enable_web_engine_lite}
769 --enable-web-engine-lite \
771 %if 0%{?enable_debug}
774 %if 0%{?enable_trace}
778 $configure_flags --libdir=%{_libdir} \
779 --enable-rename-so=no
782 make %{?jobs:-j%jobs}
784 pushd %{_builddir}/%{name}-%{version}/build/tizen
785 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
788 pushd %{buildroot}%{_libdir}
789 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
790 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
797 #######################################################################
798 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
799 # if tv ||"undefined"
800 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
802 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
803 --enable-shaderbincache=DISABLE --enable-profile=TV \
804 --enable-tizen-major-version=%{tizen_version_major} \
805 %if 0%{?tizen_version_major} >= 3
808 --enable-cxx03-abi=yes \
809 %if 0%{?tizen_2_2_compatibility}
810 --with-tizen-2-2-compatibility \
817 %if 0%{?enable_web_engine_lite}
818 --enable-web-engine-lite \
820 %if 0%{?enable_debug}
823 %if 0%{?enable_trace}
827 $configure_flags --libdir=%{_libdir} \
828 --enable-rename-so=no
831 make %{?jobs:-j%jobs}
833 pushd %{_builddir}/%{name}-%{version}/build/tizen
834 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
837 pushd %{buildroot}%{_libdir}
838 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
839 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
845 #######################################################################
846 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
847 # if wearable || "undefined"
848 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
850 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
851 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
852 --enable-tizen-major-version=%{tizen_version_major} \
853 %if 0%{?tizen_version_major} >= 3
856 --enable-cxx03-abi=yes \
857 %if 0%{?tizen_2_2_compatibility}
858 --with-tizen-2-2-compatibility \
865 %if 0%{?enable_web_engine_lite}
866 --enable-web-engine-lite \
868 %if 0%{?enable_debug}
871 %if 0%{?enable_trace}
875 $configure_flags --libdir=%{_libdir} \
876 --enable-rename-so=no
879 make %{?jobs:-j%jobs}
881 pushd %{_builddir}/%{name}-%{version}/build/tizen
882 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
885 pushd %{buildroot}%{_libdir}
886 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
887 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
893 #######################################################################
894 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
895 # if ivi ||"undefined"
896 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
898 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
899 --enable-shaderbincache=DISABLE --enable-profile=IVI \
900 --enable-tizen-major-version=%{tizen_version_major} \
901 %if 0%{?tizen_version_major} >= 3
904 --enable-cxx03-abi=yes \
905 %if 0%{?tizen_2_2_compatibility}
906 --with-tizen-2-2-compatibility \
913 %if 0%{?enable_web_engine_lite}
914 --enable-web-engine-lite \
916 %if 0%{?enable_debug}
919 %if 0%{?enable_trace}
923 $configure_flags --libdir=%{_libdir} \
924 --enable-rename-so=no
927 make %{?jobs:-j%jobs}
929 pushd %{_builddir}/%{name}-%{version}/build/tizen
930 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
933 pushd %{buildroot}%{_libdir}
934 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
935 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
941 #######################################################################
943 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
944 # if common ||"undefined"
945 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
947 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
948 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
949 --enable-tizen-major-version=%{tizen_version_major} \
950 %if 0%{?tizen_version_major} >= 3
953 --enable-cxx03-abi=yes \
954 %if 0%{?tizen_2_2_compatibility}
955 --with-tizen-2-2-compatibility \
962 %if 0%{?enable_web_engine_lite}
963 --enable-web-engine-lite \
965 %if 0%{?enable_debug}
968 %if 0%{?enable_trace}
972 $configure_flags --libdir=%{_libdir} \
973 --enable-rename-so=no
976 make %{?jobs:-j%jobs}
981 ##############################
983 ##############################
987 pushd %{_builddir}/%{name}-%{version}/build/tizen
988 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
991 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
992 # !unified && (wearable || tv || ivi || mobile)
993 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
994 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
997 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
998 # wearable || tv || ivi || mobile || unified
999 %if "%{?profile}" != "common"
1000 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
1001 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
1005 ################################################
1007 ###############################################
1008 pushd %{buildroot}%{_libdir}
1010 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1011 # if common ||"undefined"
1012 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1013 rm -rf libdali-adaptor*.so
1014 %if !0%{?disable_cxx03_build}
1015 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
1017 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
1020 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1021 # if wearable || "undefined"
1022 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1023 rm -rf libdali-adaptor*.so.wearable
1024 %if !0%{?disable_cxx03_build}
1025 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
1027 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
1030 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1031 # if tv ||"undefined"
1032 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1033 rm -rf libdali-adaptor*.so.tv
1034 %if !0%{?disable_cxx03_build}
1035 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
1037 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
1040 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1041 # if ivi ||"undefined"
1042 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1043 rm -rf libdali-adaptor*.so.ivi
1044 %if !0%{?disable_cxx03_build}
1045 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1047 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1050 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1051 # if mobile || "undefined"
1052 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1053 rm -rf libdali-adaptor*.so.mobile
1054 %if !0%{?disable_cxx03_build}
1055 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1057 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1061 ##############################
1063 # 1 - Pre Install new package
1064 # 2 - Install new package
1065 # 3 - Post install new package
1066 # 4 - Pre uninstall old package
1067 # 5 - Remove files not overwritten by new package
1068 # 6 - Post uninstall old package
1069 ##############################
1074 ##############################
1075 # Post Install new package
1076 ##############################
1081 ##############################
1082 # Pre Uninstall old package
1083 ##############################
1087 ##############################
1088 # Post Uninstall old package
1089 ##############################
1094 #%if %{with wayland}
1095 %post dali-web-engine-lite-plugin
1100 ##############################
1102 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1103 # if mobile || "undefined"
1104 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1105 %post profile_mobile
1107 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1112 %postun profile_mobile
1117 ##############################
1119 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1120 # if tv ||"undefined"
1121 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1124 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1134 ##############################
1136 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1137 # if wearable || "undefined"
1138 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1139 %post profile_wearable
1141 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1146 %postun profile_wearable
1151 ##############################
1153 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1154 # if ivi ||"undefined"
1155 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1158 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1168 %if !0%{?disable_cxx03_build}
1169 ##############################
1171 #############################
1172 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1173 # if mobile || "undefined"
1174 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1175 %post profile_mobile-cxx03
1177 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1182 %postun profile_mobile-cxx03
1187 ##############################
1189 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1190 # if tv ||"undefined"
1191 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1192 %post profile_tv-cxx03
1194 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1199 %postun profile_tv-cxx03
1204 ##############################
1206 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1207 # if wearable || "undefined"
1208 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1209 %post profile_wearable-cxx03
1211 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1216 %postun profile_wearable-cxx03
1221 ##############################
1223 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1224 # if ivi ||"undefined"
1225 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1226 %post profile_ivi-cxx03
1228 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1233 %postun profile_ivi-cxx03
1239 ##############################
1240 # Files in Binary Packages
1241 ##############################
1244 %manifest dali-adaptor.manifest
1245 %defattr(-,root,root,-)
1246 %defattr(-,app,app,-)
1247 %dir %{user_shader_cache_dir}
1251 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1252 # if common ||"undefined"
1253 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1254 %defattr(-,root,root,-)
1255 %{_libdir}/libdali-adaptor-cxx11.so.0*
1256 %{_libdir}/libdali-adaptor.so
1257 %exclude %{_libdir}/libdali-adap*.so*.mobile
1258 %exclude %{_libdir}/libdali-adap*.so*.wearable
1259 %exclude %{_libdir}/libdali-adap*.so*.tv
1260 %exclude %{_libdir}/libdali-adap*.so*.ivi
1263 %if !0%{?disable_cxx03_build}
1265 %manifest dali-adaptor.manifest
1266 %defattr(-,root,root,-)
1267 %defattr(-,app,app,-)
1268 %dir %{user_shader_cache_dir}
1271 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1272 # if common ||"undefined"
1273 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1274 %defattr(-,root,root,-)
1275 %{_libdir}/libdali-adaptor.so.0*
1276 %{_libdir}/libdali-adaptor-cxx03.so
1277 %exclude %{_libdir}/libdali-adap*.so*.mobile
1278 %exclude %{_libdir}/libdali-adap*.so*.wearable
1279 %exclude %{_libdir}/libdali-adap*.so*.tv
1280 %exclude %{_libdir}/libdali-adap*.so*.ivi
1283 %if 0%{?tizen_version_major} >= 3
1284 %if 0%{?enable_web_engine_lite}
1285 %files dali-web-engine-lite-plugin-cxx03
1286 %manifest dali-adaptor.manifest
1287 %defattr(-,root,root,-)
1288 %{_libdir}/libdali-web-engine-lite-plugin.so*
1292 %files dali-feedback-plugin-cxx03
1293 %manifest dali-adaptor.manifest
1294 %defattr(-,root,root,-)
1295 %{_libdir}/libdali-feedback-plugin.so*
1296 %{dali_plugin_sound_files}/*
1300 #################################################
1302 %if 0%{?tizen_version_major} >= 3
1303 %if 0%{?enable_web_engine_lite}
1304 %files dali-web-engine-lite-plugin
1305 %manifest dali-adaptor.manifest
1306 %defattr(-,root,root,-)
1307 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1311 %files dali-feedback-plugin
1312 %manifest dali-adaptor.manifest
1313 %defattr(-,root,root,-)
1314 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1315 %{dali_plugin_sound_files}/*
1318 #################################################
1320 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1321 # if common ||"undefined"
1322 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1323 %files profile_common
1324 # default .so files are housed in the main pkg.
1327 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1328 # if mobile || "undefined"
1329 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1330 %files profile_mobile
1331 %manifest dali-adaptor.manifest
1332 %defattr(-,root,root,-)
1333 %{_libdir}/libdali-adaptor.so.mobile
1334 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1337 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1338 # if tv ||"undefined"
1339 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1341 %manifest dali-adaptor.manifest
1342 %defattr(-,root,root,-)
1343 %{_libdir}/libdali-adaptor.so.tv
1344 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1347 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1348 # if wearable || "undefined"
1349 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1350 %files profile_wearable
1351 %manifest dali-adaptor.manifest
1352 %defattr(-,root,root,-)
1353 %{_libdir}/libdali-adaptor.so.wearable
1354 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1357 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1358 # if ivi ||"undefined"
1359 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1361 %manifest dali-adaptor.manifest
1362 %defattr(-,root,root,-)
1363 %{_libdir}/libdali-adaptor.so.ivi
1364 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1369 %defattr(-,root,root,-)
1370 %{dev_include_path}/dali/dali.h
1371 %{dev_include_path}/dali/public-api/*
1372 %{dev_include_path}/dali/devel-api/*
1373 %{dev_include_path}/dali/doc/*
1374 %{_libdir}/pkgconfig/dali-adaptor.pc
1376 %files integration-devel
1377 %defattr(-,root,root,-)
1378 %{dev_include_path}/dali/integration-api/adaptors/*
1379 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1381 %if !0%{?disable_cxx03_build}
1382 ################################################
1384 ################################################
1386 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1387 # if common ||"undefined"
1388 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1389 %files profile_common-cxx03
1390 # default .so files are housed in the main pkg.
1393 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1394 # if mobile || "undefined"
1395 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1396 %files profile_mobile-cxx03
1397 %manifest dali-adaptor.manifest
1398 %defattr(-,root,root,-)
1399 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1400 %{_libdir}/libdali-adaptor.so.0*mobile
1403 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1404 # if tv ||"undefined"
1405 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1406 %files profile_tv-cxx03
1407 %manifest dali-adaptor.manifest
1408 %defattr(-,root,root,-)
1409 %{_libdir}/libdali-adaptor-cxx03.so.tv
1410 %{_libdir}/libdali-adaptor.so.0*.tv
1413 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1414 # if wearable || "undefined"
1415 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1416 %files profile_wearable-cxx03
1417 %manifest dali-adaptor.manifest
1418 %defattr(-,root,root,-)
1419 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1420 %{_libdir}/libdali-adaptor.so.0*.wearable
1423 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1424 # if ivi ||"undefined"
1425 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1426 %files profile_ivi-cxx03
1427 %manifest dali-adaptor.manifest
1428 %defattr(-,root,root,-)
1429 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1430 %{_libdir}/libdali-adaptor.so.0*.ivi
1435 %defattr(-,root,root,-)
1436 %{dev_include_path}/dali/dali.h
1437 %{dev_include_path}/dali/public-api/*
1438 %{dev_include_path}/dali/devel-api/*
1439 %{dev_include_path}/dali/doc/*
1440 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1442 %files integration-devel-cxx03
1443 %defattr(-,root,root,-)
1444 %{dev_include_path}/dali/integration-api/adaptors/*
1445 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc