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)
61 %if !0%{?disable_cxx03_build}
62 BuildRequires: dali-devel-cxx03
63 BuildRequires: dali-integration-devel-cxx03
65 BuildRequires: dali-devel
66 BuildRequires: dali-integration-devel
68 BuildRequires: pkgconfig
70 BuildRequires: giflib-devel
71 BuildRequires: pkgconfig(fontconfig)
72 BuildRequires: libjpeg-turbo-devel
73 BuildRequires: pkgconfig(vconf)
74 BuildRequires: tts-devel
75 BuildRequires: pkgconfig(dlog)
76 BuildRequires: libdrm-devel
77 BuildRequires: pkgconfig(libexif)
78 BuildRequires: pkgconfig(libpng)
79 BuildRequires: pkgconfig(egl)
80 BuildRequires: libcurl-devel
81 BuildRequires: pkgconfig(harfbuzz)
82 BuildRequires: fribidi-devel
84 BuildRequires: pkgconfig(capi-system-info)
85 BuildRequires: pkgconfig(capi-system-sensor)
89 ####### BUILDING FOR WAYLAND #######
90 BuildRequires: pkgconfig(wayland-egl)
91 BuildRequires: pkgconfig(wayland-client)
92 BuildRequires: wayland-devel
93 BuildRequires: wayland-extension-client-devel
95 # dali-adaptor uses ecore mainloop
96 BuildRequires: pkgconfig(ecore-wayland)
98 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
99 BuildRequires: pkgconfig(libtbm)
101 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
102 %if !0%{?disable_cxx03_build}
103 BuildRequires: pkgconfig(tpkp-curl-deprecated)
105 BuildRequires: pkgconfig(tpkp-curl)
107 ####### BUILDING FOR X11#######
109 BuildRequires: pkgconfig(egl)
110 BuildRequires: pkgconfig(xext)
111 BuildRequires: pkgconfig(xi)
112 BuildRequires: pkgconfig(xfixes)
113 BuildRequires: pkgconfig(xdamage)
114 BuildRequires: pkgconfig(utilX)
118 BuildRequires: pkgconfig(evas)
120 %if 0%{?tizen_version_major} == 3
121 BuildRequires: pkgconfig(capi-appfw-application)
122 BuildRequires: pkgconfig(elementary)
124 BuildRequires: pkgconfig(bundle)
125 BuildRequires: pkgconfig(appcore-ui)
126 BuildRequires: pkgconfig(appcore-multiwindow)
127 BuildRequires: pkgconfig(capi-appfw-app-common)
128 BuildRequires: pkgconfig(capi-appfw-app-control)
129 BuildRequires: pkgconfig(screen_connector_provider)
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 videoplayer Plugin
142 BuildRequires: pkgconfig(capi-media-player)
144 # for Web Engine Lite Plugin
145 %if 0%{?enable_web_engine_lite}
146 BuildRequires: lightweight-web-engine
150 Requires: %{name}-compat = %{version}-%{release}
151 Recommends: %{name}-profile_common = %{version}-%{release}
154 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
155 platform abstraction and application shell
157 %if !0%{?disable_cxx03_build}
159 Summary: The DALi Tizen Adaptor with cxx03 abi
160 Provides: %{name}-cxx03 = %{version}-%{release}
163 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
164 platform abstraction and application shell
167 ###########################################
168 # Dali adapter for profiles
169 ###########################################
171 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
172 # if mobile || "undefined"
173 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
174 %package profile_mobile
175 Summary: The DALi Tizen Adaptor for mobile
176 Provides: %{name}-compat = %{version}-%{release}
177 Conflicts: %{name}-profile_tv
178 Conflicts: %{name}-profile_wearable
179 Conflicts: %{name}-profile_ivi
180 Conflicts: %{name}-profile_common
181 %description profile_mobile
182 The DALi Tizen Adaptor for mobile.
185 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
186 # if tv ||"undefined"
187 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
189 Summary: The DALi Tizen Adaptor for tv
190 Provides: %{name}-compat = %{version}-%{release}
191 Conflicts: %{name}-profile_mobile
192 Conflicts: %{name}-profile_wearable
193 Conflicts: %{name}-profile_ivi
194 Conflicts: %{name}-profile_common
195 %description profile_tv
196 The DALi Tizen Adaptor for tv.
199 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
200 # if wearable || "undefined"
201 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
202 %package profile_wearable
203 Summary: The DALi Tizen Adaptor for wearable
204 Provides: %{name}-compat = %{version}-%{release}
205 Conflicts: %{name}-profile_mobile
206 Conflicts: %{name}-profile_tv
207 Conflicts: %{name}-profile_ivi
208 Conflicts: %{name}-profile_common
209 %description profile_wearable
210 The DALi Tizen Adaptor for wearable.
213 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
214 # if ivi ||"undefined"
215 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
217 Summary: The DALi Tizen Adaptor for ivi
218 Provides: %{name}-compat = %{version}-%{release}
219 Conflicts: %{name}-profile_mobile
220 Conflicts: %{name}-profile_wearable
221 Conflicts: %{name}-profile_tv
222 Conflicts: %{name}-profile_common
223 %description profile_ivi
224 The DALi Tizen Adaptor for ivi.
227 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
228 # if common ||"undefined"
229 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
230 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
231 %package profile_common
232 %define tizen_2_2_compatibility 0
233 Summary: The DALi Tizen Adaptor for common
234 Provides: %{name}-compat = %{version}-%{release}
235 Conflicts: %{name}-profile_mobile
236 Conflicts: %{name}-profile_wearable
237 Conflicts: %{name}-profile_tv
238 Conflicts: %{name}-profile_ivi
239 %description profile_common
240 The DALi Tizen Adaptor for common.
243 %if !0%{?disable_cxx03_build}
244 ###########################################
245 # Dali adapter for profiles for cxx03 ABI
246 ###########################################
248 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
249 # if mobile || "undefined"
250 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
251 %package profile_mobile-cxx03
252 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
253 Provides: %{name}-cxx03-compat = %{version}-%{release}
254 Conflicts: %{name}-profile_tv-cxx03
255 Conflicts: %{name}-profile_wearable-cxx03
256 Conflicts: %{name}-profile_ivi-cxx03
257 Conflicts: %{name}-profile_common-cxx03
258 %description profile_mobile-cxx03
259 The DALi Tizen Adaptor for mobile.
262 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
263 # if tv ||"undefined"
264 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
265 %package profile_tv-cxx03
266 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
267 Provides: %{name}-cxx03-compat = %{version}-%{release}
268 Conflicts: %{name}-profile_mobile-cxx03
269 Conflicts: %{name}-profile_wearable-cxx03
270 Conflicts: %{name}-profile_ivi-cxx03
271 Conflicts: %{name}-profile_common-cxx03
272 %description profile_tv-cxx03
273 The DALi Tizen Adaptor for tv.
276 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
277 # if wearable || "undefined"
278 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
279 %package profile_wearable-cxx03
280 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
281 Provides: %{name}-cxx03-compat = %{version}-%{release}
282 Conflicts: %{name}-profile_mobile-cxx03
283 Conflicts: %{name}-profile_tv-cxx03
284 Conflicts: %{name}-profile_ivi-cxx03
285 Conflicts: %{name}-profile_common-cxx03
286 %description profile_wearable-cxx03
287 The DALi Tizen Adaptor for wearable.
290 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
291 # if ivi ||"undefined"
292 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
293 %package profile_ivi-cxx03
294 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
295 Provides: %{name}-cxx03-compat = %{version}-%{release}
296 Conflicts: %{name}-profile_mobile-cxx03
297 Conflicts: %{name}-profile_wearable-cxx03
298 Conflicts: %{name}-profile_tv-cxx03
299 Conflicts: %{name}-profile_common-cxx03
300 %description profile_ivi-cxx03
301 The DALi Tizen Adaptor for ivi.
304 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
305 # if common ||"undefined"
306 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
307 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
308 %package profile_common-cxx03
309 %define tizen_2_2_compatibility 0
310 Summary: The DALi Tizen Adaptor for common with cxx03 abi
311 Provides: %{name}-cxx03-compat = %{version}-%{release}
312 Conflicts: %{name}-profile_mobile-cxx03
313 Conflicts: %{name}-profile_wearable-cxx03
314 Conflicts: %{name}-profile_tv-cxx03
315 Conflicts: %{name}-profile_ivi-cxx03
316 %description profile_common-cxx03
317 The DALi Tizen Adaptor for common.
321 ##############################
323 ##############################
325 Summary: Development components for the DALi Tizen Adaptor
326 Group: Development/Building
327 Requires: %{name} = %{version}-%{release}
328 Requires: %{name}-integration-devel = %{version}-%{release}
331 Development components for the DALi Tizen Adaptor - public headers and package configs
333 ##############################
335 ##############################
336 %package integration-devel
337 Summary: Integration development package for the Adaptor
338 Group: Development/Building
339 Requires: %{name} = %{version}-%{release}
341 %description integration-devel
342 Integration development package for the Adaptor - headers for integrating with an adaptor library.
344 %if !0%{?disable_cxx03_build}
345 ##############################
347 ##############################
349 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
350 Group: Development/Building
351 Requires: %{name}-cxx03 = %{version}-%{release}
352 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
354 %description devel-cxx03
355 Development components for the DALi Tizen Adaptor - public headers and package configs
357 ##############################
358 # integration-devel cxx03
359 ##############################
360 %package integration-devel-cxx03
361 Summary: Integration development package for the Adaptor with cxx03 abi
362 Group: Development/Building
363 Requires: %{name}-cxx03 = %{version}-%{release}
365 %description integration-devel-cxx03
366 Integration development package for the Adaptor - headers for integrating with an adaptor library.
369 ##############################
370 # Dali Feedback Plugin
371 ##############################
372 %package dali-feedback-plugin
373 Summary: Plugin to play haptic and audio feedback for Dali
374 Group: System/Libraries
375 Requires: %{name} = %{version}-%{release}
376 %description dali-feedback-plugin
377 Feedback plugin to play haptic and audio feedback for Dali
379 ##############################
380 # Dali VideoPlayer Plugin
381 ##############################
384 %package dali-video-player-plugin
385 Summary: Plugin to play a video file for Dali
386 Group: System/Libraries
387 %description dali-video-player-plugin
388 VideoPlayer plugin to play a video file for Dali
391 ##############################
392 # Dali WebEngineLite Plugin
393 ##############################
395 %package dali-web-engine-lite-plugin
396 Summary: Plugin WebEngineLite for Dali
397 Group: System/Libraries
398 %description dali-web-engine-lite-plugin
399 WebEngineLite plugin for Dali
401 %if !0%{?disable_cxx03_build}
402 ##############################
403 # Dali Feedback Plugin cxx03
404 ##############################
406 %package dali-feedback-plugin-cxx03
407 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
408 Group: System/Libraries
409 Requires: %{name}-cxx03 = %{version}-%{release}
410 %description dali-feedback-plugin-cxx03
411 Feedback plugin to play haptic and audio feedback for Dali
413 ##############################
414 # Dali VideoPlayer Plugin
415 ##############################
418 %package dali-video-player-plugin-cxx03
419 Summary: Plugin to play a video file for Dali with cxx03 abi
420 Group: System/Libraries
421 %description dali-video-player-plugin-cxx03
422 VideoPlayer plugin to play a video file for Dali
425 ##############################
426 # Dali WebEngineLite Plugin
427 ##############################
429 %package dali-web-engine-lite-plugin-cxx03
430 Summary: Plugin WebEngineLite for Dali with cxx03 abi
431 Group: System/Libraries
432 %description dali-web-engine-lite-plugin-cxx03
433 WebEngineLite plugin for Dali
436 ##############################
438 ##############################
442 #Use TZ_PATH when tizen version is 3.x or greater
444 %if 0%{?tizen_version_major} >= 3
445 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
446 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
447 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
448 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
449 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
450 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
452 %define dali_data_rw_dir /usr/share/dali/
453 %define dali_data_ro_dir /usr/share/dali/
454 %define font_preloaded_path /usr/share/fonts/
455 %define font_downloaded_path /opt/share/fonts/
456 %define font_application_path /usr/share/app_fonts/
457 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
460 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
461 %define dali_plugin_sound_files /plugins/sounds/
462 %define dev_include_path %{_includedir}
464 ##############################
466 ##############################
469 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
470 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
473 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
478 CXXFLAGS+=" -DWAYLAND"
479 configure_flags="--enable-wayland"
482 # Use this conditional when Tizen version is 4.x or greater
483 %if 0%{?tizen_version_major} >= 4
484 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
487 %if 0%{?tizen_2_2_compatibility}
488 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
489 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
493 cd %{_builddir}/%{name}-%{version}/build/tizen
496 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
497 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
498 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
499 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
500 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
501 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
502 %if 0%{?tizen_platform_config_supported}
503 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
506 # Default to GLES 2.0 if not specified.
507 %if 0%{?target_gles_version} == 0
508 %define target_gles_version 20
511 # Set up the build via configure.
512 #######################################################################
513 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
514 # if mobile || "undefined"
515 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
516 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
517 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
518 --enable-tizen-major-version=%{tizen_version_major} \
519 %if 0%{?tizen_version_major} >= 3
522 --enable-videoplayer \
523 %if 0%{?tizen_2_2_compatibility}
524 --with-tizen-2-2-compatibility \
531 %if 0%{?enable_web_engine_lite}
532 --enable-web-engine-lite \
534 %if 0%{?enable_debug}
538 $configure_flags --libdir=%{_libdir} \
539 --enable-rename-so=no
542 make %{?jobs:-j%jobs}
544 pushd %{_builddir}/%{name}-%{version}/build/tizen
545 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
548 pushd %{buildroot}%{_libdir}
549 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
550 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
551 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
558 #######################################################################
559 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
560 # if tv ||"undefined"
561 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
562 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
563 --enable-shaderbincache=DISABLE --enable-profile=TV \
564 --enable-tizen-major-version=%{tizen_version_major} \
565 %if 0%{?tizen_version_major} >= 3
568 --enable-videoplayer \
569 %if 0%{?tizen_2_2_compatibility}
570 --with-tizen-2-2-compatibility \
577 %if 0%{?enable_web_engine_lite}
578 --enable-web-engine-lite \
580 %if 0%{?enable_debug}
584 $configure_flags --libdir=%{_libdir} \
585 --enable-rename-so=no
588 make %{?jobs:-j%jobs}
590 pushd %{_builddir}/%{name}-%{version}/build/tizen
591 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
594 pushd %{buildroot}%{_libdir}
595 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
596 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
597 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
603 #######################################################################
604 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
605 # if wearable || "undefined"
606 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
607 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
608 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
609 --enable-tizen-major-version=%{tizen_version_major} \
610 %if 0%{?tizen_version_major} >= 3
613 --enable-videoplayer \
614 %if 0%{?tizen_2_2_compatibility}
615 --with-tizen-2-2-compatibility \
622 %if 0%{?enable_web_engine_lite}
623 --enable-web-engine-lite \
625 %if 0%{?enable_debug}
629 $configure_flags --libdir=%{_libdir} \
630 --enable-rename-so=no
633 make %{?jobs:-j%jobs}
635 pushd %{_builddir}/%{name}-%{version}/build/tizen
636 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
639 pushd %{buildroot}%{_libdir}
640 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
641 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
642 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
648 #######################################################################
649 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
650 # if ivi ||"undefined"
651 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
652 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
653 --enable-shaderbincache=DISABLE --enable-profile=IVI \
654 --enable-tizen-major-version=%{tizen_version_major} \
655 %if 0%{?tizen_version_major} >= 3
658 --enable-videoplayer \
659 %if 0%{?tizen_2_2_compatibility}
660 --with-tizen-2-2-compatibility \
667 %if 0%{?enable_web_engine_lite}
668 --enable-web-engine-lite \
670 %if 0%{?enable_debug}
674 $configure_flags --libdir=%{_libdir} \
675 --enable-rename-so=no
678 make %{?jobs:-j%jobs}
680 pushd %{_builddir}/%{name}-%{version}/build/tizen
681 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
684 pushd %{buildroot}%{_libdir}
685 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
686 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
688 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
694 #######################################################################
695 # common ( build dali_videoplayer_plugin for common uses )
696 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
697 # if common ||"undefined"
698 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
699 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
700 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
701 --enable-tizen-major-version=%{tizen_version_major} \
702 %if 0%{?tizen_version_major} >= 3
705 --enable-videoplayer \
706 %if 0%{?tizen_2_2_compatibility}
707 --with-tizen-2-2-compatibility \
714 %if 0%{?enable_web_engine_lite}
715 --enable-web-engine-lite \
717 %if 0%{?enable_debug}
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-videoplayer \
760 --enable-cxx03-abi=yes \
761 %if 0%{?tizen_2_2_compatibility}
762 --with-tizen-2-2-compatibility \
769 %if 0%{?enable_web_engine_lite}
770 --enable-web-engine-lite \
772 %if 0%{?enable_debug}
776 $configure_flags --libdir=%{_libdir} \
777 --enable-rename-so=no
780 make %{?jobs:-j%jobs}
782 pushd %{_builddir}/%{name}-%{version}/build/tizen
783 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
786 pushd %{buildroot}%{_libdir}
787 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
788 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
795 #######################################################################
796 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
797 # if tv ||"undefined"
798 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
800 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
801 --enable-shaderbincache=DISABLE --enable-profile=TV \
802 --enable-tizen-major-version=%{tizen_version_major} \
803 %if 0%{?tizen_version_major} >= 3
806 --enable-videoplayer \
807 --enable-cxx03-abi=yes \
808 %if 0%{?tizen_2_2_compatibility}
809 --with-tizen-2-2-compatibility \
816 %if 0%{?enable_web_engine_lite}
817 --enable-web-engine-lite \
819 %if 0%{?enable_debug}
823 $configure_flags --libdir=%{_libdir} \
824 --enable-rename-so=no
827 make %{?jobs:-j%jobs}
829 pushd %{_builddir}/%{name}-%{version}/build/tizen
830 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
833 pushd %{buildroot}%{_libdir}
834 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
835 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
841 #######################################################################
842 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
843 # if wearable || "undefined"
844 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
846 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
847 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
848 --enable-tizen-major-version=%{tizen_version_major} \
849 %if 0%{?tizen_version_major} >= 3
852 --enable-videoplayer \
853 --enable-cxx03-abi=yes \
854 %if 0%{?tizen_2_2_compatibility}
855 --with-tizen-2-2-compatibility \
862 %if 0%{?enable_web_engine_lite}
863 --enable-web-engine-lite \
865 %if 0%{?enable_debug}
869 $configure_flags --libdir=%{_libdir} \
870 --enable-rename-so=no
873 make %{?jobs:-j%jobs}
875 pushd %{_builddir}/%{name}-%{version}/build/tizen
876 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
879 pushd %{buildroot}%{_libdir}
880 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
881 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
887 #######################################################################
888 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
889 # if ivi ||"undefined"
890 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
892 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
893 --enable-shaderbincache=DISABLE --enable-profile=IVI \
894 --enable-tizen-major-version=%{tizen_version_major} \
895 %if 0%{?tizen_version_major} >= 3
898 --enable-videoplayer \
899 --enable-cxx03-abi=yes \
900 %if 0%{?tizen_2_2_compatibility}
901 --with-tizen-2-2-compatibility \
908 %if 0%{?enable_web_engine_lite}
909 --enable-web-engine-lite \
911 %if 0%{?enable_debug}
915 $configure_flags --libdir=%{_libdir} \
916 --enable-rename-so=no
919 make %{?jobs:-j%jobs}
921 pushd %{_builddir}/%{name}-%{version}/build/tizen
922 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
925 pushd %{buildroot}%{_libdir}
926 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
927 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
933 #######################################################################
934 # common ( build dali_videoplayer_plugin for common uses )
935 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
936 # if common ||"undefined"
937 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
939 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
940 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
941 --enable-tizen-major-version=%{tizen_version_major} \
942 %if 0%{?tizen_version_major} >= 3
945 --enable-videoplayer \
946 --enable-cxx03-abi=yes \
947 %if 0%{?tizen_2_2_compatibility}
948 --with-tizen-2-2-compatibility \
955 %if 0%{?enable_web_engine_lite}
956 --enable-web-engine-lite \
958 %if 0%{?enable_debug}
962 $configure_flags --libdir=%{_libdir} \
963 --enable-rename-so=no
966 make %{?jobs:-j%jobs}
971 ##############################
973 ##############################
977 pushd %{_builddir}/%{name}-%{version}/build/tizen
978 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
981 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
982 # !unified && (wearable || tv || ivi || mobile)
983 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
984 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
987 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
988 # wearable || tv || ivi || mobile || unified
989 %if "%{?profile}" != "common"
990 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
991 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
995 ################################################
997 ###############################################
998 pushd %{buildroot}%{_libdir}
1000 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1001 # if common ||"undefined"
1002 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1003 rm -rf libdali-adaptor*.so
1004 %if !0%{?disable_cxx03_build}
1005 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
1007 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
1010 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1011 # if wearable || "undefined"
1012 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1013 rm -rf libdali-adaptor*.so.wearable
1014 %if !0%{?disable_cxx03_build}
1015 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
1017 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
1020 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1021 # if tv ||"undefined"
1022 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1023 rm -rf libdali-adaptor*.so.tv
1024 %if !0%{?disable_cxx03_build}
1025 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
1027 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
1030 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1031 # if ivi ||"undefined"
1032 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1033 rm -rf libdali-adaptor*.so.ivi
1034 %if !0%{?disable_cxx03_build}
1035 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1037 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1040 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1041 # if mobile || "undefined"
1042 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1043 rm -rf libdali-adaptor*.so.mobile
1044 %if !0%{?disable_cxx03_build}
1045 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1047 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1051 ##############################
1053 # 1 - Pre Install new package
1054 # 2 - Install new package
1055 # 3 - Post install new package
1056 # 4 - Pre uninstall old package
1057 # 5 - Remove files not overwritten by new package
1058 # 6 - Post uninstall old package
1059 ##############################
1064 ##############################
1065 # Post Install new package
1066 ##############################
1071 ##############################
1072 # Pre Uninstall old package
1073 ##############################
1077 ##############################
1078 # Post Uninstall old package
1079 ##############################
1085 %post dali-video-player-plugin
1091 %postun dali-video-player-plugin
1096 #%if %{with wayland}
1097 %post dali-web-engine-lite-plugin
1102 ##############################
1104 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1105 # if mobile || "undefined"
1106 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1107 %post profile_mobile
1109 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1114 %postun profile_mobile
1119 ##############################
1121 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1122 # if tv ||"undefined"
1123 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1126 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1136 ##############################
1138 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1139 # if wearable || "undefined"
1140 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1141 %post profile_wearable
1143 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1148 %postun profile_wearable
1153 ##############################
1155 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1156 # if ivi ||"undefined"
1157 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1160 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1170 %if !0%{?disable_cxx03_build}
1171 ##############################
1173 #############################
1174 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1175 # if mobile || "undefined"
1176 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1177 %post profile_mobile-cxx03
1179 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1184 %postun profile_mobile-cxx03
1189 ##############################
1191 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1192 # if tv ||"undefined"
1193 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1194 %post profile_tv-cxx03
1196 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1201 %postun profile_tv-cxx03
1206 ##############################
1208 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1209 # if wearable || "undefined"
1210 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1211 %post profile_wearable-cxx03
1213 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1218 %postun profile_wearable-cxx03
1223 ##############################
1225 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1226 # if ivi ||"undefined"
1227 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1228 %post profile_ivi-cxx03
1230 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1235 %postun profile_ivi-cxx03
1241 ##############################
1242 # Files in Binary Packages
1243 ##############################
1246 %manifest dali-adaptor.manifest
1247 %defattr(-,root,root,-)
1248 %defattr(-,app,app,-)
1249 %dir %{user_shader_cache_dir}
1253 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1254 # if common ||"undefined"
1255 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1256 %defattr(-,root,root,-)
1257 %{_libdir}/libdali-adaptor-cxx11.so.0*
1258 %{_libdir}/libdali-adaptor.so
1259 %exclude %{_libdir}/libdali-adap*.so*.mobile
1260 %exclude %{_libdir}/libdali-adap*.so*.wearable
1261 %exclude %{_libdir}/libdali-adap*.so*.tv
1262 %exclude %{_libdir}/libdali-adap*.so*.ivi
1265 %if !0%{?disable_cxx03_build}
1267 %manifest dali-adaptor.manifest
1268 %defattr(-,root,root,-)
1269 %defattr(-,app,app,-)
1270 %dir %{user_shader_cache_dir}
1273 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1274 # if common ||"undefined"
1275 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1276 %defattr(-,root,root,-)
1277 %{_libdir}/libdali-adaptor.so.0*
1278 %{_libdir}/libdali-adaptor-cxx03.so
1279 %exclude %{_libdir}/libdali-adap*.so*.mobile
1280 %exclude %{_libdir}/libdali-adap*.so*.wearable
1281 %exclude %{_libdir}/libdali-adap*.so*.tv
1282 %exclude %{_libdir}/libdali-adap*.so*.ivi
1286 %files dali-video-player-plugin-cxx03
1287 %manifest dali-adaptor.manifest
1288 %defattr(-,root,root,-)
1289 %{_libdir}/libdali-video-player-plugin.so*
1293 %if 0%{?tizen_version_major} >= 3
1294 %if 0%{?enable_web_engine_lite}
1295 %files dali-web-engine-lite-plugin-cxx03
1296 %manifest dali-adaptor.manifest
1297 %defattr(-,root,root,-)
1298 %{_libdir}/libdali-web-engine-lite-plugin.so*
1302 %files dali-feedback-plugin-cxx03
1303 %manifest dali-adaptor.manifest
1304 %defattr(-,root,root,-)
1305 %{_libdir}/libdali-feedback-plugin.so*
1306 %{dali_plugin_sound_files}/*
1310 #################################################
1313 %files dali-video-player-plugin
1314 %manifest dali-adaptor.manifest
1315 %defattr(-,root,root,-)
1316 %{_libdir}/libdali-video-player-plugin-cxx11.so*
1320 %if 0%{?tizen_version_major} >= 3
1321 %if 0%{?enable_web_engine_lite}
1322 %files dali-web-engine-lite-plugin
1323 %manifest dali-adaptor.manifest
1324 %defattr(-,root,root,-)
1325 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1329 %files dali-feedback-plugin
1330 %manifest dali-adaptor.manifest
1331 %defattr(-,root,root,-)
1332 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1333 %{dali_plugin_sound_files}/*
1336 #################################################
1338 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1339 # if common ||"undefined"
1340 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1341 %files profile_common
1342 # default .so files are housed in the main pkg.
1345 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1346 # if mobile || "undefined"
1347 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1348 %files profile_mobile
1349 %manifest dali-adaptor.manifest
1350 %defattr(-,root,root,-)
1351 %{_libdir}/libdali-adaptor.so.mobile
1352 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1355 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1356 # if tv ||"undefined"
1357 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1359 %manifest dali-adaptor.manifest
1360 %defattr(-,root,root,-)
1361 %{_libdir}/libdali-adaptor.so.tv
1362 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1365 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1366 # if wearable || "undefined"
1367 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1368 %files profile_wearable
1369 %manifest dali-adaptor.manifest
1370 %defattr(-,root,root,-)
1371 %{_libdir}/libdali-adaptor.so.wearable
1372 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1375 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1376 # if ivi ||"undefined"
1377 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1379 %manifest dali-adaptor.manifest
1380 %defattr(-,root,root,-)
1381 %{_libdir}/libdali-adaptor.so.ivi
1382 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1387 %defattr(-,root,root,-)
1388 %{dev_include_path}/dali/dali.h
1389 %{dev_include_path}/dali/public-api/*
1390 %{dev_include_path}/dali/devel-api/*
1391 %{dev_include_path}/dali/doc/*
1392 %{_libdir}/pkgconfig/dali-adaptor.pc
1394 %files integration-devel
1395 %defattr(-,root,root,-)
1396 %{dev_include_path}/dali/integration-api/adaptors/*
1397 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1399 %if !0%{?disable_cxx03_build}
1400 ################################################
1402 ################################################
1404 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1405 # if common ||"undefined"
1406 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1407 %files profile_common-cxx03
1408 # default .so files are housed in the main pkg.
1411 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1412 # if mobile || "undefined"
1413 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1414 %files profile_mobile-cxx03
1415 %manifest dali-adaptor.manifest
1416 %defattr(-,root,root,-)
1417 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1418 %{_libdir}/libdali-adaptor.so.0*mobile
1421 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1422 # if tv ||"undefined"
1423 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1424 %files profile_tv-cxx03
1425 %manifest dali-adaptor.manifest
1426 %defattr(-,root,root,-)
1427 %{_libdir}/libdali-adaptor-cxx03.so.tv
1428 %{_libdir}/libdali-adaptor.so.0*.tv
1431 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1432 # if wearable || "undefined"
1433 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1434 %files profile_wearable-cxx03
1435 %manifest dali-adaptor.manifest
1436 %defattr(-,root,root,-)
1437 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1438 %{_libdir}/libdali-adaptor.so.0*.wearable
1441 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1442 # if ivi ||"undefined"
1443 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1444 %files profile_ivi-cxx03
1445 %manifest dali-adaptor.manifest
1446 %defattr(-,root,root,-)
1447 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1448 %{_libdir}/libdali-adaptor.so.0*.ivi
1453 %defattr(-,root,root,-)
1454 %{dev_include_path}/dali/dali.h
1455 %{dev_include_path}/dali/public-api/*
1456 %{dev_include_path}/dali/devel-api/*
1457 %{dev_include_path}/dali/doc/*
1458 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1460 %files integration-devel-cxx03
1461 %defattr(-,root,root,-)
1462 %{dev_include_path}/dali/integration-api/adaptors/*
1463 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc