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)
56 BuildRequires: pkgconfig(cynara-client)
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 BuildRequires: pkgconfig(ecore-wayland)
102 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
103 BuildRequires: pkgconfig(libtbm)
105 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
106 %if !0%{?disable_cxx03_build}
107 BuildRequires: pkgconfig(tpkp-curl-deprecated)
109 BuildRequires: pkgconfig(tpkp-curl)
111 ####### BUILDING FOR X11#######
113 BuildRequires: pkgconfig(egl)
114 BuildRequires: pkgconfig(xext)
115 BuildRequires: pkgconfig(xi)
116 BuildRequires: pkgconfig(xfixes)
117 BuildRequires: pkgconfig(xdamage)
118 BuildRequires: pkgconfig(utilX)
122 %if 0%{?tizen_version_major} == 3
123 BuildRequires: pkgconfig(capi-appfw-application)
124 BuildRequires: pkgconfig(elementary)
126 BuildRequires: pkgconfig(appcore-ui)
127 BuildRequires: pkgconfig(appcore-widget-base)
128 BuildRequires: pkgconfig(bundle)
129 BuildRequires: pkgconfig(capi-appfw-app-common)
130 BuildRequires: pkgconfig(capi-appfw-app-control)
131 BuildRequires: pkgconfig(ecore-imf)
134 BuildRequires: pkgconfig(capi-system-system-settings)
136 # for feedback plugin
137 BuildRequires: pkgconfig(mm-sound)
138 %if 0%{?tizen_version_major} >= 3
139 BuildRequires: pkgconfig(feedback)
142 # for Web Engine Lite Plugin
143 %if 0%{?enable_web_engine_lite}
144 BuildRequires: lightweight-web-engine
145 BuildRequires: lightweight-web-engine-devel
149 Requires: %{name}-compat = %{version}-%{release}
150 Recommends: %{name}-profile_common = %{version}-%{release}
153 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
154 platform abstraction and application shell
156 %if !0%{?disable_cxx03_build}
158 Summary: The DALi Tizen Adaptor with cxx03 abi
159 Provides: %{name}-cxx03 = %{version}-%{release}
162 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
163 platform abstraction and application shell
166 ###########################################
167 # Dali adapter for profiles
168 ###########################################
170 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
171 # if mobile || "undefined"
172 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
173 %package profile_mobile
174 Summary: The DALi Tizen Adaptor for mobile
175 Provides: %{name}-compat = %{version}-%{release}
176 Conflicts: %{name}-profile_tv
177 Conflicts: %{name}-profile_wearable
178 Conflicts: %{name}-profile_ivi
179 Conflicts: %{name}-profile_common
180 %description profile_mobile
181 The DALi Tizen Adaptor for mobile.
184 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
185 # if tv ||"undefined"
186 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
188 Summary: The DALi Tizen Adaptor for tv
189 Provides: %{name}-compat = %{version}-%{release}
190 Conflicts: %{name}-profile_mobile
191 Conflicts: %{name}-profile_wearable
192 Conflicts: %{name}-profile_ivi
193 Conflicts: %{name}-profile_common
194 %description profile_tv
195 The DALi Tizen Adaptor for tv.
198 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
199 # if wearable || "undefined"
200 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
201 %package profile_wearable
202 Summary: The DALi Tizen Adaptor for wearable
203 Provides: %{name}-compat = %{version}-%{release}
204 Conflicts: %{name}-profile_mobile
205 Conflicts: %{name}-profile_tv
206 Conflicts: %{name}-profile_ivi
207 Conflicts: %{name}-profile_common
208 %description profile_wearable
209 The DALi Tizen Adaptor for wearable.
212 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
213 # if ivi ||"undefined"
214 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
216 Summary: The DALi Tizen Adaptor for ivi
217 Provides: %{name}-compat = %{version}-%{release}
218 Conflicts: %{name}-profile_mobile
219 Conflicts: %{name}-profile_wearable
220 Conflicts: %{name}-profile_tv
221 Conflicts: %{name}-profile_common
222 %description profile_ivi
223 The DALi Tizen Adaptor for ivi.
226 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
227 # if common ||"undefined"
228 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
229 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
230 %package profile_common
231 %define tizen_2_2_compatibility 0
232 Summary: The DALi Tizen Adaptor for common
233 Provides: %{name}-compat = %{version}-%{release}
234 Conflicts: %{name}-profile_mobile
235 Conflicts: %{name}-profile_wearable
236 Conflicts: %{name}-profile_tv
237 Conflicts: %{name}-profile_ivi
238 %description profile_common
239 The DALi Tizen Adaptor for common.
242 %if !0%{?disable_cxx03_build}
243 ###########################################
244 # Dali adapter for profiles for cxx03 ABI
245 ###########################################
247 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
248 # if mobile || "undefined"
249 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
250 %package profile_mobile-cxx03
251 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
252 Provides: %{name}-cxx03-compat = %{version}-%{release}
253 Conflicts: %{name}-profile_tv-cxx03
254 Conflicts: %{name}-profile_wearable-cxx03
255 Conflicts: %{name}-profile_ivi-cxx03
256 Conflicts: %{name}-profile_common-cxx03
257 %description profile_mobile-cxx03
258 The DALi Tizen Adaptor for mobile.
261 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
262 # if tv ||"undefined"
263 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
264 %package profile_tv-cxx03
265 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
266 Provides: %{name}-cxx03-compat = %{version}-%{release}
267 Conflicts: %{name}-profile_mobile-cxx03
268 Conflicts: %{name}-profile_wearable-cxx03
269 Conflicts: %{name}-profile_ivi-cxx03
270 Conflicts: %{name}-profile_common-cxx03
271 %description profile_tv-cxx03
272 The DALi Tizen Adaptor for tv.
275 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
276 # if wearable || "undefined"
277 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
278 %package profile_wearable-cxx03
279 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
280 Provides: %{name}-cxx03-compat = %{version}-%{release}
281 Conflicts: %{name}-profile_mobile-cxx03
282 Conflicts: %{name}-profile_tv-cxx03
283 Conflicts: %{name}-profile_ivi-cxx03
284 Conflicts: %{name}-profile_common-cxx03
285 %description profile_wearable-cxx03
286 The DALi Tizen Adaptor for wearable.
289 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
290 # if ivi ||"undefined"
291 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
292 %package profile_ivi-cxx03
293 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
294 Provides: %{name}-cxx03-compat = %{version}-%{release}
295 Conflicts: %{name}-profile_mobile-cxx03
296 Conflicts: %{name}-profile_wearable-cxx03
297 Conflicts: %{name}-profile_tv-cxx03
298 Conflicts: %{name}-profile_common-cxx03
299 %description profile_ivi-cxx03
300 The DALi Tizen Adaptor for ivi.
303 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
304 # if common ||"undefined"
305 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
306 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
307 %package profile_common-cxx03
308 %define tizen_2_2_compatibility 0
309 Summary: The DALi Tizen Adaptor for common with cxx03 abi
310 Provides: %{name}-cxx03-compat = %{version}-%{release}
311 Conflicts: %{name}-profile_mobile-cxx03
312 Conflicts: %{name}-profile_wearable-cxx03
313 Conflicts: %{name}-profile_tv-cxx03
314 Conflicts: %{name}-profile_ivi-cxx03
315 %description profile_common-cxx03
316 The DALi Tizen Adaptor for common.
320 ##############################
322 ##############################
324 Summary: Development components for the DALi Tizen Adaptor
325 Group: Development/Building
326 Requires: %{name} = %{version}-%{release}
327 Requires: %{name}-integration-devel = %{version}-%{release}
330 Development components for the DALi Tizen Adaptor - public headers and package configs
332 ##############################
334 ##############################
335 %package integration-devel
336 Summary: Integration development package for the Adaptor
337 Group: Development/Building
338 Requires: %{name} = %{version}-%{release}
340 %description integration-devel
341 Integration development package for the Adaptor - headers for integrating with an adaptor library.
343 %if !0%{?disable_cxx03_build}
344 ##############################
346 ##############################
348 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
349 Group: Development/Building
350 Requires: %{name}-cxx03 = %{version}-%{release}
351 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
353 %description devel-cxx03
354 Development components for the DALi Tizen Adaptor - public headers and package configs
356 ##############################
357 # integration-devel cxx03
358 ##############################
359 %package integration-devel-cxx03
360 Summary: Integration development package for the Adaptor with cxx03 abi
361 Group: Development/Building
362 Requires: %{name}-cxx03 = %{version}-%{release}
364 %description integration-devel-cxx03
365 Integration development package for the Adaptor - headers for integrating with an adaptor library.
368 ##############################
369 # Dali Feedback Plugin
370 ##############################
371 %package dali-feedback-plugin
372 Summary: Plugin to play haptic and audio feedback for Dali
373 Group: System/Libraries
374 Requires: %{name} = %{version}-%{release}
375 %description dali-feedback-plugin
376 Feedback plugin to play haptic and audio feedback for Dali
378 ##############################
379 # Dali WebEngineLite Plugin
380 ##############################
382 %package dali-web-engine-lite-plugin
383 Summary: Plugin WebEngineLite for Dali
384 Group: System/Libraries
385 %description dali-web-engine-lite-plugin
386 WebEngineLite plugin for Dali
388 %if !0%{?disable_cxx03_build}
389 ##############################
390 # Dali Feedback Plugin cxx03
391 ##############################
393 %package dali-feedback-plugin-cxx03
394 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
395 Group: System/Libraries
396 Requires: %{name}-cxx03 = %{version}-%{release}
397 %description dali-feedback-plugin-cxx03
398 Feedback plugin to play haptic and audio feedback for Dali
400 ##############################
401 # Dali WebEngineLite Plugin
402 ##############################
404 %package dali-web-engine-lite-plugin-cxx03
405 Summary: Plugin WebEngineLite for Dali with cxx03 abi
406 Group: System/Libraries
407 %description dali-web-engine-lite-plugin-cxx03
408 WebEngineLite plugin for Dali
411 ##############################
413 ##############################
417 #Use TZ_PATH when tizen version is 3.x or greater
419 %if 0%{?tizen_version_major} >= 3
420 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
421 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
422 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
423 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
424 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
425 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
427 %define dali_data_rw_dir /usr/share/dali/
428 %define dali_data_ro_dir /usr/share/dali/
429 %define font_preloaded_path /usr/share/fonts/
430 %define font_downloaded_path /opt/share/fonts/
431 %define font_application_path /usr/share/app_fonts/
432 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
435 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
436 %define dali_plugin_sound_files /plugins/sounds/
437 %define dev_include_path %{_includedir}
439 ##############################
441 ##############################
444 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
445 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
448 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
453 CXXFLAGS+=" -DWAYLAND"
454 configure_flags="--enable-wayland"
457 # Use this conditional when Tizen version is 4.x or greater
458 %if 0%{?tizen_version_major} >= 4
459 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
462 %if 0%{?tizen_2_2_compatibility}
463 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
464 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
468 cd %{_builddir}/%{name}-%{version}/build/tizen
471 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
472 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
473 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
474 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
475 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
476 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
477 %if 0%{?tizen_platform_config_supported}
478 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
481 # Default to GLES 2.0 if not specified.
482 %if 0%{?target_gles_version} == 0
483 %define target_gles_version 20
486 # Set up the build via configure.
487 #######################################################################
488 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
489 # if mobile || "undefined"
490 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
491 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
492 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
493 --enable-tizen-major-version=%{tizen_version_major} \
494 %if 0%{?tizen_version_major} >= 3
497 %if 0%{?tizen_2_2_compatibility}
498 --with-tizen-2-2-compatibility \
505 %if 0%{?enable_web_engine_lite}
506 --enable-web-engine-lite \
508 %if 0%{?enable_debug}
512 $configure_flags --libdir=%{_libdir} \
513 --enable-rename-so=no
516 make %{?jobs:-j%jobs}
518 pushd %{_builddir}/%{name}-%{version}/build/tizen
519 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
522 pushd %{buildroot}%{_libdir}
523 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
524 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
525 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
532 #######################################################################
533 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
534 # if tv ||"undefined"
535 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
536 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
537 --enable-shaderbincache=DISABLE --enable-profile=TV \
538 --enable-tizen-major-version=%{tizen_version_major} \
539 %if 0%{?tizen_version_major} >= 3
542 %if 0%{?tizen_2_2_compatibility}
543 --with-tizen-2-2-compatibility \
550 %if 0%{?enable_web_engine_lite}
551 --enable-web-engine-lite \
553 %if 0%{?enable_debug}
557 $configure_flags --libdir=%{_libdir} \
558 --enable-rename-so=no
561 make %{?jobs:-j%jobs}
563 pushd %{_builddir}/%{name}-%{version}/build/tizen
564 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
567 pushd %{buildroot}%{_libdir}
568 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
569 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
570 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
576 #######################################################################
577 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
578 # if wearable || "undefined"
579 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
580 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
581 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
582 --enable-tizen-major-version=%{tizen_version_major} \
583 %if 0%{?tizen_version_major} >= 3
586 %if 0%{?tizen_2_2_compatibility}
587 --with-tizen-2-2-compatibility \
594 %if 0%{?enable_web_engine_lite}
595 --enable-web-engine-lite \
597 %if 0%{?enable_debug}
601 $configure_flags --libdir=%{_libdir} \
602 --enable-rename-so=no
605 make %{?jobs:-j%jobs}
607 pushd %{_builddir}/%{name}-%{version}/build/tizen
608 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
611 pushd %{buildroot}%{_libdir}
612 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
613 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
614 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
620 #######################################################################
621 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
622 # if ivi ||"undefined"
623 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
624 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
625 --enable-shaderbincache=DISABLE --enable-profile=IVI \
626 --enable-tizen-major-version=%{tizen_version_major} \
627 %if 0%{?tizen_version_major} >= 3
630 %if 0%{?tizen_2_2_compatibility}
631 --with-tizen-2-2-compatibility \
638 %if 0%{?enable_web_engine_lite}
639 --enable-web-engine-lite \
641 %if 0%{?enable_debug}
645 $configure_flags --libdir=%{_libdir} \
646 --enable-rename-so=no
649 make %{?jobs:-j%jobs}
651 pushd %{_builddir}/%{name}-%{version}/build/tizen
652 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
655 pushd %{buildroot}%{_libdir}
656 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
657 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
659 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
665 #######################################################################
667 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
668 # if common ||"undefined"
669 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
670 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
671 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
672 --enable-tizen-major-version=%{tizen_version_major} \
673 %if 0%{?tizen_version_major} >= 3
676 %if 0%{?tizen_2_2_compatibility}
677 --with-tizen-2-2-compatibility \
684 %if 0%{?enable_web_engine_lite}
685 --enable-web-engine-lite \
687 %if 0%{?enable_debug}
691 $configure_flags --libdir=%{_libdir} \
692 --enable-rename-so=no
695 make %{?jobs:-j%jobs}
697 pushd %{_builddir}/%{name}-%{version}/build/tizen
698 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
701 pushd %{buildroot}%{_libdir}
702 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
703 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
705 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
712 %if !0%{?disable_cxx03_build}
713 #######################################################################
715 #######################################################################
717 # Set up the build via configure.
718 #######################################################################
719 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
720 # if mobile || "undefined"
721 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
723 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
724 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
725 --enable-tizen-major-version=%{tizen_version_major} \
726 %if 0%{?tizen_version_major} >= 3
729 --enable-cxx03-abi=yes \
730 %if 0%{?tizen_2_2_compatibility}
731 --with-tizen-2-2-compatibility \
738 %if 0%{?enable_web_engine_lite}
739 --enable-web-engine-lite \
741 %if 0%{?enable_debug}
745 $configure_flags --libdir=%{_libdir} \
746 --enable-rename-so=no
749 make %{?jobs:-j%jobs}
751 pushd %{_builddir}/%{name}-%{version}/build/tizen
752 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
755 pushd %{buildroot}%{_libdir}
756 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
757 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
764 #######################################################################
765 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
766 # if tv ||"undefined"
767 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
769 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
770 --enable-shaderbincache=DISABLE --enable-profile=TV \
771 --enable-tizen-major-version=%{tizen_version_major} \
772 %if 0%{?tizen_version_major} >= 3
775 --enable-cxx03-abi=yes \
776 %if 0%{?tizen_2_2_compatibility}
777 --with-tizen-2-2-compatibility \
784 %if 0%{?enable_web_engine_lite}
785 --enable-web-engine-lite \
787 %if 0%{?enable_debug}
791 $configure_flags --libdir=%{_libdir} \
792 --enable-rename-so=no
795 make %{?jobs:-j%jobs}
797 pushd %{_builddir}/%{name}-%{version}/build/tizen
798 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
801 pushd %{buildroot}%{_libdir}
802 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
803 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
809 #######################################################################
810 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
811 # if wearable || "undefined"
812 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
814 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
815 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
816 --enable-tizen-major-version=%{tizen_version_major} \
817 %if 0%{?tizen_version_major} >= 3
820 --enable-cxx03-abi=yes \
821 %if 0%{?tizen_2_2_compatibility}
822 --with-tizen-2-2-compatibility \
829 %if 0%{?enable_web_engine_lite}
830 --enable-web-engine-lite \
832 %if 0%{?enable_debug}
836 $configure_flags --libdir=%{_libdir} \
837 --enable-rename-so=no
840 make %{?jobs:-j%jobs}
842 pushd %{_builddir}/%{name}-%{version}/build/tizen
843 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
846 pushd %{buildroot}%{_libdir}
847 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
848 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
854 #######################################################################
855 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
856 # if ivi ||"undefined"
857 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
859 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
860 --enable-shaderbincache=DISABLE --enable-profile=IVI \
861 --enable-tizen-major-version=%{tizen_version_major} \
862 %if 0%{?tizen_version_major} >= 3
865 --enable-cxx03-abi=yes \
866 %if 0%{?tizen_2_2_compatibility}
867 --with-tizen-2-2-compatibility \
874 %if 0%{?enable_web_engine_lite}
875 --enable-web-engine-lite \
877 %if 0%{?enable_debug}
881 $configure_flags --libdir=%{_libdir} \
882 --enable-rename-so=no
885 make %{?jobs:-j%jobs}
887 pushd %{_builddir}/%{name}-%{version}/build/tizen
888 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
891 pushd %{buildroot}%{_libdir}
892 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
893 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
899 #######################################################################
901 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
902 # if common ||"undefined"
903 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
905 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
906 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
907 --enable-tizen-major-version=%{tizen_version_major} \
908 %if 0%{?tizen_version_major} >= 3
911 --enable-cxx03-abi=yes \
912 %if 0%{?tizen_2_2_compatibility}
913 --with-tizen-2-2-compatibility \
920 %if 0%{?enable_web_engine_lite}
921 --enable-web-engine-lite \
923 %if 0%{?enable_debug}
927 $configure_flags --libdir=%{_libdir} \
928 --enable-rename-so=no
931 make %{?jobs:-j%jobs}
936 ##############################
938 ##############################
942 pushd %{_builddir}/%{name}-%{version}/build/tizen
943 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
946 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
947 # !unified && (wearable || tv || ivi || mobile)
948 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
949 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
952 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
953 # wearable || tv || ivi || mobile || unified
954 %if "%{?profile}" != "common"
955 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
956 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
960 ################################################
962 ###############################################
963 pushd %{buildroot}%{_libdir}
965 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
966 # if common ||"undefined"
967 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
968 rm -rf libdali-adaptor*.so
969 %if !0%{?disable_cxx03_build}
970 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
972 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
975 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
976 # if wearable || "undefined"
977 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
978 rm -rf libdali-adaptor*.so.wearable
979 %if !0%{?disable_cxx03_build}
980 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
982 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
985 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
986 # if tv ||"undefined"
987 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
988 rm -rf libdali-adaptor*.so.tv
989 %if !0%{?disable_cxx03_build}
990 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
992 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
995 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
996 # if ivi ||"undefined"
997 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
998 rm -rf libdali-adaptor*.so.ivi
999 %if !0%{?disable_cxx03_build}
1000 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1002 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1005 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1006 # if mobile || "undefined"
1007 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1008 rm -rf libdali-adaptor*.so.mobile
1009 %if !0%{?disable_cxx03_build}
1010 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1012 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1016 ##############################
1018 # 1 - Pre Install new package
1019 # 2 - Install new package
1020 # 3 - Post install new package
1021 # 4 - Pre uninstall old package
1022 # 5 - Remove files not overwritten by new package
1023 # 6 - Post uninstall old package
1024 ##############################
1029 ##############################
1030 # Post Install new package
1031 ##############################
1036 ##############################
1037 # Pre Uninstall old package
1038 ##############################
1042 ##############################
1043 # Post Uninstall old package
1044 ##############################
1049 #%if %{with wayland}
1050 %post dali-web-engine-lite-plugin
1055 ##############################
1057 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1058 # if mobile || "undefined"
1059 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1060 %post profile_mobile
1062 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1067 %postun profile_mobile
1072 ##############################
1074 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1075 # if tv ||"undefined"
1076 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1079 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1089 ##############################
1091 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1092 # if wearable || "undefined"
1093 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1094 %post profile_wearable
1096 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1101 %postun profile_wearable
1106 ##############################
1108 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1109 # if ivi ||"undefined"
1110 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1113 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1123 %if !0%{?disable_cxx03_build}
1124 ##############################
1126 #############################
1127 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1128 # if mobile || "undefined"
1129 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1130 %post profile_mobile-cxx03
1132 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1137 %postun profile_mobile-cxx03
1142 ##############################
1144 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1145 # if tv ||"undefined"
1146 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1147 %post profile_tv-cxx03
1149 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1154 %postun profile_tv-cxx03
1159 ##############################
1161 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1162 # if wearable || "undefined"
1163 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1164 %post profile_wearable-cxx03
1166 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1171 %postun profile_wearable-cxx03
1176 ##############################
1178 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1179 # if ivi ||"undefined"
1180 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1181 %post profile_ivi-cxx03
1183 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1188 %postun profile_ivi-cxx03
1194 ##############################
1195 # Files in Binary Packages
1196 ##############################
1199 %manifest dali-adaptor.manifest
1200 %defattr(-,root,root,-)
1201 %defattr(-,app,app,-)
1202 %dir %{user_shader_cache_dir}
1206 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1207 # if common ||"undefined"
1208 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1209 %defattr(-,root,root,-)
1210 %{_libdir}/libdali-adaptor-cxx11.so.0*
1211 %{_libdir}/libdali-adaptor.so
1212 %exclude %{_libdir}/libdali-adap*.so*.mobile
1213 %exclude %{_libdir}/libdali-adap*.so*.wearable
1214 %exclude %{_libdir}/libdali-adap*.so*.tv
1215 %exclude %{_libdir}/libdali-adap*.so*.ivi
1218 %if !0%{?disable_cxx03_build}
1220 %manifest dali-adaptor.manifest
1221 %defattr(-,root,root,-)
1222 %defattr(-,app,app,-)
1223 %dir %{user_shader_cache_dir}
1226 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1227 # if common ||"undefined"
1228 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1229 %defattr(-,root,root,-)
1230 %{_libdir}/libdali-adaptor.so.0*
1231 %{_libdir}/libdali-adaptor-cxx03.so
1232 %exclude %{_libdir}/libdali-adap*.so*.mobile
1233 %exclude %{_libdir}/libdali-adap*.so*.wearable
1234 %exclude %{_libdir}/libdali-adap*.so*.tv
1235 %exclude %{_libdir}/libdali-adap*.so*.ivi
1238 %if 0%{?tizen_version_major} >= 3
1239 %if 0%{?enable_web_engine_lite}
1240 %files dali-web-engine-lite-plugin-cxx03
1241 %manifest dali-adaptor.manifest
1242 %defattr(-,root,root,-)
1243 %{_libdir}/libdali-web-engine-lite-plugin.so*
1247 %files dali-feedback-plugin-cxx03
1248 %manifest dali-adaptor.manifest
1249 %defattr(-,root,root,-)
1250 %{_libdir}/libdali-feedback-plugin.so*
1251 %{dali_plugin_sound_files}/*
1255 #################################################
1257 %if 0%{?tizen_version_major} >= 3
1258 %if 0%{?enable_web_engine_lite}
1259 %files dali-web-engine-lite-plugin
1260 %manifest dali-adaptor.manifest
1261 %defattr(-,root,root,-)
1262 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1266 %files dali-feedback-plugin
1267 %manifest dali-adaptor.manifest
1268 %defattr(-,root,root,-)
1269 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1270 %{dali_plugin_sound_files}/*
1273 #################################################
1275 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1276 # if common ||"undefined"
1277 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1278 %files profile_common
1279 # default .so files are housed in the main pkg.
1282 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1283 # if mobile || "undefined"
1284 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1285 %files profile_mobile
1286 %manifest dali-adaptor.manifest
1287 %defattr(-,root,root,-)
1288 %{_libdir}/libdali-adaptor.so.mobile
1289 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1292 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1293 # if tv ||"undefined"
1294 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1296 %manifest dali-adaptor.manifest
1297 %defattr(-,root,root,-)
1298 %{_libdir}/libdali-adaptor.so.tv
1299 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1302 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1303 # if wearable || "undefined"
1304 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1305 %files profile_wearable
1306 %manifest dali-adaptor.manifest
1307 %defattr(-,root,root,-)
1308 %{_libdir}/libdali-adaptor.so.wearable
1309 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1312 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1313 # if ivi ||"undefined"
1314 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1316 %manifest dali-adaptor.manifest
1317 %defattr(-,root,root,-)
1318 %{_libdir}/libdali-adaptor.so.ivi
1319 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1324 %defattr(-,root,root,-)
1325 %{dev_include_path}/dali/dali.h
1326 %{dev_include_path}/dali/public-api/*
1327 %{dev_include_path}/dali/devel-api/*
1328 %{dev_include_path}/dali/doc/*
1329 %{_libdir}/pkgconfig/dali-adaptor.pc
1331 %files integration-devel
1332 %defattr(-,root,root,-)
1333 %{dev_include_path}/dali/integration-api/adaptors/*
1334 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1336 %if !0%{?disable_cxx03_build}
1337 ################################################
1339 ################################################
1341 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1342 # if common ||"undefined"
1343 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1344 %files profile_common-cxx03
1345 # default .so files are housed in the main pkg.
1348 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1349 # if mobile || "undefined"
1350 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1351 %files profile_mobile-cxx03
1352 %manifest dali-adaptor.manifest
1353 %defattr(-,root,root,-)
1354 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1355 %{_libdir}/libdali-adaptor.so.0*mobile
1358 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1359 # if tv ||"undefined"
1360 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1361 %files profile_tv-cxx03
1362 %manifest dali-adaptor.manifest
1363 %defattr(-,root,root,-)
1364 %{_libdir}/libdali-adaptor-cxx03.so.tv
1365 %{_libdir}/libdali-adaptor.so.0*.tv
1368 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1369 # if wearable || "undefined"
1370 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1371 %files profile_wearable-cxx03
1372 %manifest dali-adaptor.manifest
1373 %defattr(-,root,root,-)
1374 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1375 %{_libdir}/libdali-adaptor.so.0*.wearable
1378 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1379 # if ivi ||"undefined"
1380 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1381 %files profile_ivi-cxx03
1382 %manifest dali-adaptor.manifest
1383 %defattr(-,root,root,-)
1384 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1385 %{_libdir}/libdali-adaptor.so.0*.ivi
1390 %defattr(-,root,root,-)
1391 %{dev_include_path}/dali/dali.h
1392 %{dev_include_path}/dali/public-api/*
1393 %{dev_include_path}/dali/devel-api/*
1394 %{dev_include_path}/dali/doc/*
1395 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1397 %files integration-devel-cxx03
1398 %defattr(-,root,root,-)
1399 %{dev_include_path}/dali/integration-api/adaptors/*
1400 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc