2 # This spec file is used to build DALi Adaptor for different Tizen Profiles
3 # Current profiles are: Mobile, TV, Wearable, Common
5 # The profile variable is defined outside of the spec file in a build.conf file.
6 # It will contain the profile and whether or not to build with X11 or Wayland
8 # gbs will try to download the build.conf for the platform automatically from the repo location when
9 # performing a gbs build ( use gbs build -v to see it download location) E.g.
10 # http://download.tizen.org/snapshots/tizen/tv/tizen-tv/repos/arm-wayland/packages/repodata/xxxx-build.conf.gz
12 # Do not provide .so automatically for the extensions.
13 # This if statement is for backward compatibility with GBM/Obsolete build systems
14 %if "%{?profile}" != "wearable" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
15 %global __provides_exclude_from ^.*\\.(wearable|mobile|tv|ivi|common)$
21 Summary: The DALi Tizen Adaptor
24 Group: System/Libraries
25 License: Apache-2.0 and BSD-3-Clause and MIT
26 URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
27 Source0: %{name}-%{version}.tar.gz
29 Requires(post): /sbin/ldconfig
30 Requires(postun): /sbin/ldconfig
33 #need libtzplatform-config for directory if tizen version is 3.x
35 %if 0%{?tizen_version_major} >= 3
36 %define tizen_platform_config_supported 1
37 BuildRequires: pkgconfig(libtzplatform-config)
40 %if 0%{?tizen_version_major} < 4
41 %define disable_cxx03_build 1
44 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
46 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
47 %define profile %{tizen_profile_name}
50 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
51 # if wearable || "undefined"
52 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
53 BuildRequires: pkgconfig(capi-appfw-watch-application)
54 BuildRequires: pkgconfig(appcore-watch)
55 BuildRequires: pkgconfig(screen_connector_provider)
58 BuildRequires: pkgconfig(gles20)
59 BuildRequires: pkgconfig(glesv2)
60 BuildRequires: pkgconfig(ttrace)
62 %if !0%{?disable_cxx03_build}
63 BuildRequires: dali-devel-cxx03
64 BuildRequires: dali-integration-devel-cxx03
66 BuildRequires: dali-devel
67 BuildRequires: dali-integration-devel
69 BuildRequires: pkgconfig
71 BuildRequires: giflib-devel
72 BuildRequires: pkgconfig(fontconfig)
73 BuildRequires: libjpeg-turbo-devel
74 BuildRequires: pkgconfig(vconf)
75 BuildRequires: tts-devel
76 BuildRequires: pkgconfig(dlog)
77 BuildRequires: libdrm-devel
78 BuildRequires: pkgconfig(libexif)
79 BuildRequires: pkgconfig(libpng)
80 BuildRequires: pkgconfig(egl)
81 BuildRequires: libcurl-devel
82 BuildRequires: pkgconfig(harfbuzz)
83 BuildRequires: fribidi-devel
85 BuildRequires: pkgconfig(capi-system-info)
86 BuildRequires: pkgconfig(capi-system-sensor)
90 ####### BUILDING FOR WAYLAND #######
91 BuildRequires: pkgconfig(wayland-egl)
92 BuildRequires: pkgconfig(wayland-client)
93 BuildRequires: wayland-devel
94 BuildRequires: wayland-extension-client-devel
96 # dali-adaptor uses ecore mainloop
97 BuildRequires: pkgconfig(ecore-wayland)
99 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
100 BuildRequires: pkgconfig(libtbm)
102 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
103 %if !0%{?disable_cxx03_build}
104 BuildRequires: pkgconfig(tpkp-curl-deprecated)
106 BuildRequires: pkgconfig(tpkp-curl)
108 ####### BUILDING FOR X11#######
110 BuildRequires: pkgconfig(egl)
111 BuildRequires: pkgconfig(xext)
112 BuildRequires: pkgconfig(xi)
113 BuildRequires: pkgconfig(xfixes)
114 BuildRequires: pkgconfig(xdamage)
115 BuildRequires: pkgconfig(utilX)
119 %if 0%{?tizen_version_major} == 3
120 BuildRequires: pkgconfig(capi-appfw-application)
121 BuildRequires: pkgconfig(elementary)
123 BuildRequires: pkgconfig(appcore-ui)
124 BuildRequires: pkgconfig(capi-appfw-app-common)
125 BuildRequires: pkgconfig(capi-appfw-app-control)
126 BuildRequires: pkgconfig(ecore-imf)
129 BuildRequires: pkgconfig(capi-system-system-settings)
131 # for feedback plugin
132 BuildRequires: pkgconfig(mm-sound)
133 %if 0%{?tizen_version_major} >= 3
134 BuildRequires: pkgconfig(feedback)
137 # for Web Engine Lite Plugin
138 %if 0%{?enable_web_engine_lite}
139 BuildRequires: lightweight-web-engine
140 BuildRequires: lightweight-web-engine-devel
144 Requires: %{name}-compat = %{version}-%{release}
145 Recommends: %{name}-profile_common = %{version}-%{release}
148 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
149 platform abstraction and application shell
151 %if !0%{?disable_cxx03_build}
153 Summary: The DALi Tizen Adaptor with cxx03 abi
154 Provides: %{name}-cxx03 = %{version}-%{release}
157 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
158 platform abstraction and application shell
161 ###########################################
162 # Dali adapter for profiles
163 ###########################################
165 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
166 # if mobile || "undefined"
167 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
168 %package profile_mobile
169 Summary: The DALi Tizen Adaptor for mobile
170 Provides: %{name}-compat = %{version}-%{release}
171 Conflicts: %{name}-profile_tv
172 Conflicts: %{name}-profile_wearable
173 Conflicts: %{name}-profile_ivi
174 Conflicts: %{name}-profile_common
175 %description profile_mobile
176 The DALi Tizen Adaptor for mobile.
179 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
180 # if tv ||"undefined"
181 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
183 Summary: The DALi Tizen Adaptor for tv
184 Provides: %{name}-compat = %{version}-%{release}
185 Conflicts: %{name}-profile_mobile
186 Conflicts: %{name}-profile_wearable
187 Conflicts: %{name}-profile_ivi
188 Conflicts: %{name}-profile_common
189 %description profile_tv
190 The DALi Tizen Adaptor for tv.
193 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
194 # if wearable || "undefined"
195 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
196 %package profile_wearable
197 Summary: The DALi Tizen Adaptor for wearable
198 Provides: %{name}-compat = %{version}-%{release}
199 Conflicts: %{name}-profile_mobile
200 Conflicts: %{name}-profile_tv
201 Conflicts: %{name}-profile_ivi
202 Conflicts: %{name}-profile_common
203 %description profile_wearable
204 The DALi Tizen Adaptor for wearable.
207 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
208 # if ivi ||"undefined"
209 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
211 Summary: The DALi Tizen Adaptor for ivi
212 Provides: %{name}-compat = %{version}-%{release}
213 Conflicts: %{name}-profile_mobile
214 Conflicts: %{name}-profile_wearable
215 Conflicts: %{name}-profile_tv
216 Conflicts: %{name}-profile_common
217 %description profile_ivi
218 The DALi Tizen Adaptor for ivi.
221 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
222 # if common ||"undefined"
223 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
224 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
225 %package profile_common
226 %define tizen_2_2_compatibility 0
227 Summary: The DALi Tizen Adaptor for common
228 Provides: %{name}-compat = %{version}-%{release}
229 Conflicts: %{name}-profile_mobile
230 Conflicts: %{name}-profile_wearable
231 Conflicts: %{name}-profile_tv
232 Conflicts: %{name}-profile_ivi
233 %description profile_common
234 The DALi Tizen Adaptor for common.
237 %if !0%{?disable_cxx03_build}
238 ###########################################
239 # Dali adapter for profiles for cxx03 ABI
240 ###########################################
242 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
243 # if mobile || "undefined"
244 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
245 %package profile_mobile-cxx03
246 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
247 Provides: %{name}-cxx03-compat = %{version}-%{release}
248 Conflicts: %{name}-profile_tv-cxx03
249 Conflicts: %{name}-profile_wearable-cxx03
250 Conflicts: %{name}-profile_ivi-cxx03
251 Conflicts: %{name}-profile_common-cxx03
252 %description profile_mobile-cxx03
253 The DALi Tizen Adaptor for mobile.
256 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
257 # if tv ||"undefined"
258 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
259 %package profile_tv-cxx03
260 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
261 Provides: %{name}-cxx03-compat = %{version}-%{release}
262 Conflicts: %{name}-profile_mobile-cxx03
263 Conflicts: %{name}-profile_wearable-cxx03
264 Conflicts: %{name}-profile_ivi-cxx03
265 Conflicts: %{name}-profile_common-cxx03
266 %description profile_tv-cxx03
267 The DALi Tizen Adaptor for tv.
270 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
271 # if wearable || "undefined"
272 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
273 %package profile_wearable-cxx03
274 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
275 Provides: %{name}-cxx03-compat = %{version}-%{release}
276 Conflicts: %{name}-profile_mobile-cxx03
277 Conflicts: %{name}-profile_tv-cxx03
278 Conflicts: %{name}-profile_ivi-cxx03
279 Conflicts: %{name}-profile_common-cxx03
280 %description profile_wearable-cxx03
281 The DALi Tizen Adaptor for wearable.
284 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
285 # if ivi ||"undefined"
286 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
287 %package profile_ivi-cxx03
288 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
289 Provides: %{name}-cxx03-compat = %{version}-%{release}
290 Conflicts: %{name}-profile_mobile-cxx03
291 Conflicts: %{name}-profile_wearable-cxx03
292 Conflicts: %{name}-profile_tv-cxx03
293 Conflicts: %{name}-profile_common-cxx03
294 %description profile_ivi-cxx03
295 The DALi Tizen Adaptor for ivi.
298 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
299 # if common ||"undefined"
300 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
301 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
302 %package profile_common-cxx03
303 %define tizen_2_2_compatibility 0
304 Summary: The DALi Tizen Adaptor for common with cxx03 abi
305 Provides: %{name}-cxx03-compat = %{version}-%{release}
306 Conflicts: %{name}-profile_mobile-cxx03
307 Conflicts: %{name}-profile_wearable-cxx03
308 Conflicts: %{name}-profile_tv-cxx03
309 Conflicts: %{name}-profile_ivi-cxx03
310 %description profile_common-cxx03
311 The DALi Tizen Adaptor for common.
315 ##############################
317 ##############################
319 Summary: Development components for the DALi Tizen Adaptor
320 Group: Development/Building
321 Requires: %{name} = %{version}-%{release}
322 Requires: %{name}-integration-devel = %{version}-%{release}
325 Development components for the DALi Tizen Adaptor - public headers and package configs
327 ##############################
329 ##############################
330 %package integration-devel
331 Summary: Integration development package for the Adaptor
332 Group: Development/Building
333 Requires: %{name} = %{version}-%{release}
335 %description integration-devel
336 Integration development package for the Adaptor - headers for integrating with an adaptor library.
338 %if !0%{?disable_cxx03_build}
339 ##############################
341 ##############################
343 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
344 Group: Development/Building
345 Requires: %{name}-cxx03 = %{version}-%{release}
346 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
348 %description devel-cxx03
349 Development components for the DALi Tizen Adaptor - public headers and package configs
351 ##############################
352 # integration-devel cxx03
353 ##############################
354 %package integration-devel-cxx03
355 Summary: Integration development package for the Adaptor with cxx03 abi
356 Group: Development/Building
357 Requires: %{name}-cxx03 = %{version}-%{release}
359 %description integration-devel-cxx03
360 Integration development package for the Adaptor - headers for integrating with an adaptor library.
363 ##############################
364 # Dali Feedback Plugin
365 ##############################
366 %package dali-feedback-plugin
367 Summary: Plugin to play haptic and audio feedback for Dali
368 Group: System/Libraries
369 Requires: %{name} = %{version}-%{release}
370 %description dali-feedback-plugin
371 Feedback plugin to play haptic and audio feedback for Dali
373 ##############################
374 # Dali WebEngineLite Plugin
375 ##############################
377 %package dali-web-engine-lite-plugin
378 Summary: Plugin WebEngineLite for Dali
379 Group: System/Libraries
380 %description dali-web-engine-lite-plugin
381 WebEngineLite plugin for Dali
383 %if !0%{?disable_cxx03_build}
384 ##############################
385 # Dali Feedback Plugin cxx03
386 ##############################
388 %package dali-feedback-plugin-cxx03
389 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
390 Group: System/Libraries
391 Requires: %{name}-cxx03 = %{version}-%{release}
392 %description dali-feedback-plugin-cxx03
393 Feedback plugin to play haptic and audio feedback for Dali
395 ##############################
396 # Dali WebEngineLite Plugin
397 ##############################
399 %package dali-web-engine-lite-plugin-cxx03
400 Summary: Plugin WebEngineLite for Dali with cxx03 abi
401 Group: System/Libraries
402 %description dali-web-engine-lite-plugin-cxx03
403 WebEngineLite plugin for Dali
406 ##############################
408 ##############################
412 #Use TZ_PATH when tizen version is 3.x or greater
414 %if 0%{?tizen_version_major} >= 3
415 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
416 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
417 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
418 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
419 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
420 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
422 %define dali_data_rw_dir /usr/share/dali/
423 %define dali_data_ro_dir /usr/share/dali/
424 %define font_preloaded_path /usr/share/fonts/
425 %define font_downloaded_path /opt/share/fonts/
426 %define font_application_path /usr/share/app_fonts/
427 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
430 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
431 %define dali_plugin_sound_files /plugins/sounds/
432 %define dev_include_path %{_includedir}
434 ##############################
436 ##############################
439 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
440 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
443 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
448 CXXFLAGS+=" -DWAYLAND"
449 configure_flags="--enable-wayland"
452 # Use this conditional when Tizen version is 4.x or greater
453 %if 0%{?tizen_version_major} >= 4
454 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
457 %if 0%{?tizen_2_2_compatibility}
458 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
459 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
463 cd %{_builddir}/%{name}-%{version}/build/tizen
466 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
467 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
468 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
469 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
470 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
471 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
472 %if 0%{?tizen_platform_config_supported}
473 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
476 # Default to GLES 2.0 if not specified.
477 %if 0%{?target_gles_version} == 0
478 %define target_gles_version 20
481 # Set up the build via configure.
482 #######################################################################
483 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
484 # if mobile || "undefined"
485 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
486 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
487 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
488 --enable-tizen-major-version=%{tizen_version_major} \
489 %if 0%{?tizen_version_major} >= 3
492 %if 0%{?tizen_2_2_compatibility}
493 --with-tizen-2-2-compatibility \
500 %if 0%{?enable_web_engine_lite}
501 --enable-web-engine-lite \
503 %if 0%{?enable_debug}
507 $configure_flags --libdir=%{_libdir} \
508 --enable-rename-so=no
511 make %{?jobs:-j%jobs}
513 pushd %{_builddir}/%{name}-%{version}/build/tizen
514 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
517 pushd %{buildroot}%{_libdir}
518 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
519 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
520 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
527 #######################################################################
528 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
529 # if tv ||"undefined"
530 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
531 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
532 --enable-shaderbincache=DISABLE --enable-profile=TV \
533 --enable-tizen-major-version=%{tizen_version_major} \
534 %if 0%{?tizen_version_major} >= 3
537 %if 0%{?tizen_2_2_compatibility}
538 --with-tizen-2-2-compatibility \
545 %if 0%{?enable_web_engine_lite}
546 --enable-web-engine-lite \
548 %if 0%{?enable_debug}
552 $configure_flags --libdir=%{_libdir} \
553 --enable-rename-so=no
556 make %{?jobs:-j%jobs}
558 pushd %{_builddir}/%{name}-%{version}/build/tizen
559 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
562 pushd %{buildroot}%{_libdir}
563 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
564 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
565 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
571 #######################################################################
572 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
573 # if wearable || "undefined"
574 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
575 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
576 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
577 --enable-tizen-major-version=%{tizen_version_major} \
578 %if 0%{?tizen_version_major} >= 3
581 %if 0%{?tizen_2_2_compatibility}
582 --with-tizen-2-2-compatibility \
589 %if 0%{?enable_web_engine_lite}
590 --enable-web-engine-lite \
592 %if 0%{?enable_debug}
596 $configure_flags --libdir=%{_libdir} \
597 --enable-rename-so=no
600 make %{?jobs:-j%jobs}
602 pushd %{_builddir}/%{name}-%{version}/build/tizen
603 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
606 pushd %{buildroot}%{_libdir}
607 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
608 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
609 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
615 #######################################################################
616 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
617 # if ivi ||"undefined"
618 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
619 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
620 --enable-shaderbincache=DISABLE --enable-profile=IVI \
621 --enable-tizen-major-version=%{tizen_version_major} \
622 %if 0%{?tizen_version_major} >= 3
625 %if 0%{?tizen_2_2_compatibility}
626 --with-tizen-2-2-compatibility \
633 %if 0%{?enable_web_engine_lite}
634 --enable-web-engine-lite \
636 %if 0%{?enable_debug}
640 $configure_flags --libdir=%{_libdir} \
641 --enable-rename-so=no
644 make %{?jobs:-j%jobs}
646 pushd %{_builddir}/%{name}-%{version}/build/tizen
647 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
650 pushd %{buildroot}%{_libdir}
651 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
652 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
654 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
660 #######################################################################
662 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
663 # if common ||"undefined"
664 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
665 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
666 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
667 --enable-tizen-major-version=%{tizen_version_major} \
668 %if 0%{?tizen_version_major} >= 3
671 %if 0%{?tizen_2_2_compatibility}
672 --with-tizen-2-2-compatibility \
679 %if 0%{?enable_web_engine_lite}
680 --enable-web-engine-lite \
682 %if 0%{?enable_debug}
686 $configure_flags --libdir=%{_libdir} \
687 --enable-rename-so=no
690 make %{?jobs:-j%jobs}
692 pushd %{_builddir}/%{name}-%{version}/build/tizen
693 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
696 pushd %{buildroot}%{_libdir}
697 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
698 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
700 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
707 %if !0%{?disable_cxx03_build}
708 #######################################################################
710 #######################################################################
712 # Set up the build via configure.
713 #######################################################################
714 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
715 # if mobile || "undefined"
716 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
718 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
719 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
720 --enable-tizen-major-version=%{tizen_version_major} \
721 %if 0%{?tizen_version_major} >= 3
724 --enable-cxx03-abi=yes \
725 %if 0%{?tizen_2_2_compatibility}
726 --with-tizen-2-2-compatibility \
733 %if 0%{?enable_web_engine_lite}
734 --enable-web-engine-lite \
736 %if 0%{?enable_debug}
740 $configure_flags --libdir=%{_libdir} \
741 --enable-rename-so=no
744 make %{?jobs:-j%jobs}
746 pushd %{_builddir}/%{name}-%{version}/build/tizen
747 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
750 pushd %{buildroot}%{_libdir}
751 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
752 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
759 #######################################################################
760 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
761 # if tv ||"undefined"
762 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
764 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
765 --enable-shaderbincache=DISABLE --enable-profile=TV \
766 --enable-tizen-major-version=%{tizen_version_major} \
767 %if 0%{?tizen_version_major} >= 3
770 --enable-cxx03-abi=yes \
771 %if 0%{?tizen_2_2_compatibility}
772 --with-tizen-2-2-compatibility \
779 %if 0%{?enable_web_engine_lite}
780 --enable-web-engine-lite \
782 %if 0%{?enable_debug}
786 $configure_flags --libdir=%{_libdir} \
787 --enable-rename-so=no
790 make %{?jobs:-j%jobs}
792 pushd %{_builddir}/%{name}-%{version}/build/tizen
793 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
796 pushd %{buildroot}%{_libdir}
797 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
798 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
804 #######################################################################
805 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
806 # if wearable || "undefined"
807 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
809 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
810 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
811 --enable-tizen-major-version=%{tizen_version_major} \
812 %if 0%{?tizen_version_major} >= 3
815 --enable-cxx03-abi=yes \
816 %if 0%{?tizen_2_2_compatibility}
817 --with-tizen-2-2-compatibility \
824 %if 0%{?enable_web_engine_lite}
825 --enable-web-engine-lite \
827 %if 0%{?enable_debug}
831 $configure_flags --libdir=%{_libdir} \
832 --enable-rename-so=no
835 make %{?jobs:-j%jobs}
837 pushd %{_builddir}/%{name}-%{version}/build/tizen
838 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
841 pushd %{buildroot}%{_libdir}
842 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
843 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
849 #######################################################################
850 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
851 # if ivi ||"undefined"
852 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
854 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
855 --enable-shaderbincache=DISABLE --enable-profile=IVI \
856 --enable-tizen-major-version=%{tizen_version_major} \
857 %if 0%{?tizen_version_major} >= 3
860 --enable-cxx03-abi=yes \
861 %if 0%{?tizen_2_2_compatibility}
862 --with-tizen-2-2-compatibility \
869 %if 0%{?enable_web_engine_lite}
870 --enable-web-engine-lite \
872 %if 0%{?enable_debug}
876 $configure_flags --libdir=%{_libdir} \
877 --enable-rename-so=no
880 make %{?jobs:-j%jobs}
882 pushd %{_builddir}/%{name}-%{version}/build/tizen
883 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
886 pushd %{buildroot}%{_libdir}
887 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
888 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
894 #######################################################################
896 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
897 # if common ||"undefined"
898 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
900 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
901 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
902 --enable-tizen-major-version=%{tizen_version_major} \
903 %if 0%{?tizen_version_major} >= 3
906 --enable-cxx03-abi=yes \
907 %if 0%{?tizen_2_2_compatibility}
908 --with-tizen-2-2-compatibility \
915 %if 0%{?enable_web_engine_lite}
916 --enable-web-engine-lite \
918 %if 0%{?enable_debug}
922 $configure_flags --libdir=%{_libdir} \
923 --enable-rename-so=no
926 make %{?jobs:-j%jobs}
931 ##############################
933 ##############################
937 pushd %{_builddir}/%{name}-%{version}/build/tizen
938 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
941 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
942 # !unified && (wearable || tv || ivi || mobile)
943 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
944 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
947 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
948 # wearable || tv || ivi || mobile || unified
949 %if "%{?profile}" != "common"
950 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
951 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
955 ################################################
957 ###############################################
958 pushd %{buildroot}%{_libdir}
960 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
961 # if common ||"undefined"
962 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
963 rm -rf libdali-adaptor*.so
964 %if !0%{?disable_cxx03_build}
965 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
967 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
970 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
971 # if wearable || "undefined"
972 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
973 rm -rf libdali-adaptor*.so.wearable
974 %if !0%{?disable_cxx03_build}
975 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
977 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
980 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
981 # if tv ||"undefined"
982 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
983 rm -rf libdali-adaptor*.so.tv
984 %if !0%{?disable_cxx03_build}
985 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
987 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
990 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
991 # if ivi ||"undefined"
992 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
993 rm -rf libdali-adaptor*.so.ivi
994 %if !0%{?disable_cxx03_build}
995 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
997 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1000 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1001 # if mobile || "undefined"
1002 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1003 rm -rf libdali-adaptor*.so.mobile
1004 %if !0%{?disable_cxx03_build}
1005 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1007 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1011 ##############################
1013 # 1 - Pre Install new package
1014 # 2 - Install new package
1015 # 3 - Post install new package
1016 # 4 - Pre uninstall old package
1017 # 5 - Remove files not overwritten by new package
1018 # 6 - Post uninstall old package
1019 ##############################
1024 ##############################
1025 # Post Install new package
1026 ##############################
1031 ##############################
1032 # Pre Uninstall old package
1033 ##############################
1037 ##############################
1038 # Post Uninstall old package
1039 ##############################
1044 #%if %{with wayland}
1045 %post dali-web-engine-lite-plugin
1050 ##############################
1052 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1053 # if mobile || "undefined"
1054 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1055 %post profile_mobile
1057 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1062 %postun profile_mobile
1067 ##############################
1069 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1070 # if tv ||"undefined"
1071 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1074 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1084 ##############################
1086 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1087 # if wearable || "undefined"
1088 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1089 %post profile_wearable
1091 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1096 %postun profile_wearable
1101 ##############################
1103 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1104 # if ivi ||"undefined"
1105 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1108 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1118 %if !0%{?disable_cxx03_build}
1119 ##############################
1121 #############################
1122 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1123 # if mobile || "undefined"
1124 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1125 %post profile_mobile-cxx03
1127 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1132 %postun profile_mobile-cxx03
1137 ##############################
1139 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1140 # if tv ||"undefined"
1141 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1142 %post profile_tv-cxx03
1144 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1149 %postun profile_tv-cxx03
1154 ##############################
1156 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1157 # if wearable || "undefined"
1158 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1159 %post profile_wearable-cxx03
1161 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1166 %postun profile_wearable-cxx03
1171 ##############################
1173 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1174 # if ivi ||"undefined"
1175 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1176 %post profile_ivi-cxx03
1178 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1183 %postun profile_ivi-cxx03
1189 ##############################
1190 # Files in Binary Packages
1191 ##############################
1194 %manifest dali-adaptor.manifest
1195 %defattr(-,root,root,-)
1196 %defattr(-,app,app,-)
1197 %dir %{user_shader_cache_dir}
1201 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1202 # if common ||"undefined"
1203 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1204 %defattr(-,root,root,-)
1205 %{_libdir}/libdali-adaptor-cxx11.so.0*
1206 %{_libdir}/libdali-adaptor.so
1207 %exclude %{_libdir}/libdali-adap*.so*.mobile
1208 %exclude %{_libdir}/libdali-adap*.so*.wearable
1209 %exclude %{_libdir}/libdali-adap*.so*.tv
1210 %exclude %{_libdir}/libdali-adap*.so*.ivi
1213 %if !0%{?disable_cxx03_build}
1215 %manifest dali-adaptor.manifest
1216 %defattr(-,root,root,-)
1217 %defattr(-,app,app,-)
1218 %dir %{user_shader_cache_dir}
1221 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1222 # if common ||"undefined"
1223 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1224 %defattr(-,root,root,-)
1225 %{_libdir}/libdali-adaptor.so.0*
1226 %{_libdir}/libdali-adaptor-cxx03.so
1227 %exclude %{_libdir}/libdali-adap*.so*.mobile
1228 %exclude %{_libdir}/libdali-adap*.so*.wearable
1229 %exclude %{_libdir}/libdali-adap*.so*.tv
1230 %exclude %{_libdir}/libdali-adap*.so*.ivi
1233 %if 0%{?tizen_version_major} >= 3
1234 %if 0%{?enable_web_engine_lite}
1235 %files dali-web-engine-lite-plugin-cxx03
1236 %manifest dali-adaptor.manifest
1237 %defattr(-,root,root,-)
1238 %{_libdir}/libdali-web-engine-lite-plugin.so*
1242 %files dali-feedback-plugin-cxx03
1243 %manifest dali-adaptor.manifest
1244 %defattr(-,root,root,-)
1245 %{_libdir}/libdali-feedback-plugin.so*
1246 %{dali_plugin_sound_files}/*
1250 #################################################
1252 %if 0%{?tizen_version_major} >= 3
1253 %if 0%{?enable_web_engine_lite}
1254 %files dali-web-engine-lite-plugin
1255 %manifest dali-adaptor.manifest
1256 %defattr(-,root,root,-)
1257 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1261 %files dali-feedback-plugin
1262 %manifest dali-adaptor.manifest
1263 %defattr(-,root,root,-)
1264 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1265 %{dali_plugin_sound_files}/*
1268 #################################################
1270 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1271 # if common ||"undefined"
1272 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1273 %files profile_common
1274 # default .so files are housed in the main pkg.
1277 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1278 # if mobile || "undefined"
1279 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1280 %files profile_mobile
1281 %manifest dali-adaptor.manifest
1282 %defattr(-,root,root,-)
1283 %{_libdir}/libdali-adaptor.so.mobile
1284 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1287 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1288 # if tv ||"undefined"
1289 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1291 %manifest dali-adaptor.manifest
1292 %defattr(-,root,root,-)
1293 %{_libdir}/libdali-adaptor.so.tv
1294 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1297 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1298 # if wearable || "undefined"
1299 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1300 %files profile_wearable
1301 %manifest dali-adaptor.manifest
1302 %defattr(-,root,root,-)
1303 %{_libdir}/libdali-adaptor.so.wearable
1304 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1307 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1308 # if ivi ||"undefined"
1309 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1311 %manifest dali-adaptor.manifest
1312 %defattr(-,root,root,-)
1313 %{_libdir}/libdali-adaptor.so.ivi
1314 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1319 %defattr(-,root,root,-)
1320 %{dev_include_path}/dali/dali.h
1321 %{dev_include_path}/dali/public-api/*
1322 %{dev_include_path}/dali/devel-api/*
1323 %{dev_include_path}/dali/doc/*
1324 %{_libdir}/pkgconfig/dali-adaptor.pc
1326 %files integration-devel
1327 %defattr(-,root,root,-)
1328 %{dev_include_path}/dali/integration-api/adaptors/*
1329 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1331 %if !0%{?disable_cxx03_build}
1332 ################################################
1334 ################################################
1336 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1337 # if common ||"undefined"
1338 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1339 %files profile_common-cxx03
1340 # default .so files are housed in the main pkg.
1343 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1344 # if mobile || "undefined"
1345 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1346 %files profile_mobile-cxx03
1347 %manifest dali-adaptor.manifest
1348 %defattr(-,root,root,-)
1349 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1350 %{_libdir}/libdali-adaptor.so.0*mobile
1353 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1354 # if tv ||"undefined"
1355 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1356 %files profile_tv-cxx03
1357 %manifest dali-adaptor.manifest
1358 %defattr(-,root,root,-)
1359 %{_libdir}/libdali-adaptor-cxx03.so.tv
1360 %{_libdir}/libdali-adaptor.so.0*.tv
1363 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1364 # if wearable || "undefined"
1365 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1366 %files profile_wearable-cxx03
1367 %manifest dali-adaptor.manifest
1368 %defattr(-,root,root,-)
1369 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1370 %{_libdir}/libdali-adaptor.so.0*.wearable
1373 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1374 # if ivi ||"undefined"
1375 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1376 %files profile_ivi-cxx03
1377 %manifest dali-adaptor.manifest
1378 %defattr(-,root,root,-)
1379 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1380 %{_libdir}/libdali-adaptor.so.0*.ivi
1385 %defattr(-,root,root,-)
1386 %{dev_include_path}/dali/dali.h
1387 %{dev_include_path}/dali/public-api/*
1388 %{dev_include_path}/dali/devel-api/*
1389 %{dev_include_path}/dali/doc/*
1390 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1392 %files integration-devel-cxx03
1393 %defattr(-,root,root,-)
1394 %{dev_include_path}/dali/integration-api/adaptors/*
1395 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc