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 BuildRequires: pkgconfig(ecore-wayland)
101 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
102 BuildRequires: pkgconfig(libtbm)
104 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
105 %if !0%{?disable_cxx03_build}
106 BuildRequires: pkgconfig(tpkp-curl-deprecated)
108 BuildRequires: pkgconfig(tpkp-curl)
110 ####### BUILDING FOR X11#######
112 BuildRequires: pkgconfig(egl)
113 BuildRequires: pkgconfig(xext)
114 BuildRequires: pkgconfig(xi)
115 BuildRequires: pkgconfig(xfixes)
116 BuildRequires: pkgconfig(xdamage)
117 BuildRequires: pkgconfig(utilX)
121 %if 0%{?tizen_version_major} == 3
122 BuildRequires: pkgconfig(capi-appfw-application)
123 BuildRequires: pkgconfig(elementary)
125 BuildRequires: pkgconfig(appcore-ui)
126 BuildRequires: pkgconfig(appcore-widget-base)
127 BuildRequires: pkgconfig(bundle)
128 BuildRequires: pkgconfig(capi-appfw-app-common)
129 BuildRequires: pkgconfig(capi-appfw-app-control)
130 BuildRequires: pkgconfig(ecore-imf)
133 BuildRequires: pkgconfig(capi-system-system-settings)
135 # for feedback plugin
136 BuildRequires: pkgconfig(mm-sound)
137 %if 0%{?tizen_version_major} >= 3
138 BuildRequires: pkgconfig(feedback)
141 # for Web Engine Lite Plugin
142 %if 0%{?enable_web_engine_lite}
143 BuildRequires: lightweight-web-engine
144 BuildRequires: lightweight-web-engine-devel
148 Requires: %{name}-compat = %{version}-%{release}
149 Recommends: %{name}-profile_common = %{version}-%{release}
152 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
153 platform abstraction and application shell
155 %if !0%{?disable_cxx03_build}
157 Summary: The DALi Tizen Adaptor with cxx03 abi
158 Provides: %{name}-cxx03 = %{version}-%{release}
161 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
162 platform abstraction and application shell
165 ###########################################
166 # Dali adapter for profiles
167 ###########################################
169 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
170 # if mobile || "undefined"
171 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
172 %package profile_mobile
173 Summary: The DALi Tizen Adaptor for mobile
174 Provides: %{name}-compat = %{version}-%{release}
175 Conflicts: %{name}-profile_tv
176 Conflicts: %{name}-profile_wearable
177 Conflicts: %{name}-profile_ivi
178 Conflicts: %{name}-profile_common
179 %description profile_mobile
180 The DALi Tizen Adaptor for mobile.
183 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
184 # if tv ||"undefined"
185 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
187 Summary: The DALi Tizen Adaptor for tv
188 Provides: %{name}-compat = %{version}-%{release}
189 Conflicts: %{name}-profile_mobile
190 Conflicts: %{name}-profile_wearable
191 Conflicts: %{name}-profile_ivi
192 Conflicts: %{name}-profile_common
193 %description profile_tv
194 The DALi Tizen Adaptor for tv.
197 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
198 # if wearable || "undefined"
199 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
200 %package profile_wearable
201 Summary: The DALi Tizen Adaptor for wearable
202 Provides: %{name}-compat = %{version}-%{release}
203 Conflicts: %{name}-profile_mobile
204 Conflicts: %{name}-profile_tv
205 Conflicts: %{name}-profile_ivi
206 Conflicts: %{name}-profile_common
207 %description profile_wearable
208 The DALi Tizen Adaptor for wearable.
211 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
212 # if ivi ||"undefined"
213 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
215 Summary: The DALi Tizen Adaptor for ivi
216 Provides: %{name}-compat = %{version}-%{release}
217 Conflicts: %{name}-profile_mobile
218 Conflicts: %{name}-profile_wearable
219 Conflicts: %{name}-profile_tv
220 Conflicts: %{name}-profile_common
221 %description profile_ivi
222 The DALi Tizen Adaptor for ivi.
225 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
226 # if common ||"undefined"
227 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
228 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
229 %package profile_common
230 %define tizen_2_2_compatibility 0
231 Summary: The DALi Tizen Adaptor for common
232 Provides: %{name}-compat = %{version}-%{release}
233 Conflicts: %{name}-profile_mobile
234 Conflicts: %{name}-profile_wearable
235 Conflicts: %{name}-profile_tv
236 Conflicts: %{name}-profile_ivi
237 %description profile_common
238 The DALi Tizen Adaptor for common.
241 %if !0%{?disable_cxx03_build}
242 ###########################################
243 # Dali adapter for profiles for cxx03 ABI
244 ###########################################
246 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
247 # if mobile || "undefined"
248 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
249 %package profile_mobile-cxx03
250 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
251 Provides: %{name}-cxx03-compat = %{version}-%{release}
252 Conflicts: %{name}-profile_tv-cxx03
253 Conflicts: %{name}-profile_wearable-cxx03
254 Conflicts: %{name}-profile_ivi-cxx03
255 Conflicts: %{name}-profile_common-cxx03
256 %description profile_mobile-cxx03
257 The DALi Tizen Adaptor for mobile.
260 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
261 # if tv ||"undefined"
262 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
263 %package profile_tv-cxx03
264 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
265 Provides: %{name}-cxx03-compat = %{version}-%{release}
266 Conflicts: %{name}-profile_mobile-cxx03
267 Conflicts: %{name}-profile_wearable-cxx03
268 Conflicts: %{name}-profile_ivi-cxx03
269 Conflicts: %{name}-profile_common-cxx03
270 %description profile_tv-cxx03
271 The DALi Tizen Adaptor for tv.
274 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
275 # if wearable || "undefined"
276 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
277 %package profile_wearable-cxx03
278 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
279 Provides: %{name}-cxx03-compat = %{version}-%{release}
280 Conflicts: %{name}-profile_mobile-cxx03
281 Conflicts: %{name}-profile_tv-cxx03
282 Conflicts: %{name}-profile_ivi-cxx03
283 Conflicts: %{name}-profile_common-cxx03
284 %description profile_wearable-cxx03
285 The DALi Tizen Adaptor for wearable.
288 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
289 # if ivi ||"undefined"
290 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
291 %package profile_ivi-cxx03
292 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
293 Provides: %{name}-cxx03-compat = %{version}-%{release}
294 Conflicts: %{name}-profile_mobile-cxx03
295 Conflicts: %{name}-profile_wearable-cxx03
296 Conflicts: %{name}-profile_tv-cxx03
297 Conflicts: %{name}-profile_common-cxx03
298 %description profile_ivi-cxx03
299 The DALi Tizen Adaptor for ivi.
302 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
303 # if common ||"undefined"
304 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
305 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
306 %package profile_common-cxx03
307 %define tizen_2_2_compatibility 0
308 Summary: The DALi Tizen Adaptor for common with cxx03 abi
309 Provides: %{name}-cxx03-compat = %{version}-%{release}
310 Conflicts: %{name}-profile_mobile-cxx03
311 Conflicts: %{name}-profile_wearable-cxx03
312 Conflicts: %{name}-profile_tv-cxx03
313 Conflicts: %{name}-profile_ivi-cxx03
314 %description profile_common-cxx03
315 The DALi Tizen Adaptor for common.
319 ##############################
321 ##############################
323 Summary: Development components for the DALi Tizen Adaptor
324 Group: Development/Building
325 Requires: %{name} = %{version}-%{release}
326 Requires: %{name}-integration-devel = %{version}-%{release}
329 Development components for the DALi Tizen Adaptor - public headers and package configs
331 ##############################
333 ##############################
334 %package integration-devel
335 Summary: Integration development package for the Adaptor
336 Group: Development/Building
337 Requires: %{name} = %{version}-%{release}
339 %description integration-devel
340 Integration development package for the Adaptor - headers for integrating with an adaptor library.
342 %if !0%{?disable_cxx03_build}
343 ##############################
345 ##############################
347 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
348 Group: Development/Building
349 Requires: %{name}-cxx03 = %{version}-%{release}
350 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
352 %description devel-cxx03
353 Development components for the DALi Tizen Adaptor - public headers and package configs
355 ##############################
356 # integration-devel cxx03
357 ##############################
358 %package integration-devel-cxx03
359 Summary: Integration development package for the Adaptor with cxx03 abi
360 Group: Development/Building
361 Requires: %{name}-cxx03 = %{version}-%{release}
363 %description integration-devel-cxx03
364 Integration development package for the Adaptor - headers for integrating with an adaptor library.
367 ##############################
368 # Dali Feedback Plugin
369 ##############################
370 %package dali-feedback-plugin
371 Summary: Plugin to play haptic and audio feedback for Dali
372 Group: System/Libraries
373 Requires: %{name} = %{version}-%{release}
374 %description dali-feedback-plugin
375 Feedback plugin to play haptic and audio feedback for Dali
377 ##############################
378 # Dali WebEngineLite Plugin
379 ##############################
381 %package dali-web-engine-lite-plugin
382 Summary: Plugin WebEngineLite for Dali
383 Group: System/Libraries
384 %description dali-web-engine-lite-plugin
385 WebEngineLite plugin for Dali
387 %if !0%{?disable_cxx03_build}
388 ##############################
389 # Dali Feedback Plugin cxx03
390 ##############################
392 %package dali-feedback-plugin-cxx03
393 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
394 Group: System/Libraries
395 Requires: %{name}-cxx03 = %{version}-%{release}
396 %description dali-feedback-plugin-cxx03
397 Feedback plugin to play haptic and audio feedback for Dali
399 ##############################
400 # Dali WebEngineLite Plugin
401 ##############################
403 %package dali-web-engine-lite-plugin-cxx03
404 Summary: Plugin WebEngineLite for Dali with cxx03 abi
405 Group: System/Libraries
406 %description dali-web-engine-lite-plugin-cxx03
407 WebEngineLite plugin for Dali
410 ##############################
412 ##############################
416 #Use TZ_PATH when tizen version is 3.x or greater
418 %if 0%{?tizen_version_major} >= 3
419 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
420 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
421 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
422 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
423 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
424 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
426 %define dali_data_rw_dir /usr/share/dali/
427 %define dali_data_ro_dir /usr/share/dali/
428 %define font_preloaded_path /usr/share/fonts/
429 %define font_downloaded_path /opt/share/fonts/
430 %define font_application_path /usr/share/app_fonts/
431 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
434 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
435 %define dali_plugin_sound_files /plugins/sounds/
436 %define dev_include_path %{_includedir}
438 ##############################
440 ##############################
443 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
444 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
447 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
452 CXXFLAGS+=" -DWAYLAND"
453 configure_flags="--enable-wayland"
456 # Use this conditional when Tizen version is 4.x or greater
457 %if 0%{?tizen_version_major} >= 4
458 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
461 %if 0%{?tizen_2_2_compatibility}
462 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
463 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
467 cd %{_builddir}/%{name}-%{version}/build/tizen
470 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
471 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
472 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
473 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
474 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
475 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
476 %if 0%{?tizen_platform_config_supported}
477 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
480 # Default to GLES 2.0 if not specified.
481 %if 0%{?target_gles_version} == 0
482 %define target_gles_version 20
485 # Set up the build via configure.
486 #######################################################################
487 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
488 # if mobile || "undefined"
489 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
490 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
491 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
492 --enable-tizen-major-version=%{tizen_version_major} \
493 %if 0%{?tizen_version_major} >= 3
496 %if 0%{?tizen_2_2_compatibility}
497 --with-tizen-2-2-compatibility \
504 %if 0%{?enable_web_engine_lite}
505 --enable-web-engine-lite \
507 %if 0%{?enable_debug}
510 %if 0%{?enable_trace}
514 $configure_flags --libdir=%{_libdir} \
515 --enable-rename-so=no
518 make %{?jobs:-j%jobs}
520 pushd %{_builddir}/%{name}-%{version}/build/tizen
521 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
524 pushd %{buildroot}%{_libdir}
525 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
526 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
527 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
534 #######################################################################
535 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
536 # if tv ||"undefined"
537 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
538 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
539 --enable-shaderbincache=DISABLE --enable-profile=TV \
540 --enable-tizen-major-version=%{tizen_version_major} \
541 %if 0%{?tizen_version_major} >= 3
544 %if 0%{?tizen_2_2_compatibility}
545 --with-tizen-2-2-compatibility \
552 %if 0%{?enable_web_engine_lite}
553 --enable-web-engine-lite \
555 %if 0%{?enable_debug}
558 %if 0%{?enable_trace}
562 $configure_flags --libdir=%{_libdir} \
563 --enable-rename-so=no
566 make %{?jobs:-j%jobs}
568 pushd %{_builddir}/%{name}-%{version}/build/tizen
569 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
572 pushd %{buildroot}%{_libdir}
573 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
574 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
575 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
581 #######################################################################
582 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
583 # if wearable || "undefined"
584 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
585 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
586 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
587 --enable-tizen-major-version=%{tizen_version_major} \
588 %if 0%{?tizen_version_major} >= 3
591 %if 0%{?tizen_2_2_compatibility}
592 --with-tizen-2-2-compatibility \
599 %if 0%{?enable_web_engine_lite}
600 --enable-web-engine-lite \
602 %if 0%{?enable_debug}
605 %if 0%{?enable_trace}
609 $configure_flags --libdir=%{_libdir} \
610 --enable-rename-so=no
613 make %{?jobs:-j%jobs}
615 pushd %{_builddir}/%{name}-%{version}/build/tizen
616 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
619 pushd %{buildroot}%{_libdir}
620 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
621 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
622 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
628 #######################################################################
629 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
630 # if ivi ||"undefined"
631 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
632 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
633 --enable-shaderbincache=DISABLE --enable-profile=IVI \
634 --enable-tizen-major-version=%{tizen_version_major} \
635 %if 0%{?tizen_version_major} >= 3
638 %if 0%{?tizen_2_2_compatibility}
639 --with-tizen-2-2-compatibility \
646 %if 0%{?enable_web_engine_lite}
647 --enable-web-engine-lite \
649 %if 0%{?enable_debug}
652 %if 0%{?enable_trace}
656 $configure_flags --libdir=%{_libdir} \
657 --enable-rename-so=no
660 make %{?jobs:-j%jobs}
662 pushd %{_builddir}/%{name}-%{version}/build/tizen
663 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
666 pushd %{buildroot}%{_libdir}
667 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
668 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
670 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
676 #######################################################################
678 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
679 # if common ||"undefined"
680 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
681 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
682 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
683 --enable-tizen-major-version=%{tizen_version_major} \
684 %if 0%{?tizen_version_major} >= 3
687 %if 0%{?tizen_2_2_compatibility}
688 --with-tizen-2-2-compatibility \
695 %if 0%{?enable_web_engine_lite}
696 --enable-web-engine-lite \
698 %if 0%{?enable_debug}
701 %if 0%{?enable_trace}
705 $configure_flags --libdir=%{_libdir} \
706 --enable-rename-so=no
709 make %{?jobs:-j%jobs}
711 pushd %{_builddir}/%{name}-%{version}/build/tizen
712 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
715 pushd %{buildroot}%{_libdir}
716 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
717 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
719 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
726 %if !0%{?disable_cxx03_build}
727 #######################################################################
729 #######################################################################
731 # Set up the build via configure.
732 #######################################################################
733 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
734 # if mobile || "undefined"
735 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
737 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
738 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
739 --enable-tizen-major-version=%{tizen_version_major} \
740 %if 0%{?tizen_version_major} >= 3
743 --enable-cxx03-abi=yes \
744 %if 0%{?tizen_2_2_compatibility}
745 --with-tizen-2-2-compatibility \
752 %if 0%{?enable_web_engine_lite}
753 --enable-web-engine-lite \
755 %if 0%{?enable_debug}
758 %if 0%{?enable_trace}
762 $configure_flags --libdir=%{_libdir} \
763 --enable-rename-so=no
766 make %{?jobs:-j%jobs}
768 pushd %{_builddir}/%{name}-%{version}/build/tizen
769 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
772 pushd %{buildroot}%{_libdir}
773 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
774 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
781 #######################################################################
782 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
783 # if tv ||"undefined"
784 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
786 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
787 --enable-shaderbincache=DISABLE --enable-profile=TV \
788 --enable-tizen-major-version=%{tizen_version_major} \
789 %if 0%{?tizen_version_major} >= 3
792 --enable-cxx03-abi=yes \
793 %if 0%{?tizen_2_2_compatibility}
794 --with-tizen-2-2-compatibility \
801 %if 0%{?enable_web_engine_lite}
802 --enable-web-engine-lite \
804 %if 0%{?enable_debug}
807 %if 0%{?enable_trace}
811 $configure_flags --libdir=%{_libdir} \
812 --enable-rename-so=no
815 make %{?jobs:-j%jobs}
817 pushd %{_builddir}/%{name}-%{version}/build/tizen
818 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
821 pushd %{buildroot}%{_libdir}
822 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
823 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
829 #######################################################################
830 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
831 # if wearable || "undefined"
832 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
834 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
835 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
836 --enable-tizen-major-version=%{tizen_version_major} \
837 %if 0%{?tizen_version_major} >= 3
840 --enable-cxx03-abi=yes \
841 %if 0%{?tizen_2_2_compatibility}
842 --with-tizen-2-2-compatibility \
849 %if 0%{?enable_web_engine_lite}
850 --enable-web-engine-lite \
852 %if 0%{?enable_debug}
855 %if 0%{?enable_trace}
859 $configure_flags --libdir=%{_libdir} \
860 --enable-rename-so=no
863 make %{?jobs:-j%jobs}
865 pushd %{_builddir}/%{name}-%{version}/build/tizen
866 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
869 pushd %{buildroot}%{_libdir}
870 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
871 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
877 #######################################################################
878 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
879 # if ivi ||"undefined"
880 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
882 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
883 --enable-shaderbincache=DISABLE --enable-profile=IVI \
884 --enable-tizen-major-version=%{tizen_version_major} \
885 %if 0%{?tizen_version_major} >= 3
888 --enable-cxx03-abi=yes \
889 %if 0%{?tizen_2_2_compatibility}
890 --with-tizen-2-2-compatibility \
897 %if 0%{?enable_web_engine_lite}
898 --enable-web-engine-lite \
900 %if 0%{?enable_debug}
903 %if 0%{?enable_trace}
907 $configure_flags --libdir=%{_libdir} \
908 --enable-rename-so=no
911 make %{?jobs:-j%jobs}
913 pushd %{_builddir}/%{name}-%{version}/build/tizen
914 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
917 pushd %{buildroot}%{_libdir}
918 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
919 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
925 #######################################################################
927 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
928 # if common ||"undefined"
929 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
931 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
932 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
933 --enable-tizen-major-version=%{tizen_version_major} \
934 %if 0%{?tizen_version_major} >= 3
937 --enable-cxx03-abi=yes \
938 %if 0%{?tizen_2_2_compatibility}
939 --with-tizen-2-2-compatibility \
946 %if 0%{?enable_web_engine_lite}
947 --enable-web-engine-lite \
949 %if 0%{?enable_debug}
952 %if 0%{?enable_trace}
956 $configure_flags --libdir=%{_libdir} \
957 --enable-rename-so=no
960 make %{?jobs:-j%jobs}
965 ##############################
967 ##############################
971 pushd %{_builddir}/%{name}-%{version}/build/tizen
972 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
975 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
976 # !unified && (wearable || tv || ivi || mobile)
977 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
978 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
981 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
982 # wearable || tv || ivi || mobile || unified
983 %if "%{?profile}" != "common"
984 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
985 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
989 ################################################
991 ###############################################
992 pushd %{buildroot}%{_libdir}
994 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
995 # if common ||"undefined"
996 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
997 rm -rf libdali-adaptor*.so
998 %if !0%{?disable_cxx03_build}
999 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
1001 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
1004 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1005 # if wearable || "undefined"
1006 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1007 rm -rf libdali-adaptor*.so.wearable
1008 %if !0%{?disable_cxx03_build}
1009 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
1011 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
1014 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1015 # if tv ||"undefined"
1016 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1017 rm -rf libdali-adaptor*.so.tv
1018 %if !0%{?disable_cxx03_build}
1019 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
1021 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
1024 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1025 # if ivi ||"undefined"
1026 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1027 rm -rf libdali-adaptor*.so.ivi
1028 %if !0%{?disable_cxx03_build}
1029 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1031 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1034 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1035 # if mobile || "undefined"
1036 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1037 rm -rf libdali-adaptor*.so.mobile
1038 %if !0%{?disable_cxx03_build}
1039 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1041 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1045 ##############################
1047 # 1 - Pre Install new package
1048 # 2 - Install new package
1049 # 3 - Post install new package
1050 # 4 - Pre uninstall old package
1051 # 5 - Remove files not overwritten by new package
1052 # 6 - Post uninstall old package
1053 ##############################
1058 ##############################
1059 # Post Install new package
1060 ##############################
1065 ##############################
1066 # Pre Uninstall old package
1067 ##############################
1071 ##############################
1072 # Post Uninstall old package
1073 ##############################
1078 #%if %{with wayland}
1079 %post dali-web-engine-lite-plugin
1084 ##############################
1086 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1087 # if mobile || "undefined"
1088 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1089 %post profile_mobile
1091 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1096 %postun profile_mobile
1101 ##############################
1103 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1104 # if tv ||"undefined"
1105 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1108 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1118 ##############################
1120 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1121 # if wearable || "undefined"
1122 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1123 %post profile_wearable
1125 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1130 %postun profile_wearable
1135 ##############################
1137 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1138 # if ivi ||"undefined"
1139 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1142 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1152 %if !0%{?disable_cxx03_build}
1153 ##############################
1155 #############################
1156 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1157 # if mobile || "undefined"
1158 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1159 %post profile_mobile-cxx03
1161 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1166 %postun profile_mobile-cxx03
1171 ##############################
1173 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1174 # if tv ||"undefined"
1175 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1176 %post profile_tv-cxx03
1178 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1183 %postun profile_tv-cxx03
1188 ##############################
1190 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1191 # if wearable || "undefined"
1192 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1193 %post profile_wearable-cxx03
1195 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1200 %postun profile_wearable-cxx03
1205 ##############################
1207 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1208 # if ivi ||"undefined"
1209 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1210 %post profile_ivi-cxx03
1212 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1217 %postun profile_ivi-cxx03
1223 ##############################
1224 # Files in Binary Packages
1225 ##############################
1228 %manifest dali-adaptor.manifest
1229 %defattr(-,root,root,-)
1230 %defattr(-,app,app,-)
1231 %dir %{user_shader_cache_dir}
1235 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1236 # if common ||"undefined"
1237 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1238 %defattr(-,root,root,-)
1239 %{_libdir}/libdali-adaptor-cxx11.so.0*
1240 %{_libdir}/libdali-adaptor.so
1241 %exclude %{_libdir}/libdali-adap*.so*.mobile
1242 %exclude %{_libdir}/libdali-adap*.so*.wearable
1243 %exclude %{_libdir}/libdali-adap*.so*.tv
1244 %exclude %{_libdir}/libdali-adap*.so*.ivi
1247 %if !0%{?disable_cxx03_build}
1249 %manifest dali-adaptor.manifest
1250 %defattr(-,root,root,-)
1251 %defattr(-,app,app,-)
1252 %dir %{user_shader_cache_dir}
1255 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1256 # if common ||"undefined"
1257 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1258 %defattr(-,root,root,-)
1259 %{_libdir}/libdali-adaptor.so.0*
1260 %{_libdir}/libdali-adaptor-cxx03.so
1261 %exclude %{_libdir}/libdali-adap*.so*.mobile
1262 %exclude %{_libdir}/libdali-adap*.so*.wearable
1263 %exclude %{_libdir}/libdali-adap*.so*.tv
1264 %exclude %{_libdir}/libdali-adap*.so*.ivi
1267 %if 0%{?tizen_version_major} >= 3
1268 %if 0%{?enable_web_engine_lite}
1269 %files dali-web-engine-lite-plugin-cxx03
1270 %manifest dali-adaptor.manifest
1271 %defattr(-,root,root,-)
1272 %{_libdir}/libdali-web-engine-lite-plugin.so*
1276 %files dali-feedback-plugin-cxx03
1277 %manifest dali-adaptor.manifest
1278 %defattr(-,root,root,-)
1279 %{_libdir}/libdali-feedback-plugin.so*
1280 %{dali_plugin_sound_files}/*
1284 #################################################
1286 %if 0%{?tizen_version_major} >= 3
1287 %if 0%{?enable_web_engine_lite}
1288 %files dali-web-engine-lite-plugin
1289 %manifest dali-adaptor.manifest
1290 %defattr(-,root,root,-)
1291 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1295 %files dali-feedback-plugin
1296 %manifest dali-adaptor.manifest
1297 %defattr(-,root,root,-)
1298 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1299 %{dali_plugin_sound_files}/*
1302 #################################################
1304 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1305 # if common ||"undefined"
1306 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1307 %files profile_common
1308 # default .so files are housed in the main pkg.
1311 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1312 # if mobile || "undefined"
1313 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1314 %files profile_mobile
1315 %manifest dali-adaptor.manifest
1316 %defattr(-,root,root,-)
1317 %{_libdir}/libdali-adaptor.so.mobile
1318 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1321 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1322 # if tv ||"undefined"
1323 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1325 %manifest dali-adaptor.manifest
1326 %defattr(-,root,root,-)
1327 %{_libdir}/libdali-adaptor.so.tv
1328 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1331 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1332 # if wearable || "undefined"
1333 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1334 %files profile_wearable
1335 %manifest dali-adaptor.manifest
1336 %defattr(-,root,root,-)
1337 %{_libdir}/libdali-adaptor.so.wearable
1338 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1341 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1342 # if ivi ||"undefined"
1343 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1345 %manifest dali-adaptor.manifest
1346 %defattr(-,root,root,-)
1347 %{_libdir}/libdali-adaptor.so.ivi
1348 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1353 %defattr(-,root,root,-)
1354 %{dev_include_path}/dali/dali.h
1355 %{dev_include_path}/dali/public-api/*
1356 %{dev_include_path}/dali/devel-api/*
1357 %{dev_include_path}/dali/doc/*
1358 %{_libdir}/pkgconfig/dali-adaptor.pc
1360 %files integration-devel
1361 %defattr(-,root,root,-)
1362 %{dev_include_path}/dali/integration-api/adaptors/*
1363 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1365 %if !0%{?disable_cxx03_build}
1366 ################################################
1368 ################################################
1370 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1371 # if common ||"undefined"
1372 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1373 %files profile_common-cxx03
1374 # default .so files are housed in the main pkg.
1377 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1378 # if mobile || "undefined"
1379 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1380 %files profile_mobile-cxx03
1381 %manifest dali-adaptor.manifest
1382 %defattr(-,root,root,-)
1383 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1384 %{_libdir}/libdali-adaptor.so.0*mobile
1387 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1388 # if tv ||"undefined"
1389 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1390 %files profile_tv-cxx03
1391 %manifest dali-adaptor.manifest
1392 %defattr(-,root,root,-)
1393 %{_libdir}/libdali-adaptor-cxx03.so.tv
1394 %{_libdir}/libdali-adaptor.so.0*.tv
1397 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1398 # if wearable || "undefined"
1399 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1400 %files profile_wearable-cxx03
1401 %manifest dali-adaptor.manifest
1402 %defattr(-,root,root,-)
1403 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1404 %{_libdir}/libdali-adaptor.so.0*.wearable
1407 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1408 # if ivi ||"undefined"
1409 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1410 %files profile_ivi-cxx03
1411 %manifest dali-adaptor.manifest
1412 %defattr(-,root,root,-)
1413 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1414 %{_libdir}/libdali-adaptor.so.0*.ivi
1419 %defattr(-,root,root,-)
1420 %{dev_include_path}/dali/dali.h
1421 %{dev_include_path}/dali/public-api/*
1422 %{dev_include_path}/dali/devel-api/*
1423 %{dev_include_path}/dali/doc/*
1424 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1426 %files integration-devel-cxx03
1427 %defattr(-,root,root,-)
1428 %{dev_include_path}/dali/integration-api/adaptors/*
1429 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc