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-widget-base)
127 BuildRequires: pkgconfig(capi-appfw-app-common)
128 BuildRequires: pkgconfig(capi-appfw-app-control)
129 BuildRequires: pkgconfig(ecore-imf)
132 BuildRequires: pkgconfig(capi-system-system-settings)
134 # for feedback plugin
135 BuildRequires: pkgconfig(mm-sound)
136 %if 0%{?tizen_version_major} >= 3
137 BuildRequires: pkgconfig(feedback)
140 # for Web Engine Lite Plugin
141 %if 0%{?enable_web_engine_lite}
142 BuildRequires: lightweight-web-engine
143 BuildRequires: lightweight-web-engine-devel
147 Requires: %{name}-compat = %{version}-%{release}
148 Recommends: %{name}-profile_common = %{version}-%{release}
151 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
152 platform abstraction and application shell
154 %if !0%{?disable_cxx03_build}
156 Summary: The DALi Tizen Adaptor with cxx03 abi
157 Provides: %{name}-cxx03 = %{version}-%{release}
160 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
161 platform abstraction and application shell
164 ###########################################
165 # Dali adapter for profiles
166 ###########################################
168 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
169 # if mobile || "undefined"
170 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
171 %package profile_mobile
172 Summary: The DALi Tizen Adaptor for mobile
173 Provides: %{name}-compat = %{version}-%{release}
174 Conflicts: %{name}-profile_tv
175 Conflicts: %{name}-profile_wearable
176 Conflicts: %{name}-profile_ivi
177 Conflicts: %{name}-profile_common
178 %description profile_mobile
179 The DALi Tizen Adaptor for mobile.
182 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
183 # if tv ||"undefined"
184 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
186 Summary: The DALi Tizen Adaptor for tv
187 Provides: %{name}-compat = %{version}-%{release}
188 Conflicts: %{name}-profile_mobile
189 Conflicts: %{name}-profile_wearable
190 Conflicts: %{name}-profile_ivi
191 Conflicts: %{name}-profile_common
192 %description profile_tv
193 The DALi Tizen Adaptor for tv.
196 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
197 # if wearable || "undefined"
198 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
199 %package profile_wearable
200 Summary: The DALi Tizen Adaptor for wearable
201 Provides: %{name}-compat = %{version}-%{release}
202 Conflicts: %{name}-profile_mobile
203 Conflicts: %{name}-profile_tv
204 Conflicts: %{name}-profile_ivi
205 Conflicts: %{name}-profile_common
206 %description profile_wearable
207 The DALi Tizen Adaptor for wearable.
210 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
211 # if ivi ||"undefined"
212 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
214 Summary: The DALi Tizen Adaptor for ivi
215 Provides: %{name}-compat = %{version}-%{release}
216 Conflicts: %{name}-profile_mobile
217 Conflicts: %{name}-profile_wearable
218 Conflicts: %{name}-profile_tv
219 Conflicts: %{name}-profile_common
220 %description profile_ivi
221 The DALi Tizen Adaptor for ivi.
224 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
225 # if common ||"undefined"
226 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
227 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
228 %package profile_common
229 %define tizen_2_2_compatibility 0
230 Summary: The DALi Tizen Adaptor for common
231 Provides: %{name}-compat = %{version}-%{release}
232 Conflicts: %{name}-profile_mobile
233 Conflicts: %{name}-profile_wearable
234 Conflicts: %{name}-profile_tv
235 Conflicts: %{name}-profile_ivi
236 %description profile_common
237 The DALi Tizen Adaptor for common.
240 %if !0%{?disable_cxx03_build}
241 ###########################################
242 # Dali adapter for profiles for cxx03 ABI
243 ###########################################
245 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
246 # if mobile || "undefined"
247 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
248 %package profile_mobile-cxx03
249 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
250 Provides: %{name}-cxx03-compat = %{version}-%{release}
251 Conflicts: %{name}-profile_tv-cxx03
252 Conflicts: %{name}-profile_wearable-cxx03
253 Conflicts: %{name}-profile_ivi-cxx03
254 Conflicts: %{name}-profile_common-cxx03
255 %description profile_mobile-cxx03
256 The DALi Tizen Adaptor for mobile.
259 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
260 # if tv ||"undefined"
261 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
262 %package profile_tv-cxx03
263 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
264 Provides: %{name}-cxx03-compat = %{version}-%{release}
265 Conflicts: %{name}-profile_mobile-cxx03
266 Conflicts: %{name}-profile_wearable-cxx03
267 Conflicts: %{name}-profile_ivi-cxx03
268 Conflicts: %{name}-profile_common-cxx03
269 %description profile_tv-cxx03
270 The DALi Tizen Adaptor for tv.
273 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
274 # if wearable || "undefined"
275 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
276 %package profile_wearable-cxx03
277 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
278 Provides: %{name}-cxx03-compat = %{version}-%{release}
279 Conflicts: %{name}-profile_mobile-cxx03
280 Conflicts: %{name}-profile_tv-cxx03
281 Conflicts: %{name}-profile_ivi-cxx03
282 Conflicts: %{name}-profile_common-cxx03
283 %description profile_wearable-cxx03
284 The DALi Tizen Adaptor for wearable.
287 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
288 # if ivi ||"undefined"
289 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
290 %package profile_ivi-cxx03
291 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
292 Provides: %{name}-cxx03-compat = %{version}-%{release}
293 Conflicts: %{name}-profile_mobile-cxx03
294 Conflicts: %{name}-profile_wearable-cxx03
295 Conflicts: %{name}-profile_tv-cxx03
296 Conflicts: %{name}-profile_common-cxx03
297 %description profile_ivi-cxx03
298 The DALi Tizen Adaptor for ivi.
301 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
302 # if common ||"undefined"
303 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
304 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
305 %package profile_common-cxx03
306 %define tizen_2_2_compatibility 0
307 Summary: The DALi Tizen Adaptor for common with cxx03 abi
308 Provides: %{name}-cxx03-compat = %{version}-%{release}
309 Conflicts: %{name}-profile_mobile-cxx03
310 Conflicts: %{name}-profile_wearable-cxx03
311 Conflicts: %{name}-profile_tv-cxx03
312 Conflicts: %{name}-profile_ivi-cxx03
313 %description profile_common-cxx03
314 The DALi Tizen Adaptor for common.
318 ##############################
320 ##############################
322 Summary: Development components for the DALi Tizen Adaptor
323 Group: Development/Building
324 Requires: %{name} = %{version}-%{release}
325 Requires: %{name}-integration-devel = %{version}-%{release}
328 Development components for the DALi Tizen Adaptor - public headers and package configs
330 ##############################
332 ##############################
333 %package integration-devel
334 Summary: Integration development package for the Adaptor
335 Group: Development/Building
336 Requires: %{name} = %{version}-%{release}
338 %description integration-devel
339 Integration development package for the Adaptor - headers for integrating with an adaptor library.
341 %if !0%{?disable_cxx03_build}
342 ##############################
344 ##############################
346 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
347 Group: Development/Building
348 Requires: %{name}-cxx03 = %{version}-%{release}
349 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
351 %description devel-cxx03
352 Development components for the DALi Tizen Adaptor - public headers and package configs
354 ##############################
355 # integration-devel cxx03
356 ##############################
357 %package integration-devel-cxx03
358 Summary: Integration development package for the Adaptor with cxx03 abi
359 Group: Development/Building
360 Requires: %{name}-cxx03 = %{version}-%{release}
362 %description integration-devel-cxx03
363 Integration development package for the Adaptor - headers for integrating with an adaptor library.
366 ##############################
367 # Dali Feedback Plugin
368 ##############################
369 %package dali-feedback-plugin
370 Summary: Plugin to play haptic and audio feedback for Dali
371 Group: System/Libraries
372 Requires: %{name} = %{version}-%{release}
373 %description dali-feedback-plugin
374 Feedback plugin to play haptic and audio feedback for Dali
376 ##############################
377 # Dali WebEngineLite Plugin
378 ##############################
380 %package dali-web-engine-lite-plugin
381 Summary: Plugin WebEngineLite for Dali
382 Group: System/Libraries
383 %description dali-web-engine-lite-plugin
384 WebEngineLite plugin for Dali
386 %if !0%{?disable_cxx03_build}
387 ##############################
388 # Dali Feedback Plugin cxx03
389 ##############################
391 %package dali-feedback-plugin-cxx03
392 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
393 Group: System/Libraries
394 Requires: %{name}-cxx03 = %{version}-%{release}
395 %description dali-feedback-plugin-cxx03
396 Feedback plugin to play haptic and audio feedback for Dali
398 ##############################
399 # Dali WebEngineLite Plugin
400 ##############################
402 %package dali-web-engine-lite-plugin-cxx03
403 Summary: Plugin WebEngineLite for Dali with cxx03 abi
404 Group: System/Libraries
405 %description dali-web-engine-lite-plugin-cxx03
406 WebEngineLite plugin for Dali
409 ##############################
411 ##############################
415 #Use TZ_PATH when tizen version is 3.x or greater
417 %if 0%{?tizen_version_major} >= 3
418 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
419 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
420 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
421 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
422 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
423 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
425 %define dali_data_rw_dir /usr/share/dali/
426 %define dali_data_ro_dir /usr/share/dali/
427 %define font_preloaded_path /usr/share/fonts/
428 %define font_downloaded_path /opt/share/fonts/
429 %define font_application_path /usr/share/app_fonts/
430 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
433 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
434 %define dali_plugin_sound_files /plugins/sounds/
435 %define dev_include_path %{_includedir}
437 ##############################
439 ##############################
442 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
443 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
446 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
451 CXXFLAGS+=" -DWAYLAND"
452 configure_flags="--enable-wayland"
455 # Use this conditional when Tizen version is 4.x or greater
456 %if 0%{?tizen_version_major} >= 4
457 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
460 %if 0%{?tizen_2_2_compatibility}
461 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
462 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
466 cd %{_builddir}/%{name}-%{version}/build/tizen
469 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
470 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
471 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
472 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
473 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
474 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
475 %if 0%{?tizen_platform_config_supported}
476 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
479 # Default to GLES 2.0 if not specified.
480 %if 0%{?target_gles_version} == 0
481 %define target_gles_version 20
484 # Set up the build via configure.
485 #######################################################################
486 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
487 # if mobile || "undefined"
488 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
489 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
490 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
491 --enable-tizen-major-version=%{tizen_version_major} \
492 %if 0%{?tizen_version_major} >= 3
495 %if 0%{?tizen_2_2_compatibility}
496 --with-tizen-2-2-compatibility \
503 %if 0%{?enable_web_engine_lite}
504 --enable-web-engine-lite \
506 %if 0%{?enable_debug}
510 $configure_flags --libdir=%{_libdir} \
511 --enable-rename-so=no
514 make %{?jobs:-j%jobs}
516 pushd %{_builddir}/%{name}-%{version}/build/tizen
517 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
520 pushd %{buildroot}%{_libdir}
521 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
522 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
523 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
530 #######################################################################
531 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
532 # if tv ||"undefined"
533 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
534 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
535 --enable-shaderbincache=DISABLE --enable-profile=TV \
536 --enable-tizen-major-version=%{tizen_version_major} \
537 %if 0%{?tizen_version_major} >= 3
540 %if 0%{?tizen_2_2_compatibility}
541 --with-tizen-2-2-compatibility \
548 %if 0%{?enable_web_engine_lite}
549 --enable-web-engine-lite \
551 %if 0%{?enable_debug}
555 $configure_flags --libdir=%{_libdir} \
556 --enable-rename-so=no
559 make %{?jobs:-j%jobs}
561 pushd %{_builddir}/%{name}-%{version}/build/tizen
562 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
565 pushd %{buildroot}%{_libdir}
566 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
567 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
568 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
574 #######################################################################
575 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
576 # if wearable || "undefined"
577 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
578 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
579 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
580 --enable-tizen-major-version=%{tizen_version_major} \
581 %if 0%{?tizen_version_major} >= 3
584 %if 0%{?tizen_2_2_compatibility}
585 --with-tizen-2-2-compatibility \
592 %if 0%{?enable_web_engine_lite}
593 --enable-web-engine-lite \
595 %if 0%{?enable_debug}
599 $configure_flags --libdir=%{_libdir} \
600 --enable-rename-so=no
603 make %{?jobs:-j%jobs}
605 pushd %{_builddir}/%{name}-%{version}/build/tizen
606 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
609 pushd %{buildroot}%{_libdir}
610 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
611 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
612 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
618 #######################################################################
619 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
620 # if ivi ||"undefined"
621 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
622 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
623 --enable-shaderbincache=DISABLE --enable-profile=IVI \
624 --enable-tizen-major-version=%{tizen_version_major} \
625 %if 0%{?tizen_version_major} >= 3
628 %if 0%{?tizen_2_2_compatibility}
629 --with-tizen-2-2-compatibility \
636 %if 0%{?enable_web_engine_lite}
637 --enable-web-engine-lite \
639 %if 0%{?enable_debug}
643 $configure_flags --libdir=%{_libdir} \
644 --enable-rename-so=no
647 make %{?jobs:-j%jobs}
649 pushd %{_builddir}/%{name}-%{version}/build/tizen
650 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
653 pushd %{buildroot}%{_libdir}
654 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
655 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
657 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
663 #######################################################################
665 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
666 # if common ||"undefined"
667 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
668 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
669 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
670 --enable-tizen-major-version=%{tizen_version_major} \
671 %if 0%{?tizen_version_major} >= 3
674 %if 0%{?tizen_2_2_compatibility}
675 --with-tizen-2-2-compatibility \
682 %if 0%{?enable_web_engine_lite}
683 --enable-web-engine-lite \
685 %if 0%{?enable_debug}
689 $configure_flags --libdir=%{_libdir} \
690 --enable-rename-so=no
693 make %{?jobs:-j%jobs}
695 pushd %{_builddir}/%{name}-%{version}/build/tizen
696 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
699 pushd %{buildroot}%{_libdir}
700 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
701 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
703 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
710 %if !0%{?disable_cxx03_build}
711 #######################################################################
713 #######################################################################
715 # Set up the build via configure.
716 #######################################################################
717 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
718 # if mobile || "undefined"
719 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
721 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
722 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
723 --enable-tizen-major-version=%{tizen_version_major} \
724 %if 0%{?tizen_version_major} >= 3
727 --enable-cxx03-abi=yes \
728 %if 0%{?tizen_2_2_compatibility}
729 --with-tizen-2-2-compatibility \
736 %if 0%{?enable_web_engine_lite}
737 --enable-web-engine-lite \
739 %if 0%{?enable_debug}
743 $configure_flags --libdir=%{_libdir} \
744 --enable-rename-so=no
747 make %{?jobs:-j%jobs}
749 pushd %{_builddir}/%{name}-%{version}/build/tizen
750 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
753 pushd %{buildroot}%{_libdir}
754 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
755 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
762 #######################################################################
763 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
764 # if tv ||"undefined"
765 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
767 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
768 --enable-shaderbincache=DISABLE --enable-profile=TV \
769 --enable-tizen-major-version=%{tizen_version_major} \
770 %if 0%{?tizen_version_major} >= 3
773 --enable-cxx03-abi=yes \
774 %if 0%{?tizen_2_2_compatibility}
775 --with-tizen-2-2-compatibility \
782 %if 0%{?enable_web_engine_lite}
783 --enable-web-engine-lite \
785 %if 0%{?enable_debug}
789 $configure_flags --libdir=%{_libdir} \
790 --enable-rename-so=no
793 make %{?jobs:-j%jobs}
795 pushd %{_builddir}/%{name}-%{version}/build/tizen
796 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
799 pushd %{buildroot}%{_libdir}
800 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
801 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
807 #######################################################################
808 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
809 # if wearable || "undefined"
810 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
812 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
813 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
814 --enable-tizen-major-version=%{tizen_version_major} \
815 %if 0%{?tizen_version_major} >= 3
818 --enable-cxx03-abi=yes \
819 %if 0%{?tizen_2_2_compatibility}
820 --with-tizen-2-2-compatibility \
827 %if 0%{?enable_web_engine_lite}
828 --enable-web-engine-lite \
830 %if 0%{?enable_debug}
834 $configure_flags --libdir=%{_libdir} \
835 --enable-rename-so=no
838 make %{?jobs:-j%jobs}
840 pushd %{_builddir}/%{name}-%{version}/build/tizen
841 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
844 pushd %{buildroot}%{_libdir}
845 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
846 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
852 #######################################################################
853 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
854 # if ivi ||"undefined"
855 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
857 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
858 --enable-shaderbincache=DISABLE --enable-profile=IVI \
859 --enable-tizen-major-version=%{tizen_version_major} \
860 %if 0%{?tizen_version_major} >= 3
863 --enable-cxx03-abi=yes \
864 %if 0%{?tizen_2_2_compatibility}
865 --with-tizen-2-2-compatibility \
872 %if 0%{?enable_web_engine_lite}
873 --enable-web-engine-lite \
875 %if 0%{?enable_debug}
879 $configure_flags --libdir=%{_libdir} \
880 --enable-rename-so=no
883 make %{?jobs:-j%jobs}
885 pushd %{_builddir}/%{name}-%{version}/build/tizen
886 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
889 pushd %{buildroot}%{_libdir}
890 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
891 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
897 #######################################################################
899 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
900 # if common ||"undefined"
901 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
903 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
904 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
905 --enable-tizen-major-version=%{tizen_version_major} \
906 %if 0%{?tizen_version_major} >= 3
909 --enable-cxx03-abi=yes \
910 %if 0%{?tizen_2_2_compatibility}
911 --with-tizen-2-2-compatibility \
918 %if 0%{?enable_web_engine_lite}
919 --enable-web-engine-lite \
921 %if 0%{?enable_debug}
925 $configure_flags --libdir=%{_libdir} \
926 --enable-rename-so=no
929 make %{?jobs:-j%jobs}
934 ##############################
936 ##############################
940 pushd %{_builddir}/%{name}-%{version}/build/tizen
941 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
944 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
945 # !unified && (wearable || tv || ivi || mobile)
946 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
947 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
950 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
951 # wearable || tv || ivi || mobile || unified
952 %if "%{?profile}" != "common"
953 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
954 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
958 ################################################
960 ###############################################
961 pushd %{buildroot}%{_libdir}
963 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
964 # if common ||"undefined"
965 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
966 rm -rf libdali-adaptor*.so
967 %if !0%{?disable_cxx03_build}
968 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
970 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
973 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
974 # if wearable || "undefined"
975 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
976 rm -rf libdali-adaptor*.so.wearable
977 %if !0%{?disable_cxx03_build}
978 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
980 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
983 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
984 # if tv ||"undefined"
985 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
986 rm -rf libdali-adaptor*.so.tv
987 %if !0%{?disable_cxx03_build}
988 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
990 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
993 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
994 # if ivi ||"undefined"
995 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
996 rm -rf libdali-adaptor*.so.ivi
997 %if !0%{?disable_cxx03_build}
998 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1000 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1003 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1004 # if mobile || "undefined"
1005 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1006 rm -rf libdali-adaptor*.so.mobile
1007 %if !0%{?disable_cxx03_build}
1008 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1010 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1014 ##############################
1016 # 1 - Pre Install new package
1017 # 2 - Install new package
1018 # 3 - Post install new package
1019 # 4 - Pre uninstall old package
1020 # 5 - Remove files not overwritten by new package
1021 # 6 - Post uninstall old package
1022 ##############################
1027 ##############################
1028 # Post Install new package
1029 ##############################
1034 ##############################
1035 # Pre Uninstall old package
1036 ##############################
1040 ##############################
1041 # Post Uninstall old package
1042 ##############################
1047 #%if %{with wayland}
1048 %post dali-web-engine-lite-plugin
1053 ##############################
1055 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1056 # if mobile || "undefined"
1057 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1058 %post profile_mobile
1060 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1065 %postun profile_mobile
1070 ##############################
1072 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1073 # if tv ||"undefined"
1074 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1077 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1087 ##############################
1089 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1090 # if wearable || "undefined"
1091 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1092 %post profile_wearable
1094 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1099 %postun profile_wearable
1104 ##############################
1106 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1107 # if ivi ||"undefined"
1108 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1111 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1121 %if !0%{?disable_cxx03_build}
1122 ##############################
1124 #############################
1125 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1126 # if mobile || "undefined"
1127 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1128 %post profile_mobile-cxx03
1130 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1135 %postun profile_mobile-cxx03
1140 ##############################
1142 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1143 # if tv ||"undefined"
1144 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1145 %post profile_tv-cxx03
1147 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1152 %postun profile_tv-cxx03
1157 ##############################
1159 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1160 # if wearable || "undefined"
1161 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1162 %post profile_wearable-cxx03
1164 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1169 %postun profile_wearable-cxx03
1174 ##############################
1176 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1177 # if ivi ||"undefined"
1178 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1179 %post profile_ivi-cxx03
1181 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1186 %postun profile_ivi-cxx03
1192 ##############################
1193 # Files in Binary Packages
1194 ##############################
1197 %manifest dali-adaptor.manifest
1198 %defattr(-,root,root,-)
1199 %defattr(-,app,app,-)
1200 %dir %{user_shader_cache_dir}
1204 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1205 # if common ||"undefined"
1206 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1207 %defattr(-,root,root,-)
1208 %{_libdir}/libdali-adaptor-cxx11.so.0*
1209 %{_libdir}/libdali-adaptor.so
1210 %exclude %{_libdir}/libdali-adap*.so*.mobile
1211 %exclude %{_libdir}/libdali-adap*.so*.wearable
1212 %exclude %{_libdir}/libdali-adap*.so*.tv
1213 %exclude %{_libdir}/libdali-adap*.so*.ivi
1216 %if !0%{?disable_cxx03_build}
1218 %manifest dali-adaptor.manifest
1219 %defattr(-,root,root,-)
1220 %defattr(-,app,app,-)
1221 %dir %{user_shader_cache_dir}
1224 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1225 # if common ||"undefined"
1226 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1227 %defattr(-,root,root,-)
1228 %{_libdir}/libdali-adaptor.so.0*
1229 %{_libdir}/libdali-adaptor-cxx03.so
1230 %exclude %{_libdir}/libdali-adap*.so*.mobile
1231 %exclude %{_libdir}/libdali-adap*.so*.wearable
1232 %exclude %{_libdir}/libdali-adap*.so*.tv
1233 %exclude %{_libdir}/libdali-adap*.so*.ivi
1236 %if 0%{?tizen_version_major} >= 3
1237 %if 0%{?enable_web_engine_lite}
1238 %files dali-web-engine-lite-plugin-cxx03
1239 %manifest dali-adaptor.manifest
1240 %defattr(-,root,root,-)
1241 %{_libdir}/libdali-web-engine-lite-plugin.so*
1245 %files dali-feedback-plugin-cxx03
1246 %manifest dali-adaptor.manifest
1247 %defattr(-,root,root,-)
1248 %{_libdir}/libdali-feedback-plugin.so*
1249 %{dali_plugin_sound_files}/*
1253 #################################################
1255 %if 0%{?tizen_version_major} >= 3
1256 %if 0%{?enable_web_engine_lite}
1257 %files dali-web-engine-lite-plugin
1258 %manifest dali-adaptor.manifest
1259 %defattr(-,root,root,-)
1260 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1264 %files dali-feedback-plugin
1265 %manifest dali-adaptor.manifest
1266 %defattr(-,root,root,-)
1267 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1268 %{dali_plugin_sound_files}/*
1271 #################################################
1273 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1274 # if common ||"undefined"
1275 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1276 %files profile_common
1277 # default .so files are housed in the main pkg.
1280 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1281 # if mobile || "undefined"
1282 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1283 %files profile_mobile
1284 %manifest dali-adaptor.manifest
1285 %defattr(-,root,root,-)
1286 %{_libdir}/libdali-adaptor.so.mobile
1287 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1290 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1291 # if tv ||"undefined"
1292 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1294 %manifest dali-adaptor.manifest
1295 %defattr(-,root,root,-)
1296 %{_libdir}/libdali-adaptor.so.tv
1297 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1301 # if wearable || "undefined"
1302 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1303 %files profile_wearable
1304 %manifest dali-adaptor.manifest
1305 %defattr(-,root,root,-)
1306 %{_libdir}/libdali-adaptor.so.wearable
1307 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1310 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1311 # if ivi ||"undefined"
1312 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1314 %manifest dali-adaptor.manifest
1315 %defattr(-,root,root,-)
1316 %{_libdir}/libdali-adaptor.so.ivi
1317 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1322 %defattr(-,root,root,-)
1323 %{dev_include_path}/dali/dali.h
1324 %{dev_include_path}/dali/public-api/*
1325 %{dev_include_path}/dali/devel-api/*
1326 %{dev_include_path}/dali/doc/*
1327 %{_libdir}/pkgconfig/dali-adaptor.pc
1329 %files integration-devel
1330 %defattr(-,root,root,-)
1331 %{dev_include_path}/dali/integration-api/adaptors/*
1332 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1334 %if !0%{?disable_cxx03_build}
1335 ################################################
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-cxx03
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-cxx03
1350 %manifest dali-adaptor.manifest
1351 %defattr(-,root,root,-)
1352 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1353 %{_libdir}/libdali-adaptor.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"
1359 %files profile_tv-cxx03
1360 %manifest dali-adaptor.manifest
1361 %defattr(-,root,root,-)
1362 %{_libdir}/libdali-adaptor-cxx03.so.tv
1363 %{_libdir}/libdali-adaptor.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-cxx03
1370 %manifest dali-adaptor.manifest
1371 %defattr(-,root,root,-)
1372 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1373 %{_libdir}/libdali-adaptor.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"
1379 %files profile_ivi-cxx03
1380 %manifest dali-adaptor.manifest
1381 %defattr(-,root,root,-)
1382 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1383 %{_libdir}/libdali-adaptor.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-cxx03.pc
1395 %files integration-devel-cxx03
1396 %defattr(-,root,root,-)
1397 %{dev_include_path}/dali/integration-api/adaptors/*
1398 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc