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)$
18 %bcond_without wayland
22 Summary: The DALi Tizen Adaptor
25 Group: System/Libraries
26 License: Apache-2.0 and BSD-3-Clause and MIT
27 URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
28 Source0: %{name}-%{version}.tar.gz
30 Requires(post): /sbin/ldconfig
31 Requires(postun): /sbin/ldconfig
34 #need libtzplatform-config for directory if tizen version is 3.x
36 %if 0%{?tizen_version_major} >= 3
37 %define tizen_platform_config_supported 1
38 BuildRequires: pkgconfig(libtzplatform-config)
41 %if 0%{?tizen_version_major} < 4
42 %define disable_cxx03_build 1
45 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
47 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
48 %define profile %{tizen_profile_name}
51 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
52 # if wearable || "undefined"
53 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
54 BuildRequires: pkgconfig(capi-appfw-watch-application)
55 BuildRequires: pkgconfig(appcore-watch)
56 BuildRequires: pkgconfig(screen_connector_provider)
59 BuildRequires: pkgconfig(gles20)
60 BuildRequires: pkgconfig(glesv2)
61 BuildRequires: pkgconfig(ttrace)
63 %if !0%{?disable_cxx03_build}
64 BuildRequires: dali-devel-cxx03
65 BuildRequires: dali-integration-devel-cxx03
67 BuildRequires: dali-devel
68 BuildRequires: dali-integration-devel
70 BuildRequires: pkgconfig
72 BuildRequires: giflib-devel
73 BuildRequires: pkgconfig(fontconfig)
74 BuildRequires: libjpeg-turbo-devel
75 BuildRequires: pkgconfig(vconf)
76 BuildRequires: tts-devel
77 BuildRequires: pkgconfig(dlog)
78 BuildRequires: libdrm-devel
79 BuildRequires: pkgconfig(libexif)
80 BuildRequires: pkgconfig(libpng)
81 BuildRequires: pkgconfig(egl)
82 BuildRequires: libcurl-devel
83 BuildRequires: pkgconfig(harfbuzz)
84 BuildRequires: fribidi-devel
86 BuildRequires: pkgconfig(capi-system-info)
87 BuildRequires: pkgconfig(capi-system-sensor)
89 BuildRequires: pkgconfig(libcrypto)
93 ####### BUILDING FOR WAYLAND #######
94 BuildRequires: pkgconfig(wayland-egl)
95 BuildRequires: pkgconfig(wayland-client)
96 BuildRequires: wayland-devel
97 BuildRequires: wayland-extension-client-devel
99 # dali-adaptor uses ecore mainloop
100 %if 0%{?tizen_version_major} >= 5
101 BuildRequires: pkgconfig(ecore-wl2)
103 BuildRequires: pkgconfig(ecore-wayland)
106 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
107 BuildRequires: pkgconfig(libtbm)
109 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
110 %if !0%{?disable_cxx03_build}
111 BuildRequires: pkgconfig(tpkp-curl-deprecated)
113 BuildRequires: pkgconfig(tpkp-curl)
115 ####### BUILDING FOR X11#######
117 BuildRequires: pkgconfig(egl)
118 BuildRequires: pkgconfig(xext)
119 BuildRequires: pkgconfig(xi)
120 BuildRequires: pkgconfig(xfixes)
121 BuildRequires: pkgconfig(xdamage)
122 BuildRequires: pkgconfig(utilX)
126 %if 0%{?tizen_version_major} == 3
127 BuildRequires: pkgconfig(capi-appfw-application)
128 BuildRequires: pkgconfig(elementary)
130 BuildRequires: pkgconfig(appcore-ui)
131 BuildRequires: pkgconfig(appcore-widget-base)
132 BuildRequires: pkgconfig(bundle)
133 BuildRequires: pkgconfig(capi-appfw-app-common)
134 BuildRequires: pkgconfig(capi-appfw-app-control)
135 BuildRequires: pkgconfig(ecore-imf)
138 BuildRequires: pkgconfig(capi-system-system-settings)
140 # for feedback plugin
141 BuildRequires: pkgconfig(mm-sound)
142 %if 0%{?tizen_version_major} >= 3
143 BuildRequires: pkgconfig(feedback)
146 # for Web Engine Lite Plugin
147 %if 0%{?enable_web_engine_lite}
148 BuildRequires: lightweight-web-engine
149 BuildRequires: lightweight-web-engine-devel
153 Requires: %{name}-compat = %{version}-%{release}
154 Recommends: %{name}-profile_common = %{version}-%{release}
157 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
158 platform abstraction and application shell
160 %if !0%{?disable_cxx03_build}
162 Summary: The DALi Tizen Adaptor with cxx03 abi
163 Provides: %{name}-cxx03 = %{version}-%{release}
166 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
167 platform abstraction and application shell
170 ###########################################
171 # Dali adapter for profiles
172 ###########################################
174 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
175 # if mobile || "undefined"
176 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
177 %package profile_mobile
178 Summary: The DALi Tizen Adaptor for mobile
179 Provides: %{name}-compat = %{version}-%{release}
180 Conflicts: %{name}-profile_tv
181 Conflicts: %{name}-profile_wearable
182 Conflicts: %{name}-profile_ivi
183 Conflicts: %{name}-profile_common
184 %description profile_mobile
185 The DALi Tizen Adaptor for mobile.
188 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
189 # if tv ||"undefined"
190 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
192 Summary: The DALi Tizen Adaptor for tv
193 Provides: %{name}-compat = %{version}-%{release}
194 Conflicts: %{name}-profile_mobile
195 Conflicts: %{name}-profile_wearable
196 Conflicts: %{name}-profile_ivi
197 Conflicts: %{name}-profile_common
198 %description profile_tv
199 The DALi Tizen Adaptor for tv.
202 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
203 # if wearable || "undefined"
204 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
205 %package profile_wearable
206 Summary: The DALi Tizen Adaptor for wearable
207 Provides: %{name}-compat = %{version}-%{release}
208 Conflicts: %{name}-profile_mobile
209 Conflicts: %{name}-profile_tv
210 Conflicts: %{name}-profile_ivi
211 Conflicts: %{name}-profile_common
212 %description profile_wearable
213 The DALi Tizen Adaptor for wearable.
216 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
217 # if ivi ||"undefined"
218 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
220 Summary: The DALi Tizen Adaptor for ivi
221 Provides: %{name}-compat = %{version}-%{release}
222 Conflicts: %{name}-profile_mobile
223 Conflicts: %{name}-profile_wearable
224 Conflicts: %{name}-profile_tv
225 Conflicts: %{name}-profile_common
226 %description profile_ivi
227 The DALi Tizen Adaptor for ivi.
230 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
231 # if common ||"undefined"
232 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
233 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
234 %package profile_common
235 %define tizen_2_2_compatibility 0
236 Summary: The DALi Tizen Adaptor for common
237 Provides: %{name}-compat = %{version}-%{release}
238 Conflicts: %{name}-profile_mobile
239 Conflicts: %{name}-profile_wearable
240 Conflicts: %{name}-profile_tv
241 Conflicts: %{name}-profile_ivi
242 %description profile_common
243 The DALi Tizen Adaptor for common.
246 %if !0%{?disable_cxx03_build}
247 ###########################################
248 # Dali adapter for profiles for cxx03 ABI
249 ###########################################
251 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
252 # if mobile || "undefined"
253 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
254 %package profile_mobile-cxx03
255 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
256 Provides: %{name}-cxx03-compat = %{version}-%{release}
257 Conflicts: %{name}-profile_tv-cxx03
258 Conflicts: %{name}-profile_wearable-cxx03
259 Conflicts: %{name}-profile_ivi-cxx03
260 Conflicts: %{name}-profile_common-cxx03
261 %description profile_mobile-cxx03
262 The DALi Tizen Adaptor for mobile.
265 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
266 # if tv ||"undefined"
267 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
268 %package profile_tv-cxx03
269 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
270 Provides: %{name}-cxx03-compat = %{version}-%{release}
271 Conflicts: %{name}-profile_mobile-cxx03
272 Conflicts: %{name}-profile_wearable-cxx03
273 Conflicts: %{name}-profile_ivi-cxx03
274 Conflicts: %{name}-profile_common-cxx03
275 %description profile_tv-cxx03
276 The DALi Tizen Adaptor for tv.
279 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
280 # if wearable || "undefined"
281 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
282 %package profile_wearable-cxx03
283 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
284 Provides: %{name}-cxx03-compat = %{version}-%{release}
285 Conflicts: %{name}-profile_mobile-cxx03
286 Conflicts: %{name}-profile_tv-cxx03
287 Conflicts: %{name}-profile_ivi-cxx03
288 Conflicts: %{name}-profile_common-cxx03
289 %description profile_wearable-cxx03
290 The DALi Tizen Adaptor for wearable.
293 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
294 # if ivi ||"undefined"
295 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
296 %package profile_ivi-cxx03
297 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
298 Provides: %{name}-cxx03-compat = %{version}-%{release}
299 Conflicts: %{name}-profile_mobile-cxx03
300 Conflicts: %{name}-profile_wearable-cxx03
301 Conflicts: %{name}-profile_tv-cxx03
302 Conflicts: %{name}-profile_common-cxx03
303 %description profile_ivi-cxx03
304 The DALi Tizen Adaptor for ivi.
307 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
308 # if common ||"undefined"
309 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
310 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
311 %package profile_common-cxx03
312 %define tizen_2_2_compatibility 0
313 Summary: The DALi Tizen Adaptor for common with cxx03 abi
314 Provides: %{name}-cxx03-compat = %{version}-%{release}
315 Conflicts: %{name}-profile_mobile-cxx03
316 Conflicts: %{name}-profile_wearable-cxx03
317 Conflicts: %{name}-profile_tv-cxx03
318 Conflicts: %{name}-profile_ivi-cxx03
319 %description profile_common-cxx03
320 The DALi Tizen Adaptor for common.
324 ##############################
326 ##############################
328 Summary: Development components for the DALi Tizen Adaptor
329 Group: Development/Building
330 Requires: %{name} = %{version}-%{release}
331 Requires: %{name}-integration-devel = %{version}-%{release}
334 Development components for the DALi Tizen Adaptor - public headers and package configs
336 ##############################
338 ##############################
339 %package integration-devel
340 Summary: Integration development package for the Adaptor
341 Group: Development/Building
342 Requires: %{name} = %{version}-%{release}
344 %description integration-devel
345 Integration development package for the Adaptor - headers for integrating with an adaptor library.
347 %if !0%{?disable_cxx03_build}
348 ##############################
350 ##############################
352 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
353 Group: Development/Building
354 Requires: %{name}-cxx03 = %{version}-%{release}
355 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
357 %description devel-cxx03
358 Development components for the DALi Tizen Adaptor - public headers and package configs
360 ##############################
361 # integration-devel cxx03
362 ##############################
363 %package integration-devel-cxx03
364 Summary: Integration development package for the Adaptor with cxx03 abi
365 Group: Development/Building
366 Requires: %{name}-cxx03 = %{version}-%{release}
368 %description integration-devel-cxx03
369 Integration development package for the Adaptor - headers for integrating with an adaptor library.
372 ##############################
373 # Dali Feedback Plugin
374 ##############################
375 %package dali-feedback-plugin
376 Summary: Plugin to play haptic and audio feedback for Dali
377 Group: System/Libraries
378 Requires: %{name} = %{version}-%{release}
379 %description dali-feedback-plugin
380 Feedback plugin to play haptic and audio feedback for Dali
382 ##############################
383 # Dali WebEngineLite Plugin
384 ##############################
386 %package dali-web-engine-lite-plugin
387 Summary: Plugin WebEngineLite for Dali
388 Group: System/Libraries
389 %description dali-web-engine-lite-plugin
390 WebEngineLite plugin for Dali
392 %if !0%{?disable_cxx03_build}
393 ##############################
394 # Dali Feedback Plugin cxx03
395 ##############################
397 %package dali-feedback-plugin-cxx03
398 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
399 Group: System/Libraries
400 Requires: %{name}-cxx03 = %{version}-%{release}
401 %description dali-feedback-plugin-cxx03
402 Feedback plugin to play haptic and audio feedback for Dali
404 ##############################
405 # Dali WebEngineLite Plugin
406 ##############################
408 %package dali-web-engine-lite-plugin-cxx03
409 Summary: Plugin WebEngineLite for Dali with cxx03 abi
410 Group: System/Libraries
411 %description dali-web-engine-lite-plugin-cxx03
412 WebEngineLite plugin for Dali
415 ##############################
417 ##############################
421 #Use TZ_PATH when tizen version is 3.x or greater
423 %if 0%{?tizen_version_major} >= 3
424 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
425 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
426 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
427 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
428 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
429 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
431 %define dali_data_rw_dir /usr/share/dali/
432 %define dali_data_ro_dir /usr/share/dali/
433 %define font_preloaded_path /usr/share/fonts/
434 %define font_downloaded_path /opt/share/fonts/
435 %define font_application_path /usr/share/app_fonts/
436 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
439 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
440 %define dali_plugin_sound_files /plugins/sounds/
441 %define dev_include_path %{_includedir}
443 ##############################
445 ##############################
448 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
449 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
452 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
457 CXXFLAGS+=" -DWAYLAND"
458 %if 0%{?tizen_version_major} >= 5
459 CFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
460 CXXFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
462 configure_flags="--enable-wayland"
465 # Use this conditional when Tizen version is 4.x or greater
466 %if 0%{?tizen_version_major} >= 5
467 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
470 %if 0%{?tizen_2_2_compatibility}
471 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
472 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
476 cd %{_builddir}/%{name}-%{version}/build/tizen
479 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
480 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
481 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
482 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
483 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
484 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
485 %if 0%{?tizen_platform_config_supported}
486 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
489 # Default to GLES 2.0 if not specified.
490 %if 0%{?target_gles_version} == 0
491 %define target_gles_version 20
494 # Set up the build via configure.
495 #######################################################################
496 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
497 # if mobile || "undefined"
498 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
499 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
500 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
501 --enable-tizen-major-version=%{tizen_version_major} \
502 %if 0%{?tizen_version_major} >= 3
505 %if 0%{?tizen_2_2_compatibility}
506 --with-tizen-2-2-compatibility \
513 %if 0%{?enable_web_engine_lite}
514 --enable-web-engine-lite \
516 %if 0%{?enable_debug}
519 %if 0%{?enable_trace}
523 $configure_flags --libdir=%{_libdir} \
524 --enable-rename-so=no
527 make %{?jobs:-j%jobs}
529 pushd %{_builddir}/%{name}-%{version}/build/tizen
530 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
533 pushd %{buildroot}%{_libdir}
534 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
535 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
536 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
543 #######################################################################
544 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
545 # if tv ||"undefined"
546 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
547 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
548 --enable-shaderbincache=DISABLE --enable-profile=TV \
549 --enable-tizen-major-version=%{tizen_version_major} \
550 %if 0%{?tizen_version_major} >= 3
553 %if 0%{?tizen_2_2_compatibility}
554 --with-tizen-2-2-compatibility \
561 %if 0%{?enable_web_engine_lite}
562 --enable-web-engine-lite \
564 %if 0%{?enable_debug}
567 %if 0%{?enable_trace}
571 $configure_flags --libdir=%{_libdir} \
572 --enable-rename-so=no
575 make %{?jobs:-j%jobs}
577 pushd %{_builddir}/%{name}-%{version}/build/tizen
578 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
581 pushd %{buildroot}%{_libdir}
582 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
583 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
584 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
590 #######################################################################
591 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
592 # if wearable || "undefined"
593 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
594 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
595 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
596 --enable-tizen-major-version=%{tizen_version_major} \
597 %if 0%{?tizen_version_major} >= 3
600 %if 0%{?tizen_2_2_compatibility}
601 --with-tizen-2-2-compatibility \
608 %if 0%{?enable_web_engine_lite}
609 --enable-web-engine-lite \
611 %if 0%{?enable_debug}
614 %if 0%{?enable_trace}
618 $configure_flags --libdir=%{_libdir} \
619 --enable-rename-so=no
622 make %{?jobs:-j%jobs}
624 pushd %{_builddir}/%{name}-%{version}/build/tizen
625 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
628 pushd %{buildroot}%{_libdir}
629 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
630 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
631 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
637 #######################################################################
638 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
639 # if ivi ||"undefined"
640 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
641 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
642 --enable-shaderbincache=DISABLE --enable-profile=IVI \
643 --enable-tizen-major-version=%{tizen_version_major} \
644 %if 0%{?tizen_version_major} >= 3
647 %if 0%{?tizen_2_2_compatibility}
648 --with-tizen-2-2-compatibility \
655 %if 0%{?enable_web_engine_lite}
656 --enable-web-engine-lite \
658 %if 0%{?enable_debug}
661 %if 0%{?enable_trace}
665 $configure_flags --libdir=%{_libdir} \
666 --enable-rename-so=no
669 make %{?jobs:-j%jobs}
671 pushd %{_builddir}/%{name}-%{version}/build/tizen
672 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
675 pushd %{buildroot}%{_libdir}
676 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
677 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
679 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
685 #######################################################################
687 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
688 # if common ||"undefined"
689 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
690 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
691 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
692 --enable-tizen-major-version=%{tizen_version_major} \
693 %if 0%{?tizen_version_major} >= 3
696 %if 0%{?tizen_2_2_compatibility}
697 --with-tizen-2-2-compatibility \
704 %if 0%{?enable_web_engine_lite}
705 --enable-web-engine-lite \
707 %if 0%{?enable_debug}
710 %if 0%{?enable_trace}
714 $configure_flags --libdir=%{_libdir} \
715 --enable-rename-so=no
718 make %{?jobs:-j%jobs}
720 pushd %{_builddir}/%{name}-%{version}/build/tizen
721 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
724 pushd %{buildroot}%{_libdir}
725 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
726 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
728 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
735 %if !0%{?disable_cxx03_build}
736 #######################################################################
738 #######################################################################
740 # Set up the build via configure.
741 #######################################################################
742 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
743 # if mobile || "undefined"
744 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
746 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
747 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
748 --enable-tizen-major-version=%{tizen_version_major} \
749 %if 0%{?tizen_version_major} >= 3
752 --enable-cxx03-abi=yes \
753 %if 0%{?tizen_2_2_compatibility}
754 --with-tizen-2-2-compatibility \
761 %if 0%{?enable_web_engine_lite}
762 --enable-web-engine-lite \
764 %if 0%{?enable_debug}
767 %if 0%{?enable_trace}
771 $configure_flags --libdir=%{_libdir} \
772 --enable-rename-so=no
775 make %{?jobs:-j%jobs}
777 pushd %{_builddir}/%{name}-%{version}/build/tizen
778 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
781 pushd %{buildroot}%{_libdir}
782 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
783 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
790 #######################################################################
791 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
792 # if tv ||"undefined"
793 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
795 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
796 --enable-shaderbincache=DISABLE --enable-profile=TV \
797 --enable-tizen-major-version=%{tizen_version_major} \
798 %if 0%{?tizen_version_major} >= 3
801 --enable-cxx03-abi=yes \
802 %if 0%{?tizen_2_2_compatibility}
803 --with-tizen-2-2-compatibility \
810 %if 0%{?enable_web_engine_lite}
811 --enable-web-engine-lite \
813 %if 0%{?enable_debug}
816 %if 0%{?enable_trace}
820 $configure_flags --libdir=%{_libdir} \
821 --enable-rename-so=no
824 make %{?jobs:-j%jobs}
826 pushd %{_builddir}/%{name}-%{version}/build/tizen
827 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
830 pushd %{buildroot}%{_libdir}
831 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
832 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
838 #######################################################################
839 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
840 # if wearable || "undefined"
841 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
843 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
844 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
845 --enable-tizen-major-version=%{tizen_version_major} \
846 %if 0%{?tizen_version_major} >= 3
849 --enable-cxx03-abi=yes \
850 %if 0%{?tizen_2_2_compatibility}
851 --with-tizen-2-2-compatibility \
858 %if 0%{?enable_web_engine_lite}
859 --enable-web-engine-lite \
861 %if 0%{?enable_debug}
864 %if 0%{?enable_trace}
868 $configure_flags --libdir=%{_libdir} \
869 --enable-rename-so=no
872 make %{?jobs:-j%jobs}
874 pushd %{_builddir}/%{name}-%{version}/build/tizen
875 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
878 pushd %{buildroot}%{_libdir}
879 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
880 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
886 #######################################################################
887 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
888 # if ivi ||"undefined"
889 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
891 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
892 --enable-shaderbincache=DISABLE --enable-profile=IVI \
893 --enable-tizen-major-version=%{tizen_version_major} \
894 %if 0%{?tizen_version_major} >= 3
897 --enable-cxx03-abi=yes \
898 %if 0%{?tizen_2_2_compatibility}
899 --with-tizen-2-2-compatibility \
906 %if 0%{?enable_web_engine_lite}
907 --enable-web-engine-lite \
909 %if 0%{?enable_debug}
912 %if 0%{?enable_trace}
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 #######################################################################
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-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}
961 %if 0%{?enable_trace}
965 $configure_flags --libdir=%{_libdir} \
966 --enable-rename-so=no
969 make %{?jobs:-j%jobs}
974 ##############################
976 ##############################
980 pushd %{_builddir}/%{name}-%{version}/build/tizen
981 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
984 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
985 # !unified && (wearable || tv || ivi || mobile)
986 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
987 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
990 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
991 # wearable || tv || ivi || mobile || unified
992 %if "%{?profile}" != "common"
993 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
994 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
998 ################################################
1000 ###############################################
1001 pushd %{buildroot}%{_libdir}
1003 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1004 # if common ||"undefined"
1005 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1006 rm -rf libdali-adaptor*.so
1007 %if !0%{?disable_cxx03_build}
1008 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
1010 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
1013 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1014 # if wearable || "undefined"
1015 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1016 rm -rf libdali-adaptor*.so.wearable
1017 %if !0%{?disable_cxx03_build}
1018 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
1020 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
1023 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1024 # if tv ||"undefined"
1025 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1026 rm -rf libdali-adaptor*.so.tv
1027 %if !0%{?disable_cxx03_build}
1028 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
1030 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
1033 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1034 # if ivi ||"undefined"
1035 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1036 rm -rf libdali-adaptor*.so.ivi
1037 %if !0%{?disable_cxx03_build}
1038 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1040 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1043 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1044 # if mobile || "undefined"
1045 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1046 rm -rf libdali-adaptor*.so.mobile
1047 %if !0%{?disable_cxx03_build}
1048 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1050 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1054 ##############################
1056 # 1 - Pre Install new package
1057 # 2 - Install new package
1058 # 3 - Post install new package
1059 # 4 - Pre uninstall old package
1060 # 5 - Remove files not overwritten by new package
1061 # 6 - Post uninstall old package
1062 ##############################
1067 ##############################
1068 # Post Install new package
1069 ##############################
1074 ##############################
1075 # Pre Uninstall old package
1076 ##############################
1080 ##############################
1081 # Post Uninstall old package
1082 ##############################
1087 #%if %{with wayland}
1088 %post dali-web-engine-lite-plugin
1093 ##############################
1095 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1096 # if mobile || "undefined"
1097 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1098 %post profile_mobile
1100 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1105 %postun profile_mobile
1110 ##############################
1112 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1113 # if tv ||"undefined"
1114 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1117 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1127 ##############################
1129 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1130 # if wearable || "undefined"
1131 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1132 %post profile_wearable
1134 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1139 %postun profile_wearable
1144 ##############################
1146 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1147 # if ivi ||"undefined"
1148 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1151 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1161 %if !0%{?disable_cxx03_build}
1162 ##############################
1164 #############################
1165 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1166 # if mobile || "undefined"
1167 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1168 %post profile_mobile-cxx03
1170 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1175 %postun profile_mobile-cxx03
1180 ##############################
1182 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1183 # if tv ||"undefined"
1184 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1185 %post profile_tv-cxx03
1187 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1192 %postun profile_tv-cxx03
1197 ##############################
1199 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1200 # if wearable || "undefined"
1201 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1202 %post profile_wearable-cxx03
1204 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1209 %postun profile_wearable-cxx03
1214 ##############################
1216 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1217 # if ivi ||"undefined"
1218 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1219 %post profile_ivi-cxx03
1221 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1226 %postun profile_ivi-cxx03
1232 ##############################
1233 # Files in Binary Packages
1234 ##############################
1237 %manifest dali-adaptor.manifest
1238 %defattr(-,root,root,-)
1239 %defattr(-,app,app,-)
1240 %dir %{user_shader_cache_dir}
1244 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1245 # if common ||"undefined"
1246 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1247 %defattr(-,root,root,-)
1248 %{_libdir}/libdali-adaptor-cxx11.so.0*
1249 %{_libdir}/libdali-adaptor.so
1250 %exclude %{_libdir}/libdali-adap*.so*.mobile
1251 %exclude %{_libdir}/libdali-adap*.so*.wearable
1252 %exclude %{_libdir}/libdali-adap*.so*.tv
1253 %exclude %{_libdir}/libdali-adap*.so*.ivi
1256 %if !0%{?disable_cxx03_build}
1258 %manifest dali-adaptor.manifest
1259 %defattr(-,root,root,-)
1260 %defattr(-,app,app,-)
1261 %dir %{user_shader_cache_dir}
1264 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1265 # if common ||"undefined"
1266 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1267 %defattr(-,root,root,-)
1268 %{_libdir}/libdali-adaptor.so.0*
1269 %{_libdir}/libdali-adaptor-cxx03.so
1270 %exclude %{_libdir}/libdali-adap*.so*.mobile
1271 %exclude %{_libdir}/libdali-adap*.so*.wearable
1272 %exclude %{_libdir}/libdali-adap*.so*.tv
1273 %exclude %{_libdir}/libdali-adap*.so*.ivi
1276 %if 0%{?tizen_version_major} >= 3
1277 %if 0%{?enable_web_engine_lite}
1278 %files dali-web-engine-lite-plugin-cxx03
1279 %manifest dali-adaptor.manifest
1280 %defattr(-,root,root,-)
1281 %{_libdir}/libdali-web-engine-lite-plugin.so*
1285 %files dali-feedback-plugin-cxx03
1286 %manifest dali-adaptor.manifest
1287 %defattr(-,root,root,-)
1288 %{_libdir}/libdali-feedback-plugin.so*
1289 %{dali_plugin_sound_files}/*
1293 #################################################
1295 %if 0%{?tizen_version_major} >= 3
1296 %if 0%{?enable_web_engine_lite}
1297 %files dali-web-engine-lite-plugin
1298 %manifest dali-adaptor.manifest
1299 %defattr(-,root,root,-)
1300 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1304 %files dali-feedback-plugin
1305 %manifest dali-adaptor.manifest
1306 %defattr(-,root,root,-)
1307 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1308 %{dali_plugin_sound_files}/*
1311 #################################################
1313 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1314 # if common ||"undefined"
1315 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1316 %files profile_common
1317 # default .so files are housed in the main pkg.
1320 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1321 # if mobile || "undefined"
1322 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1323 %files profile_mobile
1324 %manifest dali-adaptor.manifest
1325 %defattr(-,root,root,-)
1326 %{_libdir}/libdali-adaptor.so.mobile
1327 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1330 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1331 # if tv ||"undefined"
1332 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1334 %manifest dali-adaptor.manifest
1335 %defattr(-,root,root,-)
1336 %{_libdir}/libdali-adaptor.so.tv
1337 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1340 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1341 # if wearable || "undefined"
1342 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1343 %files profile_wearable
1344 %manifest dali-adaptor.manifest
1345 %defattr(-,root,root,-)
1346 %{_libdir}/libdali-adaptor.so.wearable
1347 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1350 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1351 # if ivi ||"undefined"
1352 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1354 %manifest dali-adaptor.manifest
1355 %defattr(-,root,root,-)
1356 %{_libdir}/libdali-adaptor.so.ivi
1357 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1362 %defattr(-,root,root,-)
1363 %{dev_include_path}/dali/dali.h
1364 %{dev_include_path}/dali/public-api/*
1365 %{dev_include_path}/dali/devel-api/*
1366 %{dev_include_path}/dali/doc/*
1367 %{_libdir}/pkgconfig/dali-adaptor.pc
1369 %files integration-devel
1370 %defattr(-,root,root,-)
1371 %{dev_include_path}/dali/integration-api/adaptors/*
1372 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1374 %if !0%{?disable_cxx03_build}
1375 ################################################
1377 ################################################
1379 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1380 # if common ||"undefined"
1381 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1382 %files profile_common-cxx03
1383 # default .so files are housed in the main pkg.
1386 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1387 # if mobile || "undefined"
1388 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1389 %files profile_mobile-cxx03
1390 %manifest dali-adaptor.manifest
1391 %defattr(-,root,root,-)
1392 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1393 %{_libdir}/libdali-adaptor.so.0*mobile
1396 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1397 # if tv ||"undefined"
1398 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1399 %files profile_tv-cxx03
1400 %manifest dali-adaptor.manifest
1401 %defattr(-,root,root,-)
1402 %{_libdir}/libdali-adaptor-cxx03.so.tv
1403 %{_libdir}/libdali-adaptor.so.0*.tv
1406 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1407 # if wearable || "undefined"
1408 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1409 %files profile_wearable-cxx03
1410 %manifest dali-adaptor.manifest
1411 %defattr(-,root,root,-)
1412 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1413 %{_libdir}/libdali-adaptor.so.0*.wearable
1416 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1417 # if ivi ||"undefined"
1418 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1419 %files profile_ivi-cxx03
1420 %manifest dali-adaptor.manifest
1421 %defattr(-,root,root,-)
1422 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1423 %{_libdir}/libdali-adaptor.so.0*.ivi
1428 %defattr(-,root,root,-)
1429 %{dev_include_path}/dali/dali.h
1430 %{dev_include_path}/dali/public-api/*
1431 %{dev_include_path}/dali/devel-api/*
1432 %{dev_include_path}/dali/doc/*
1433 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1435 %files integration-devel-cxx03
1436 %defattr(-,root,root,-)
1437 %{dev_include_path}/dali/integration-api/adaptors/*
1438 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc