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)
88 BuildRequires: pkgconfig(libcrypto)
92 ####### BUILDING FOR WAYLAND #######
93 BuildRequires: pkgconfig(wayland-egl)
94 BuildRequires: pkgconfig(wayland-client)
95 BuildRequires: wayland-devel
96 BuildRequires: wayland-extension-client-devel
98 # dali-adaptor uses ecore mainloop
99 BuildRequires: pkgconfig(ecore-wayland)
101 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
102 BuildRequires: pkgconfig(libtbm)
104 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
105 %if !0%{?disable_cxx03_build}
106 BuildRequires: pkgconfig(tpkp-curl-deprecated)
108 BuildRequires: pkgconfig(tpkp-curl)
110 ####### BUILDING FOR X11#######
112 BuildRequires: pkgconfig(egl)
113 BuildRequires: pkgconfig(xext)
114 BuildRequires: pkgconfig(xi)
115 BuildRequires: pkgconfig(xfixes)
116 BuildRequires: pkgconfig(xdamage)
117 BuildRequires: pkgconfig(utilX)
121 %if 0%{?tizen_version_major} == 3
122 BuildRequires: pkgconfig(capi-appfw-application)
123 BuildRequires: pkgconfig(elementary)
125 BuildRequires: pkgconfig(appcore-ui)
126 BuildRequires: pkgconfig(appcore-widget-base)
127 BuildRequires: pkgconfig(bundle)
128 BuildRequires: pkgconfig(capi-appfw-app-common)
129 BuildRequires: pkgconfig(capi-appfw-app-control)
130 BuildRequires: pkgconfig(ecore-imf)
133 BuildRequires: pkgconfig(capi-system-system-settings)
135 # for feedback plugin
136 BuildRequires: pkgconfig(mm-sound)
137 %if 0%{?tizen_version_major} >= 3
138 BuildRequires: pkgconfig(feedback)
142 Requires: %{name}-compat = %{version}-%{release}
143 Recommends: %{name}-profile_common = %{version}-%{release}
146 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
147 platform abstraction and application shell
149 %if !0%{?disable_cxx03_build}
151 Summary: The DALi Tizen Adaptor with cxx03 abi
152 Provides: %{name}-cxx03 = %{version}-%{release}
155 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
156 platform abstraction and application shell
159 ###########################################
160 # Dali adapter for profiles
161 ###########################################
163 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
164 # if mobile || "undefined"
165 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
166 %package profile_mobile
167 Summary: The DALi Tizen Adaptor for mobile
168 Provides: %{name}-compat = %{version}-%{release}
169 Conflicts: %{name}-profile_tv
170 Conflicts: %{name}-profile_wearable
171 Conflicts: %{name}-profile_ivi
172 Conflicts: %{name}-profile_common
173 %description profile_mobile
174 The DALi Tizen Adaptor for mobile.
177 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
178 # if tv ||"undefined"
179 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
181 Summary: The DALi Tizen Adaptor for tv
182 Provides: %{name}-compat = %{version}-%{release}
183 Conflicts: %{name}-profile_mobile
184 Conflicts: %{name}-profile_wearable
185 Conflicts: %{name}-profile_ivi
186 Conflicts: %{name}-profile_common
187 %description profile_tv
188 The DALi Tizen Adaptor for tv.
191 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
192 # if wearable || "undefined"
193 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
194 %package profile_wearable
195 Summary: The DALi Tizen Adaptor for wearable
196 Provides: %{name}-compat = %{version}-%{release}
197 Conflicts: %{name}-profile_mobile
198 Conflicts: %{name}-profile_tv
199 Conflicts: %{name}-profile_ivi
200 Conflicts: %{name}-profile_common
201 %description profile_wearable
202 The DALi Tizen Adaptor for wearable.
205 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
206 # if ivi ||"undefined"
207 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
209 Summary: The DALi Tizen Adaptor for ivi
210 Provides: %{name}-compat = %{version}-%{release}
211 Conflicts: %{name}-profile_mobile
212 Conflicts: %{name}-profile_wearable
213 Conflicts: %{name}-profile_tv
214 Conflicts: %{name}-profile_common
215 %description profile_ivi
216 The DALi Tizen Adaptor for ivi.
219 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
220 # if common ||"undefined"
221 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
222 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
223 %package profile_common
224 %define tizen_2_2_compatibility 0
225 Summary: The DALi Tizen Adaptor for common
226 Provides: %{name}-compat = %{version}-%{release}
227 Conflicts: %{name}-profile_mobile
228 Conflicts: %{name}-profile_wearable
229 Conflicts: %{name}-profile_tv
230 Conflicts: %{name}-profile_ivi
231 %description profile_common
232 The DALi Tizen Adaptor for common.
235 %if !0%{?disable_cxx03_build}
236 ###########################################
237 # Dali adapter for profiles for cxx03 ABI
238 ###########################################
240 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
241 # if mobile || "undefined"
242 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
243 %package profile_mobile-cxx03
244 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
245 Provides: %{name}-cxx03-compat = %{version}-%{release}
246 Conflicts: %{name}-profile_tv-cxx03
247 Conflicts: %{name}-profile_wearable-cxx03
248 Conflicts: %{name}-profile_ivi-cxx03
249 Conflicts: %{name}-profile_common-cxx03
250 %description profile_mobile-cxx03
251 The DALi Tizen Adaptor for mobile.
254 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
255 # if tv ||"undefined"
256 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
257 %package profile_tv-cxx03
258 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
259 Provides: %{name}-cxx03-compat = %{version}-%{release}
260 Conflicts: %{name}-profile_mobile-cxx03
261 Conflicts: %{name}-profile_wearable-cxx03
262 Conflicts: %{name}-profile_ivi-cxx03
263 Conflicts: %{name}-profile_common-cxx03
264 %description profile_tv-cxx03
265 The DALi Tizen Adaptor for tv.
268 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
269 # if wearable || "undefined"
270 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
271 %package profile_wearable-cxx03
272 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
273 Provides: %{name}-cxx03-compat = %{version}-%{release}
274 Conflicts: %{name}-profile_mobile-cxx03
275 Conflicts: %{name}-profile_tv-cxx03
276 Conflicts: %{name}-profile_ivi-cxx03
277 Conflicts: %{name}-profile_common-cxx03
278 %description profile_wearable-cxx03
279 The DALi Tizen Adaptor for wearable.
282 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
283 # if ivi ||"undefined"
284 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
285 %package profile_ivi-cxx03
286 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
287 Provides: %{name}-cxx03-compat = %{version}-%{release}
288 Conflicts: %{name}-profile_mobile-cxx03
289 Conflicts: %{name}-profile_wearable-cxx03
290 Conflicts: %{name}-profile_tv-cxx03
291 Conflicts: %{name}-profile_common-cxx03
292 %description profile_ivi-cxx03
293 The DALi Tizen Adaptor for ivi.
296 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
297 # if common ||"undefined"
298 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
299 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
300 %package profile_common-cxx03
301 %define tizen_2_2_compatibility 0
302 Summary: The DALi Tizen Adaptor for common with cxx03 abi
303 Provides: %{name}-cxx03-compat = %{version}-%{release}
304 Conflicts: %{name}-profile_mobile-cxx03
305 Conflicts: %{name}-profile_wearable-cxx03
306 Conflicts: %{name}-profile_tv-cxx03
307 Conflicts: %{name}-profile_ivi-cxx03
308 %description profile_common-cxx03
309 The DALi Tizen Adaptor for common.
313 ##############################
315 ##############################
317 Summary: Development components for the DALi Tizen Adaptor
318 Group: Development/Building
319 Requires: %{name} = %{version}-%{release}
320 Requires: %{name}-integration-devel = %{version}-%{release}
323 Development components for the DALi Tizen Adaptor - public headers and package configs
325 ##############################
327 ##############################
328 %package integration-devel
329 Summary: Integration development package for the Adaptor
330 Group: Development/Building
331 Requires: %{name} = %{version}-%{release}
333 %description integration-devel
334 Integration development package for the Adaptor - headers for integrating with an adaptor library.
336 %if !0%{?disable_cxx03_build}
337 ##############################
339 ##############################
341 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
342 Group: Development/Building
343 Requires: %{name}-cxx03 = %{version}-%{release}
344 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
346 %description devel-cxx03
347 Development components for the DALi Tizen Adaptor - public headers and package configs
349 ##############################
350 # integration-devel cxx03
351 ##############################
352 %package integration-devel-cxx03
353 Summary: Integration development package for the Adaptor with cxx03 abi
354 Group: Development/Building
355 Requires: %{name}-cxx03 = %{version}-%{release}
357 %description integration-devel-cxx03
358 Integration development package for the Adaptor - headers for integrating with an adaptor library.
361 ##############################
362 # Dali Feedback Plugin
363 ##############################
364 %package dali-feedback-plugin
365 Summary: Plugin to play haptic and audio feedback for Dali
366 Group: System/Libraries
367 Requires: %{name} = %{version}-%{release}
368 %description dali-feedback-plugin
369 Feedback plugin to play haptic and audio feedback for Dali
371 %if !0%{?disable_cxx03_build}
372 ##############################
373 # Dali Feedback Plugin cxx03
374 ##############################
376 %package dali-feedback-plugin-cxx03
377 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
378 Group: System/Libraries
379 Requires: %{name}-cxx03 = %{version}-%{release}
380 %description dali-feedback-plugin-cxx03
381 Feedback plugin to play haptic and audio feedback for Dali
385 ##############################
387 ##############################
391 #Use TZ_PATH when tizen version is 3.x or greater
393 %if 0%{?tizen_version_major} >= 3
394 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
395 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
396 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
397 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
398 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
399 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
401 %define dali_data_rw_dir /usr/share/dali/
402 %define dali_data_ro_dir /usr/share/dali/
403 %define font_preloaded_path /usr/share/fonts/
404 %define font_downloaded_path /opt/share/fonts/
405 %define font_application_path /usr/share/app_fonts/
406 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
409 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
410 %define dali_plugin_sound_files /plugins/sounds/
411 %define dev_include_path %{_includedir}
413 ##############################
415 ##############################
418 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
419 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
422 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
427 CXXFLAGS+=" -DWAYLAND"
428 configure_flags="--enable-wayland"
431 # Use this conditional when Tizen version is 4.x or greater
432 %if 0%{?tizen_version_major} >= 4
433 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
436 %if 0%{?tizen_2_2_compatibility}
437 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
438 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
442 cd %{_builddir}/%{name}-%{version}/build/tizen
445 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
446 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
447 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
448 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
449 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
450 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
451 %if 0%{?tizen_platform_config_supported}
452 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
455 # Default to GLES 2.0 if not specified.
456 %if 0%{?target_gles_version} == 0
457 %define target_gles_version 20
460 # Set up the build via configure.
461 #######################################################################
462 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
463 # if mobile || "undefined"
464 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
465 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
466 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
467 --enable-tizen-major-version=%{tizen_version_major} \
468 %if 0%{?tizen_version_major} >= 3
471 %if 0%{?tizen_2_2_compatibility}
472 --with-tizen-2-2-compatibility \
479 %if 0%{?enable_debug}
482 %if 0%{?enable_trace}
486 $configure_flags --libdir=%{_libdir} \
487 --enable-rename-so=no
490 make %{?jobs:-j%jobs}
492 pushd %{_builddir}/%{name}-%{version}/build/tizen
493 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
496 pushd %{buildroot}%{_libdir}
497 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
498 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
499 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
506 #######################################################################
507 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
508 # if tv ||"undefined"
509 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
510 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
511 --enable-shaderbincache=DISABLE --enable-profile=TV \
512 --enable-tizen-major-version=%{tizen_version_major} \
513 %if 0%{?tizen_version_major} >= 3
516 %if 0%{?tizen_2_2_compatibility}
517 --with-tizen-2-2-compatibility \
524 %if 0%{?enable_debug}
527 %if 0%{?enable_trace}
531 $configure_flags --libdir=%{_libdir} \
532 --enable-rename-so=no
535 make %{?jobs:-j%jobs}
537 pushd %{_builddir}/%{name}-%{version}/build/tizen
538 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
541 pushd %{buildroot}%{_libdir}
542 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
543 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
544 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
550 #######################################################################
551 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
552 # if wearable || "undefined"
553 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
554 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
555 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
556 --enable-tizen-major-version=%{tizen_version_major} \
557 %if 0%{?tizen_version_major} >= 3
560 %if 0%{?tizen_2_2_compatibility}
561 --with-tizen-2-2-compatibility \
568 %if 0%{?enable_debug}
571 %if 0%{?enable_trace}
575 $configure_flags --libdir=%{_libdir} \
576 --enable-rename-so=no
579 make %{?jobs:-j%jobs}
581 pushd %{_builddir}/%{name}-%{version}/build/tizen
582 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
585 pushd %{buildroot}%{_libdir}
586 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
587 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
588 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
594 #######################################################################
595 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
596 # if ivi ||"undefined"
597 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
598 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
599 --enable-shaderbincache=DISABLE --enable-profile=IVI \
600 --enable-tizen-major-version=%{tizen_version_major} \
601 %if 0%{?tizen_version_major} >= 3
604 %if 0%{?tizen_2_2_compatibility}
605 --with-tizen-2-2-compatibility \
612 %if 0%{?enable_debug}
615 %if 0%{?enable_trace}
619 $configure_flags --libdir=%{_libdir} \
620 --enable-rename-so=no
623 make %{?jobs:-j%jobs}
625 pushd %{_builddir}/%{name}-%{version}/build/tizen
626 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
629 pushd %{buildroot}%{_libdir}
630 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
631 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
633 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
639 #######################################################################
641 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
642 # if common ||"undefined"
643 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
644 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
645 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
646 --enable-tizen-major-version=%{tizen_version_major} \
647 %if 0%{?tizen_version_major} >= 3
650 %if 0%{?tizen_2_2_compatibility}
651 --with-tizen-2-2-compatibility \
658 %if 0%{?enable_debug}
661 %if 0%{?enable_trace}
665 $configure_flags --libdir=%{_libdir} \
666 --enable-rename-so=no
669 make %{?jobs:-j%jobs}
671 pushd %{_builddir}/%{name}-%{version}/build/tizen
672 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
675 pushd %{buildroot}%{_libdir}
676 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
677 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
679 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
686 %if !0%{?disable_cxx03_build}
687 #######################################################################
689 #######################################################################
691 # Set up the build via configure.
692 #######################################################################
693 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
694 # if mobile || "undefined"
695 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
697 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
698 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
699 --enable-tizen-major-version=%{tizen_version_major} \
700 %if 0%{?tizen_version_major} >= 3
703 --enable-cxx03-abi=yes \
704 %if 0%{?tizen_2_2_compatibility}
705 --with-tizen-2-2-compatibility \
712 %if 0%{?enable_debug}
715 %if 0%{?enable_trace}
719 $configure_flags --libdir=%{_libdir} \
720 --enable-rename-so=no
723 make %{?jobs:-j%jobs}
725 pushd %{_builddir}/%{name}-%{version}/build/tizen
726 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
729 pushd %{buildroot}%{_libdir}
730 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
731 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
738 #######################################################################
739 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
740 # if tv ||"undefined"
741 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
743 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
744 --enable-shaderbincache=DISABLE --enable-profile=TV \
745 --enable-tizen-major-version=%{tizen_version_major} \
746 %if 0%{?tizen_version_major} >= 3
749 --enable-cxx03-abi=yes \
750 %if 0%{?tizen_2_2_compatibility}
751 --with-tizen-2-2-compatibility \
758 %if 0%{?enable_debug}
761 %if 0%{?enable_trace}
765 $configure_flags --libdir=%{_libdir} \
766 --enable-rename-so=no
769 make %{?jobs:-j%jobs}
771 pushd %{_builddir}/%{name}-%{version}/build/tizen
772 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
775 pushd %{buildroot}%{_libdir}
776 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
777 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
783 #######################################################################
784 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
785 # if wearable || "undefined"
786 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
788 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
789 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
790 --enable-tizen-major-version=%{tizen_version_major} \
791 %if 0%{?tizen_version_major} >= 3
794 --enable-cxx03-abi=yes \
795 %if 0%{?tizen_2_2_compatibility}
796 --with-tizen-2-2-compatibility \
803 %if 0%{?enable_debug}
806 %if 0%{?enable_trace}
810 $configure_flags --libdir=%{_libdir} \
811 --enable-rename-so=no
814 make %{?jobs:-j%jobs}
816 pushd %{_builddir}/%{name}-%{version}/build/tizen
817 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
820 pushd %{buildroot}%{_libdir}
821 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
822 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
828 #######################################################################
829 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
830 # if ivi ||"undefined"
831 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
833 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
834 --enable-shaderbincache=DISABLE --enable-profile=IVI \
835 --enable-tizen-major-version=%{tizen_version_major} \
836 %if 0%{?tizen_version_major} >= 3
839 --enable-cxx03-abi=yes \
840 %if 0%{?tizen_2_2_compatibility}
841 --with-tizen-2-2-compatibility \
848 %if 0%{?enable_debug}
851 %if 0%{?enable_trace}
855 $configure_flags --libdir=%{_libdir} \
856 --enable-rename-so=no
859 make %{?jobs:-j%jobs}
861 pushd %{_builddir}/%{name}-%{version}/build/tizen
862 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
865 pushd %{buildroot}%{_libdir}
866 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
867 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
873 #######################################################################
875 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
876 # if common ||"undefined"
877 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
879 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
880 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
881 --enable-tizen-major-version=%{tizen_version_major} \
882 %if 0%{?tizen_version_major} >= 3
885 --enable-cxx03-abi=yes \
886 %if 0%{?tizen_2_2_compatibility}
887 --with-tizen-2-2-compatibility \
894 %if 0%{?enable_debug}
897 %if 0%{?enable_trace}
901 $configure_flags --libdir=%{_libdir} \
902 --enable-rename-so=no
905 make %{?jobs:-j%jobs}
910 ##############################
912 ##############################
916 pushd %{_builddir}/%{name}-%{version}/build/tizen
917 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
920 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
921 # !unified && (wearable || tv || ivi || mobile)
922 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
923 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
926 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
927 # wearable || tv || ivi || mobile || unified
928 %if "%{?profile}" != "common"
929 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
930 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
934 ################################################
936 ###############################################
937 pushd %{buildroot}%{_libdir}
939 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
940 # if common ||"undefined"
941 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
942 rm -rf libdali-adaptor*.so
943 %if !0%{?disable_cxx03_build}
944 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
946 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
949 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
950 # if wearable || "undefined"
951 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
952 rm -rf libdali-adaptor*.so.wearable
953 %if !0%{?disable_cxx03_build}
954 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
956 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
959 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
960 # if tv ||"undefined"
961 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
962 rm -rf libdali-adaptor*.so.tv
963 %if !0%{?disable_cxx03_build}
964 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
966 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
969 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
970 # if ivi ||"undefined"
971 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
972 rm -rf libdali-adaptor*.so.ivi
973 %if !0%{?disable_cxx03_build}
974 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
976 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
979 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
980 # if mobile || "undefined"
981 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
982 rm -rf libdali-adaptor*.so.mobile
983 %if !0%{?disable_cxx03_build}
984 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
986 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
990 ##############################
992 # 1 - Pre Install new package
993 # 2 - Install new package
994 # 3 - Post install new package
995 # 4 - Pre uninstall old package
996 # 5 - Remove files not overwritten by new package
997 # 6 - Post uninstall old package
998 ##############################
1003 ##############################
1004 # Post Install new package
1005 ##############################
1010 ##############################
1011 # Pre Uninstall old package
1012 ##############################
1016 ##############################
1017 # Post Uninstall old package
1018 ##############################
1023 ##############################
1025 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1026 # if mobile || "undefined"
1027 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1028 %post profile_mobile
1030 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1035 %postun profile_mobile
1040 ##############################
1042 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1043 # if tv ||"undefined"
1044 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1047 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1057 ##############################
1059 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1060 # if wearable || "undefined"
1061 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1062 %post profile_wearable
1064 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1069 %postun profile_wearable
1074 ##############################
1076 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1077 # if ivi ||"undefined"
1078 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1081 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1091 %if !0%{?disable_cxx03_build}
1092 ##############################
1094 #############################
1095 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1096 # if mobile || "undefined"
1097 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1098 %post profile_mobile-cxx03
1100 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1105 %postun profile_mobile-cxx03
1110 ##############################
1112 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1113 # if tv ||"undefined"
1114 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1115 %post profile_tv-cxx03
1117 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1122 %postun profile_tv-cxx03
1127 ##############################
1129 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1130 # if wearable || "undefined"
1131 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1132 %post profile_wearable-cxx03
1134 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1139 %postun profile_wearable-cxx03
1144 ##############################
1146 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1147 # if ivi ||"undefined"
1148 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1149 %post profile_ivi-cxx03
1151 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1156 %postun profile_ivi-cxx03
1162 ##############################
1163 # Files in Binary Packages
1164 ##############################
1167 %manifest dali-adaptor.manifest
1168 %defattr(-,root,root,-)
1169 %defattr(-,app,app,-)
1170 %dir %{user_shader_cache_dir}
1174 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1175 # if common ||"undefined"
1176 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1177 %defattr(-,root,root,-)
1178 %{_libdir}/libdali-adaptor-cxx11.so.0*
1179 %{_libdir}/libdali-adaptor.so
1180 %exclude %{_libdir}/libdali-adap*.so*.mobile
1181 %exclude %{_libdir}/libdali-adap*.so*.wearable
1182 %exclude %{_libdir}/libdali-adap*.so*.tv
1183 %exclude %{_libdir}/libdali-adap*.so*.ivi
1186 %if !0%{?disable_cxx03_build}
1188 %manifest dali-adaptor.manifest
1189 %defattr(-,root,root,-)
1190 %defattr(-,app,app,-)
1191 %dir %{user_shader_cache_dir}
1194 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1195 # if common ||"undefined"
1196 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1197 %defattr(-,root,root,-)
1198 %{_libdir}/libdali-adaptor.so.0*
1199 %{_libdir}/libdali-adaptor-cxx03.so
1200 %exclude %{_libdir}/libdali-adap*.so*.mobile
1201 %exclude %{_libdir}/libdali-adap*.so*.wearable
1202 %exclude %{_libdir}/libdali-adap*.so*.tv
1203 %exclude %{_libdir}/libdali-adap*.so*.ivi
1206 %if 0%{?tizen_version_major} >= 3
1207 %files dali-feedback-plugin-cxx03
1208 %manifest dali-adaptor.manifest
1209 %defattr(-,root,root,-)
1210 %{_libdir}/libdali-feedback-plugin.so*
1211 %{dali_plugin_sound_files}/*
1215 #################################################
1217 %if 0%{?tizen_version_major} >= 3
1218 %files dali-feedback-plugin
1219 %manifest dali-adaptor.manifest
1220 %defattr(-,root,root,-)
1221 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1222 %{dali_plugin_sound_files}/*
1225 #################################################
1227 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1228 # if common ||"undefined"
1229 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1230 %files profile_common
1231 # default .so files are housed in the main pkg.
1234 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1235 # if mobile || "undefined"
1236 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1237 %files profile_mobile
1238 %manifest dali-adaptor.manifest
1239 %defattr(-,root,root,-)
1240 %{_libdir}/libdali-adaptor.so.mobile
1241 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1244 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1245 # if tv ||"undefined"
1246 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1248 %manifest dali-adaptor.manifest
1249 %defattr(-,root,root,-)
1250 %{_libdir}/libdali-adaptor.so.tv
1251 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1254 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1255 # if wearable || "undefined"
1256 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1257 %files profile_wearable
1258 %manifest dali-adaptor.manifest
1259 %defattr(-,root,root,-)
1260 %{_libdir}/libdali-adaptor.so.wearable
1261 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1264 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1265 # if ivi ||"undefined"
1266 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1268 %manifest dali-adaptor.manifest
1269 %defattr(-,root,root,-)
1270 %{_libdir}/libdali-adaptor.so.ivi
1271 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1276 %defattr(-,root,root,-)
1277 %{dev_include_path}/dali/dali.h
1278 %{dev_include_path}/dali/public-api/*
1279 %{dev_include_path}/dali/devel-api/*
1280 %{dev_include_path}/dali/doc/*
1281 %{_libdir}/pkgconfig/dali-adaptor.pc
1283 %files integration-devel
1284 %defattr(-,root,root,-)
1285 %{dev_include_path}/dali/integration-api/adaptors/*
1286 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1288 %if !0%{?disable_cxx03_build}
1289 ################################################
1291 ################################################
1293 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1294 # if common ||"undefined"
1295 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1296 %files profile_common-cxx03
1297 # default .so files are housed in the main pkg.
1300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1301 # if mobile || "undefined"
1302 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1303 %files profile_mobile-cxx03
1304 %manifest dali-adaptor.manifest
1305 %defattr(-,root,root,-)
1306 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1307 %{_libdir}/libdali-adaptor.so.0*mobile
1310 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1311 # if tv ||"undefined"
1312 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1313 %files profile_tv-cxx03
1314 %manifest dali-adaptor.manifest
1315 %defattr(-,root,root,-)
1316 %{_libdir}/libdali-adaptor-cxx03.so.tv
1317 %{_libdir}/libdali-adaptor.so.0*.tv
1320 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1321 # if wearable || "undefined"
1322 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1323 %files profile_wearable-cxx03
1324 %manifest dali-adaptor.manifest
1325 %defattr(-,root,root,-)
1326 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1327 %{_libdir}/libdali-adaptor.so.0*.wearable
1330 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1331 # if ivi ||"undefined"
1332 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1333 %files profile_ivi-cxx03
1334 %manifest dali-adaptor.manifest
1335 %defattr(-,root,root,-)
1336 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1337 %{_libdir}/libdali-adaptor.so.0*.ivi
1342 %defattr(-,root,root,-)
1343 %{dev_include_path}/dali/dali.h
1344 %{dev_include_path}/dali/public-api/*
1345 %{dev_include_path}/dali/devel-api/*
1346 %{dev_include_path}/dali/doc/*
1347 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1349 %files integration-devel-cxx03
1350 %defattr(-,root,root,-)
1351 %{dev_include_path}/dali/integration-api/adaptors/*
1352 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc