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
147 BuildRequires: lightweight-web-engine-devel
151 Requires: %{name}-compat = %{version}-%{release}
152 Recommends: %{name}-profile_common = %{version}-%{release}
155 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
156 platform abstraction and application shell
158 %if !0%{?disable_cxx03_build}
160 Summary: The DALi Tizen Adaptor with cxx03 abi
161 Provides: %{name}-cxx03 = %{version}-%{release}
164 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
165 platform abstraction and application shell
168 ###########################################
169 # Dali adapter for profiles
170 ###########################################
172 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
173 # if mobile || "undefined"
174 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
175 %package profile_mobile
176 Summary: The DALi Tizen Adaptor for mobile
177 Provides: %{name}-compat = %{version}-%{release}
178 Conflicts: %{name}-profile_tv
179 Conflicts: %{name}-profile_wearable
180 Conflicts: %{name}-profile_ivi
181 Conflicts: %{name}-profile_common
182 %description profile_mobile
183 The DALi Tizen Adaptor for mobile.
186 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
187 # if tv ||"undefined"
188 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
190 Summary: The DALi Tizen Adaptor for tv
191 Provides: %{name}-compat = %{version}-%{release}
192 Conflicts: %{name}-profile_mobile
193 Conflicts: %{name}-profile_wearable
194 Conflicts: %{name}-profile_ivi
195 Conflicts: %{name}-profile_common
196 %description profile_tv
197 The DALi Tizen Adaptor for tv.
200 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
201 # if wearable || "undefined"
202 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
203 %package profile_wearable
204 Summary: The DALi Tizen Adaptor for wearable
205 Provides: %{name}-compat = %{version}-%{release}
206 Conflicts: %{name}-profile_mobile
207 Conflicts: %{name}-profile_tv
208 Conflicts: %{name}-profile_ivi
209 Conflicts: %{name}-profile_common
210 %description profile_wearable
211 The DALi Tizen Adaptor for wearable.
214 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
215 # if ivi ||"undefined"
216 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
218 Summary: The DALi Tizen Adaptor for ivi
219 Provides: %{name}-compat = %{version}-%{release}
220 Conflicts: %{name}-profile_mobile
221 Conflicts: %{name}-profile_wearable
222 Conflicts: %{name}-profile_tv
223 Conflicts: %{name}-profile_common
224 %description profile_ivi
225 The DALi Tizen Adaptor for ivi.
228 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
229 # if common ||"undefined"
230 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
231 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
232 %package profile_common
233 %define tizen_2_2_compatibility 0
234 Summary: The DALi Tizen Adaptor for common
235 Provides: %{name}-compat = %{version}-%{release}
236 Conflicts: %{name}-profile_mobile
237 Conflicts: %{name}-profile_wearable
238 Conflicts: %{name}-profile_tv
239 Conflicts: %{name}-profile_ivi
240 %description profile_common
241 The DALi Tizen Adaptor for common.
244 %if !0%{?disable_cxx03_build}
245 ###########################################
246 # Dali adapter for profiles for cxx03 ABI
247 ###########################################
249 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
250 # if mobile || "undefined"
251 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
252 %package profile_mobile-cxx03
253 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
254 Provides: %{name}-cxx03-compat = %{version}-%{release}
255 Conflicts: %{name}-profile_tv-cxx03
256 Conflicts: %{name}-profile_wearable-cxx03
257 Conflicts: %{name}-profile_ivi-cxx03
258 Conflicts: %{name}-profile_common-cxx03
259 %description profile_mobile-cxx03
260 The DALi Tizen Adaptor for mobile.
263 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
264 # if tv ||"undefined"
265 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
266 %package profile_tv-cxx03
267 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
268 Provides: %{name}-cxx03-compat = %{version}-%{release}
269 Conflicts: %{name}-profile_mobile-cxx03
270 Conflicts: %{name}-profile_wearable-cxx03
271 Conflicts: %{name}-profile_ivi-cxx03
272 Conflicts: %{name}-profile_common-cxx03
273 %description profile_tv-cxx03
274 The DALi Tizen Adaptor for tv.
277 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
278 # if wearable || "undefined"
279 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
280 %package profile_wearable-cxx03
281 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
282 Provides: %{name}-cxx03-compat = %{version}-%{release}
283 Conflicts: %{name}-profile_mobile-cxx03
284 Conflicts: %{name}-profile_tv-cxx03
285 Conflicts: %{name}-profile_ivi-cxx03
286 Conflicts: %{name}-profile_common-cxx03
287 %description profile_wearable-cxx03
288 The DALi Tizen Adaptor for wearable.
291 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
292 # if ivi ||"undefined"
293 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
294 %package profile_ivi-cxx03
295 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
296 Provides: %{name}-cxx03-compat = %{version}-%{release}
297 Conflicts: %{name}-profile_mobile-cxx03
298 Conflicts: %{name}-profile_wearable-cxx03
299 Conflicts: %{name}-profile_tv-cxx03
300 Conflicts: %{name}-profile_common-cxx03
301 %description profile_ivi-cxx03
302 The DALi Tizen Adaptor for ivi.
305 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
306 # if common ||"undefined"
307 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
308 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
309 %package profile_common-cxx03
310 %define tizen_2_2_compatibility 0
311 Summary: The DALi Tizen Adaptor for common with cxx03 abi
312 Provides: %{name}-cxx03-compat = %{version}-%{release}
313 Conflicts: %{name}-profile_mobile-cxx03
314 Conflicts: %{name}-profile_wearable-cxx03
315 Conflicts: %{name}-profile_tv-cxx03
316 Conflicts: %{name}-profile_ivi-cxx03
317 %description profile_common-cxx03
318 The DALi Tizen Adaptor for common.
322 ##############################
324 ##############################
326 Summary: Development components for the DALi Tizen Adaptor
327 Group: Development/Building
328 Requires: %{name} = %{version}-%{release}
329 Requires: %{name}-integration-devel = %{version}-%{release}
332 Development components for the DALi Tizen Adaptor - public headers and package configs
334 ##############################
336 ##############################
337 %package integration-devel
338 Summary: Integration development package for the Adaptor
339 Group: Development/Building
340 Requires: %{name} = %{version}-%{release}
342 %description integration-devel
343 Integration development package for the Adaptor - headers for integrating with an adaptor library.
345 %if !0%{?disable_cxx03_build}
346 ##############################
348 ##############################
350 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
351 Group: Development/Building
352 Requires: %{name}-cxx03 = %{version}-%{release}
353 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
355 %description devel-cxx03
356 Development components for the DALi Tizen Adaptor - public headers and package configs
358 ##############################
359 # integration-devel cxx03
360 ##############################
361 %package integration-devel-cxx03
362 Summary: Integration development package for the Adaptor with cxx03 abi
363 Group: Development/Building
364 Requires: %{name}-cxx03 = %{version}-%{release}
366 %description integration-devel-cxx03
367 Integration development package for the Adaptor - headers for integrating with an adaptor library.
370 ##############################
371 # Dali Feedback Plugin
372 ##############################
373 %package dali-feedback-plugin
374 Summary: Plugin to play haptic and audio feedback for Dali
375 Group: System/Libraries
376 Requires: %{name} = %{version}-%{release}
377 %description dali-feedback-plugin
378 Feedback plugin to play haptic and audio feedback for Dali
380 ##############################
381 # Dali VideoPlayer Plugin
382 ##############################
385 %package dali-video-player-plugin
386 Summary: Plugin to play a video file for Dali
387 Group: System/Libraries
388 %description dali-video-player-plugin
389 VideoPlayer plugin to play a video file for Dali
392 ##############################
393 # Dali WebEngineLite Plugin
394 ##############################
396 %package dali-web-engine-lite-plugin
397 Summary: Plugin WebEngineLite for Dali
398 Group: System/Libraries
399 %description dali-web-engine-lite-plugin
400 WebEngineLite plugin for Dali
402 %if !0%{?disable_cxx03_build}
403 ##############################
404 # Dali Feedback Plugin cxx03
405 ##############################
407 %package dali-feedback-plugin-cxx03
408 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
409 Group: System/Libraries
410 Requires: %{name}-cxx03 = %{version}-%{release}
411 %description dali-feedback-plugin-cxx03
412 Feedback plugin to play haptic and audio feedback for Dali
414 ##############################
415 # Dali VideoPlayer Plugin
416 ##############################
419 %package dali-video-player-plugin-cxx03
420 Summary: Plugin to play a video file for Dali with cxx03 abi
421 Group: System/Libraries
422 %description dali-video-player-plugin-cxx03
423 VideoPlayer plugin to play a video file for Dali
426 ##############################
427 # Dali WebEngineLite Plugin
428 ##############################
430 %package dali-web-engine-lite-plugin-cxx03
431 Summary: Plugin WebEngineLite for Dali with cxx03 abi
432 Group: System/Libraries
433 %description dali-web-engine-lite-plugin-cxx03
434 WebEngineLite plugin for Dali
437 ##############################
439 ##############################
443 #Use TZ_PATH when tizen version is 3.x or greater
445 %if 0%{?tizen_version_major} >= 3
446 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
447 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
448 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
449 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
450 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
451 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
453 %define dali_data_rw_dir /usr/share/dali/
454 %define dali_data_ro_dir /usr/share/dali/
455 %define font_preloaded_path /usr/share/fonts/
456 %define font_downloaded_path /opt/share/fonts/
457 %define font_application_path /usr/share/app_fonts/
458 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
461 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
462 %define dali_plugin_sound_files /plugins/sounds/
463 %define dev_include_path %{_includedir}
465 ##############################
467 ##############################
470 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
471 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
474 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
479 CXXFLAGS+=" -DWAYLAND"
480 configure_flags="--enable-wayland"
483 # Use this conditional when Tizen version is 4.x or greater
484 %if 0%{?tizen_version_major} >= 4
485 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
488 %if 0%{?tizen_2_2_compatibility}
489 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
490 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
494 cd %{_builddir}/%{name}-%{version}/build/tizen
497 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
498 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
499 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
500 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
501 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
502 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
503 %if 0%{?tizen_platform_config_supported}
504 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
507 # Default to GLES 2.0 if not specified.
508 %if 0%{?target_gles_version} == 0
509 %define target_gles_version 20
512 # Set up the build via configure.
513 #######################################################################
514 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
515 # if mobile || "undefined"
516 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
517 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
518 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
519 --enable-tizen-major-version=%{tizen_version_major} \
520 %if 0%{?tizen_version_major} >= 3
523 --enable-videoplayer \
524 %if 0%{?tizen_2_2_compatibility}
525 --with-tizen-2-2-compatibility \
532 %if 0%{?enable_web_engine_lite}
533 --enable-web-engine-lite \
535 %if 0%{?enable_debug}
539 $configure_flags --libdir=%{_libdir} \
540 --enable-rename-so=no
543 make %{?jobs:-j%jobs}
545 pushd %{_builddir}/%{name}-%{version}/build/tizen
546 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
549 pushd %{buildroot}%{_libdir}
550 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
551 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
552 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
559 #######################################################################
560 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
561 # if tv ||"undefined"
562 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
563 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
564 --enable-shaderbincache=DISABLE --enable-profile=TV \
565 --enable-tizen-major-version=%{tizen_version_major} \
566 %if 0%{?tizen_version_major} >= 3
569 --enable-videoplayer \
570 %if 0%{?tizen_2_2_compatibility}
571 --with-tizen-2-2-compatibility \
578 %if 0%{?enable_web_engine_lite}
579 --enable-web-engine-lite \
581 %if 0%{?enable_debug}
585 $configure_flags --libdir=%{_libdir} \
586 --enable-rename-so=no
589 make %{?jobs:-j%jobs}
591 pushd %{_builddir}/%{name}-%{version}/build/tizen
592 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
595 pushd %{buildroot}%{_libdir}
596 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
597 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
598 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
604 #######################################################################
605 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
606 # if wearable || "undefined"
607 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
608 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
609 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
610 --enable-tizen-major-version=%{tizen_version_major} \
611 %if 0%{?tizen_version_major} >= 3
614 --enable-videoplayer \
615 %if 0%{?tizen_2_2_compatibility}
616 --with-tizen-2-2-compatibility \
623 %if 0%{?enable_web_engine_lite}
624 --enable-web-engine-lite \
626 %if 0%{?enable_debug}
630 $configure_flags --libdir=%{_libdir} \
631 --enable-rename-so=no
634 make %{?jobs:-j%jobs}
636 pushd %{_builddir}/%{name}-%{version}/build/tizen
637 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
640 pushd %{buildroot}%{_libdir}
641 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
642 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
643 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
649 #######################################################################
650 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
651 # if ivi ||"undefined"
652 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
653 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
654 --enable-shaderbincache=DISABLE --enable-profile=IVI \
655 --enable-tizen-major-version=%{tizen_version_major} \
656 %if 0%{?tizen_version_major} >= 3
659 --enable-videoplayer \
660 %if 0%{?tizen_2_2_compatibility}
661 --with-tizen-2-2-compatibility \
668 %if 0%{?enable_web_engine_lite}
669 --enable-web-engine-lite \
671 %if 0%{?enable_debug}
675 $configure_flags --libdir=%{_libdir} \
676 --enable-rename-so=no
679 make %{?jobs:-j%jobs}
681 pushd %{_builddir}/%{name}-%{version}/build/tizen
682 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
685 pushd %{buildroot}%{_libdir}
686 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
687 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
689 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
695 #######################################################################
696 # common ( build dali_videoplayer_plugin for common uses )
697 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
698 # if common ||"undefined"
699 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
700 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
701 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
702 --enable-tizen-major-version=%{tizen_version_major} \
703 %if 0%{?tizen_version_major} >= 3
706 --enable-videoplayer \
707 %if 0%{?tizen_2_2_compatibility}
708 --with-tizen-2-2-compatibility \
715 %if 0%{?enable_web_engine_lite}
716 --enable-web-engine-lite \
718 %if 0%{?enable_debug}
722 $configure_flags --libdir=%{_libdir} \
723 --enable-rename-so=no
726 make %{?jobs:-j%jobs}
728 pushd %{_builddir}/%{name}-%{version}/build/tizen
729 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
732 pushd %{buildroot}%{_libdir}
733 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
734 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
736 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
743 %if !0%{?disable_cxx03_build}
744 #######################################################################
746 #######################################################################
748 # Set up the build via configure.
749 #######################################################################
750 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
751 # if mobile || "undefined"
752 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
754 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
755 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
756 --enable-tizen-major-version=%{tizen_version_major} \
757 %if 0%{?tizen_version_major} >= 3
760 --enable-videoplayer \
761 --enable-cxx03-abi=yes \
762 %if 0%{?tizen_2_2_compatibility}
763 --with-tizen-2-2-compatibility \
770 %if 0%{?enable_web_engine_lite}
771 --enable-web-engine-lite \
773 %if 0%{?enable_debug}
777 $configure_flags --libdir=%{_libdir} \
778 --enable-rename-so=no
781 make %{?jobs:-j%jobs}
783 pushd %{_builddir}/%{name}-%{version}/build/tizen
784 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
787 pushd %{buildroot}%{_libdir}
788 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
789 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
796 #######################################################################
797 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
798 # if tv ||"undefined"
799 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
801 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
802 --enable-shaderbincache=DISABLE --enable-profile=TV \
803 --enable-tizen-major-version=%{tizen_version_major} \
804 %if 0%{?tizen_version_major} >= 3
807 --enable-videoplayer \
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}
824 $configure_flags --libdir=%{_libdir} \
825 --enable-rename-so=no
828 make %{?jobs:-j%jobs}
830 pushd %{_builddir}/%{name}-%{version}/build/tizen
831 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
834 pushd %{buildroot}%{_libdir}
835 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
836 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
842 #######################################################################
843 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
844 # if wearable || "undefined"
845 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
847 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
848 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
849 --enable-tizen-major-version=%{tizen_version_major} \
850 %if 0%{?tizen_version_major} >= 3
853 --enable-videoplayer \
854 --enable-cxx03-abi=yes \
855 %if 0%{?tizen_2_2_compatibility}
856 --with-tizen-2-2-compatibility \
863 %if 0%{?enable_web_engine_lite}
864 --enable-web-engine-lite \
866 %if 0%{?enable_debug}
870 $configure_flags --libdir=%{_libdir} \
871 --enable-rename-so=no
874 make %{?jobs:-j%jobs}
876 pushd %{_builddir}/%{name}-%{version}/build/tizen
877 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
880 pushd %{buildroot}%{_libdir}
881 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
882 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
888 #######################################################################
889 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
890 # if ivi ||"undefined"
891 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
893 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
894 --enable-shaderbincache=DISABLE --enable-profile=IVI \
895 --enable-tizen-major-version=%{tizen_version_major} \
896 %if 0%{?tizen_version_major} >= 3
899 --enable-videoplayer \
900 --enable-cxx03-abi=yes \
901 %if 0%{?tizen_2_2_compatibility}
902 --with-tizen-2-2-compatibility \
909 %if 0%{?enable_web_engine_lite}
910 --enable-web-engine-lite \
912 %if 0%{?enable_debug}
916 $configure_flags --libdir=%{_libdir} \
917 --enable-rename-so=no
920 make %{?jobs:-j%jobs}
922 pushd %{_builddir}/%{name}-%{version}/build/tizen
923 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
926 pushd %{buildroot}%{_libdir}
927 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
928 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
934 #######################################################################
935 # common ( build dali_videoplayer_plugin for common uses )
936 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
937 # if common ||"undefined"
938 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
940 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
941 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
942 --enable-tizen-major-version=%{tizen_version_major} \
943 %if 0%{?tizen_version_major} >= 3
946 --enable-videoplayer \
947 --enable-cxx03-abi=yes \
948 %if 0%{?tizen_2_2_compatibility}
949 --with-tizen-2-2-compatibility \
956 %if 0%{?enable_web_engine_lite}
957 --enable-web-engine-lite \
959 %if 0%{?enable_debug}
963 $configure_flags --libdir=%{_libdir} \
964 --enable-rename-so=no
967 make %{?jobs:-j%jobs}
972 ##############################
974 ##############################
978 pushd %{_builddir}/%{name}-%{version}/build/tizen
979 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
982 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
983 # !unified && (wearable || tv || ivi || mobile)
984 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
985 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
988 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
989 # wearable || tv || ivi || mobile || unified
990 %if "%{?profile}" != "common"
991 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
992 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
996 ################################################
998 ###############################################
999 pushd %{buildroot}%{_libdir}
1001 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1002 # if common ||"undefined"
1003 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1004 rm -rf libdali-adaptor*.so
1005 %if !0%{?disable_cxx03_build}
1006 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
1008 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
1011 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1012 # if wearable || "undefined"
1013 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1014 rm -rf libdali-adaptor*.so.wearable
1015 %if !0%{?disable_cxx03_build}
1016 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
1018 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
1021 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1022 # if tv ||"undefined"
1023 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1024 rm -rf libdali-adaptor*.so.tv
1025 %if !0%{?disable_cxx03_build}
1026 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
1028 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
1031 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1032 # if ivi ||"undefined"
1033 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1034 rm -rf libdali-adaptor*.so.ivi
1035 %if !0%{?disable_cxx03_build}
1036 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1038 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1041 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1042 # if mobile || "undefined"
1043 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1044 rm -rf libdali-adaptor*.so.mobile
1045 %if !0%{?disable_cxx03_build}
1046 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1048 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1052 ##############################
1054 # 1 - Pre Install new package
1055 # 2 - Install new package
1056 # 3 - Post install new package
1057 # 4 - Pre uninstall old package
1058 # 5 - Remove files not overwritten by new package
1059 # 6 - Post uninstall old package
1060 ##############################
1065 ##############################
1066 # Post Install new package
1067 ##############################
1072 ##############################
1073 # Pre Uninstall old package
1074 ##############################
1078 ##############################
1079 # Post Uninstall old package
1080 ##############################
1086 %post dali-video-player-plugin
1092 %postun dali-video-player-plugin
1097 #%if %{with wayland}
1098 %post dali-web-engine-lite-plugin
1103 ##############################
1105 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1106 # if mobile || "undefined"
1107 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1108 %post profile_mobile
1110 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1115 %postun profile_mobile
1120 ##############################
1122 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1123 # if tv ||"undefined"
1124 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1127 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1137 ##############################
1139 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1140 # if wearable || "undefined"
1141 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1142 %post profile_wearable
1144 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1149 %postun profile_wearable
1154 ##############################
1156 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1157 # if ivi ||"undefined"
1158 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1161 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1171 %if !0%{?disable_cxx03_build}
1172 ##############################
1174 #############################
1175 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1176 # if mobile || "undefined"
1177 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1178 %post profile_mobile-cxx03
1180 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1185 %postun profile_mobile-cxx03
1190 ##############################
1192 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1193 # if tv ||"undefined"
1194 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1195 %post profile_tv-cxx03
1197 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1202 %postun profile_tv-cxx03
1207 ##############################
1209 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1210 # if wearable || "undefined"
1211 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1212 %post profile_wearable-cxx03
1214 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1219 %postun profile_wearable-cxx03
1224 ##############################
1226 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1227 # if ivi ||"undefined"
1228 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1229 %post profile_ivi-cxx03
1231 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1236 %postun profile_ivi-cxx03
1242 ##############################
1243 # Files in Binary Packages
1244 ##############################
1247 %manifest dali-adaptor.manifest
1248 %defattr(-,root,root,-)
1249 %defattr(-,app,app,-)
1250 %dir %{user_shader_cache_dir}
1254 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1255 # if common ||"undefined"
1256 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1257 %defattr(-,root,root,-)
1258 %{_libdir}/libdali-adaptor-cxx11.so.0*
1259 %{_libdir}/libdali-adaptor.so
1260 %exclude %{_libdir}/libdali-adap*.so*.mobile
1261 %exclude %{_libdir}/libdali-adap*.so*.wearable
1262 %exclude %{_libdir}/libdali-adap*.so*.tv
1263 %exclude %{_libdir}/libdali-adap*.so*.ivi
1266 %if !0%{?disable_cxx03_build}
1268 %manifest dali-adaptor.manifest
1269 %defattr(-,root,root,-)
1270 %defattr(-,app,app,-)
1271 %dir %{user_shader_cache_dir}
1274 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1275 # if common ||"undefined"
1276 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1277 %defattr(-,root,root,-)
1278 %{_libdir}/libdali-adaptor.so.0*
1279 %{_libdir}/libdali-adaptor-cxx03.so
1280 %exclude %{_libdir}/libdali-adap*.so*.mobile
1281 %exclude %{_libdir}/libdali-adap*.so*.wearable
1282 %exclude %{_libdir}/libdali-adap*.so*.tv
1283 %exclude %{_libdir}/libdali-adap*.so*.ivi
1287 %files dali-video-player-plugin-cxx03
1288 %manifest dali-adaptor.manifest
1289 %defattr(-,root,root,-)
1290 %{_libdir}/libdali-video-player-plugin.so*
1294 %if 0%{?tizen_version_major} >= 3
1295 %if 0%{?enable_web_engine_lite}
1296 %files dali-web-engine-lite-plugin-cxx03
1297 %manifest dali-adaptor.manifest
1298 %defattr(-,root,root,-)
1299 %{_libdir}/libdali-web-engine-lite-plugin.so*
1303 %files dali-feedback-plugin-cxx03
1304 %manifest dali-adaptor.manifest
1305 %defattr(-,root,root,-)
1306 %{_libdir}/libdali-feedback-plugin.so*
1307 %{dali_plugin_sound_files}/*
1311 #################################################
1314 %files dali-video-player-plugin
1315 %manifest dali-adaptor.manifest
1316 %defattr(-,root,root,-)
1317 %{_libdir}/libdali-video-player-plugin-cxx11.so*
1321 %if 0%{?tizen_version_major} >= 3
1322 %if 0%{?enable_web_engine_lite}
1323 %files dali-web-engine-lite-plugin
1324 %manifest dali-adaptor.manifest
1325 %defattr(-,root,root,-)
1326 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1330 %files dali-feedback-plugin
1331 %manifest dali-adaptor.manifest
1332 %defattr(-,root,root,-)
1333 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1334 %{dali_plugin_sound_files}/*
1337 #################################################
1339 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1340 # if common ||"undefined"
1341 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1342 %files profile_common
1343 # default .so files are housed in the main pkg.
1346 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1347 # if mobile || "undefined"
1348 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1349 %files profile_mobile
1350 %manifest dali-adaptor.manifest
1351 %defattr(-,root,root,-)
1352 %{_libdir}/libdali-adaptor.so.mobile
1353 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1356 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1357 # if tv ||"undefined"
1358 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1360 %manifest dali-adaptor.manifest
1361 %defattr(-,root,root,-)
1362 %{_libdir}/libdali-adaptor.so.tv
1363 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1366 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1367 # if wearable || "undefined"
1368 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1369 %files profile_wearable
1370 %manifest dali-adaptor.manifest
1371 %defattr(-,root,root,-)
1372 %{_libdir}/libdali-adaptor.so.wearable
1373 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1376 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1377 # if ivi ||"undefined"
1378 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1380 %manifest dali-adaptor.manifest
1381 %defattr(-,root,root,-)
1382 %{_libdir}/libdali-adaptor.so.ivi
1383 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1388 %defattr(-,root,root,-)
1389 %{dev_include_path}/dali/dali.h
1390 %{dev_include_path}/dali/public-api/*
1391 %{dev_include_path}/dali/devel-api/*
1392 %{dev_include_path}/dali/doc/*
1393 %{_libdir}/pkgconfig/dali-adaptor.pc
1395 %files integration-devel
1396 %defattr(-,root,root,-)
1397 %{dev_include_path}/dali/integration-api/adaptors/*
1398 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1400 %if !0%{?disable_cxx03_build}
1401 ################################################
1403 ################################################
1405 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1406 # if common ||"undefined"
1407 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1408 %files profile_common-cxx03
1409 # default .so files are housed in the main pkg.
1412 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1413 # if mobile || "undefined"
1414 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1415 %files profile_mobile-cxx03
1416 %manifest dali-adaptor.manifest
1417 %defattr(-,root,root,-)
1418 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1419 %{_libdir}/libdali-adaptor.so.0*mobile
1422 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1423 # if tv ||"undefined"
1424 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1425 %files profile_tv-cxx03
1426 %manifest dali-adaptor.manifest
1427 %defattr(-,root,root,-)
1428 %{_libdir}/libdali-adaptor-cxx03.so.tv
1429 %{_libdir}/libdali-adaptor.so.0*.tv
1432 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1433 # if wearable || "undefined"
1434 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1435 %files profile_wearable-cxx03
1436 %manifest dali-adaptor.manifest
1437 %defattr(-,root,root,-)
1438 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1439 %{_libdir}/libdali-adaptor.so.0*.wearable
1442 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1443 # if ivi ||"undefined"
1444 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1445 %files profile_ivi-cxx03
1446 %manifest dali-adaptor.manifest
1447 %defattr(-,root,root,-)
1448 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1449 %{_libdir}/libdali-adaptor.so.0*.ivi
1454 %defattr(-,root,root,-)
1455 %{dev_include_path}/dali/dali.h
1456 %{dev_include_path}/dali/public-api/*
1457 %{dev_include_path}/dali/devel-api/*
1458 %{dev_include_path}/dali/doc/*
1459 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1461 %files integration-devel-cxx03
1462 %defattr(-,root,root,-)
1463 %{dev_include_path}/dali/integration-api/adaptors/*
1464 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc