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 -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}
483 $configure_flags --libdir=%{_libdir} \
484 --enable-rename-so=no
487 make %{?jobs:-j%jobs}
489 pushd %{_builddir}/%{name}-%{version}/build/tizen
490 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
493 pushd %{buildroot}%{_libdir}
494 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
495 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
496 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
503 #######################################################################
504 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
505 # if tv ||"undefined"
506 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
507 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
508 --enable-shaderbincache=DISABLE --enable-profile=TV \
509 --enable-tizen-major-version=%{tizen_version_major} \
510 %if 0%{?tizen_version_major} >= 3
513 %if 0%{?tizen_2_2_compatibility}
514 --with-tizen-2-2-compatibility \
521 %if 0%{?enable_debug}
525 $configure_flags --libdir=%{_libdir} \
526 --enable-rename-so=no
529 make %{?jobs:-j%jobs}
531 pushd %{_builddir}/%{name}-%{version}/build/tizen
532 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
535 pushd %{buildroot}%{_libdir}
536 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
537 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
538 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
544 #######################################################################
545 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
546 # if wearable || "undefined"
547 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
548 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
549 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
550 --enable-tizen-major-version=%{tizen_version_major} \
551 %if 0%{?tizen_version_major} >= 3
554 %if 0%{?tizen_2_2_compatibility}
555 --with-tizen-2-2-compatibility \
562 %if 0%{?enable_debug}
566 $configure_flags --libdir=%{_libdir} \
567 --enable-rename-so=no
570 make %{?jobs:-j%jobs}
572 pushd %{_builddir}/%{name}-%{version}/build/tizen
573 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
576 pushd %{buildroot}%{_libdir}
577 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
578 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
579 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
585 #######################################################################
586 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
587 # if ivi ||"undefined"
588 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
589 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
590 --enable-shaderbincache=DISABLE --enable-profile=IVI \
591 --enable-tizen-major-version=%{tizen_version_major} \
592 %if 0%{?tizen_version_major} >= 3
595 %if 0%{?tizen_2_2_compatibility}
596 --with-tizen-2-2-compatibility \
603 %if 0%{?enable_debug}
607 $configure_flags --libdir=%{_libdir} \
608 --enable-rename-so=no
611 make %{?jobs:-j%jobs}
613 pushd %{_builddir}/%{name}-%{version}/build/tizen
614 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
617 pushd %{buildroot}%{_libdir}
618 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
619 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
621 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
627 #######################################################################
629 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
630 # if common ||"undefined"
631 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
632 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
633 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
634 --enable-tizen-major-version=%{tizen_version_major} \
635 %if 0%{?tizen_version_major} >= 3
638 %if 0%{?tizen_2_2_compatibility}
639 --with-tizen-2-2-compatibility \
646 %if 0%{?enable_debug}
650 $configure_flags --libdir=%{_libdir} \
651 --enable-rename-so=no
654 make %{?jobs:-j%jobs}
656 pushd %{_builddir}/%{name}-%{version}/build/tizen
657 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
660 pushd %{buildroot}%{_libdir}
661 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
662 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
664 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
671 %if !0%{?disable_cxx03_build}
672 #######################################################################
674 #######################################################################
676 # Set up the build via configure.
677 #######################################################################
678 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
679 # if mobile || "undefined"
680 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
682 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
683 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
684 --enable-tizen-major-version=%{tizen_version_major} \
685 %if 0%{?tizen_version_major} >= 3
688 --enable-cxx03-abi=yes \
689 %if 0%{?tizen_2_2_compatibility}
690 --with-tizen-2-2-compatibility \
697 %if 0%{?enable_debug}
701 $configure_flags --libdir=%{_libdir} \
702 --enable-rename-so=no
705 make %{?jobs:-j%jobs}
707 pushd %{_builddir}/%{name}-%{version}/build/tizen
708 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
711 pushd %{buildroot}%{_libdir}
712 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
713 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
720 #######################################################################
721 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
722 # if tv ||"undefined"
723 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
725 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
726 --enable-shaderbincache=DISABLE --enable-profile=TV \
727 --enable-tizen-major-version=%{tizen_version_major} \
728 %if 0%{?tizen_version_major} >= 3
731 --enable-cxx03-abi=yes \
732 %if 0%{?tizen_2_2_compatibility}
733 --with-tizen-2-2-compatibility \
740 %if 0%{?enable_debug}
744 $configure_flags --libdir=%{_libdir} \
745 --enable-rename-so=no
748 make %{?jobs:-j%jobs}
750 pushd %{_builddir}/%{name}-%{version}/build/tizen
751 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
754 pushd %{buildroot}%{_libdir}
755 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
756 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 wearable || "undefined"
765 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
767 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
768 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
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_debug}
786 $configure_flags --libdir=%{_libdir} \
787 --enable-rename-so=no
790 make %{?jobs:-j%jobs}
792 pushd %{_builddir}/%{name}-%{version}/build/tizen
793 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
796 pushd %{buildroot}%{_libdir}
797 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
798 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
804 #######################################################################
805 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
806 # if ivi ||"undefined"
807 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
809 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
810 --enable-shaderbincache=DISABLE --enable-profile=IVI \
811 --enable-tizen-major-version=%{tizen_version_major} \
812 %if 0%{?tizen_version_major} >= 3
815 --enable-cxx03-abi=yes \
816 %if 0%{?tizen_2_2_compatibility}
817 --with-tizen-2-2-compatibility \
824 %if 0%{?enable_debug}
828 $configure_flags --libdir=%{_libdir} \
829 --enable-rename-so=no
832 make %{?jobs:-j%jobs}
834 pushd %{_builddir}/%{name}-%{version}/build/tizen
835 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
838 pushd %{buildroot}%{_libdir}
839 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
840 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
846 #######################################################################
848 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
849 # if common ||"undefined"
850 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
852 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
853 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
854 --enable-tizen-major-version=%{tizen_version_major} \
855 %if 0%{?tizen_version_major} >= 3
858 --enable-cxx03-abi=yes \
859 %if 0%{?tizen_2_2_compatibility}
860 --with-tizen-2-2-compatibility \
867 %if 0%{?enable_debug}
871 $configure_flags --libdir=%{_libdir} \
872 --enable-rename-so=no
875 make %{?jobs:-j%jobs}
880 ##############################
882 ##############################
886 pushd %{_builddir}/%{name}-%{version}/build/tizen
887 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
890 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
891 # !unified && (wearable || tv || ivi || mobile)
892 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
893 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
896 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
897 # wearable || tv || ivi || mobile || unified
898 %if "%{?profile}" != "common"
899 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
900 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
904 ################################################
906 ###############################################
907 pushd %{buildroot}%{_libdir}
909 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
910 # if common ||"undefined"
911 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
912 rm -rf libdali-adaptor*.so
913 %if !0%{?disable_cxx03_build}
914 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
916 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
919 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
920 # if wearable || "undefined"
921 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
922 rm -rf libdali-adaptor*.so.wearable
923 %if !0%{?disable_cxx03_build}
924 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
926 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
929 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
930 # if tv ||"undefined"
931 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
932 rm -rf libdali-adaptor*.so.tv
933 %if !0%{?disable_cxx03_build}
934 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
936 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
939 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
940 # if ivi ||"undefined"
941 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
942 rm -rf libdali-adaptor*.so.ivi
943 %if !0%{?disable_cxx03_build}
944 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
946 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
949 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
950 # if mobile || "undefined"
951 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
952 rm -rf libdali-adaptor*.so.mobile
953 %if !0%{?disable_cxx03_build}
954 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
956 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
960 ##############################
962 # 1 - Pre Install new package
963 # 2 - Install new package
964 # 3 - Post install new package
965 # 4 - Pre uninstall old package
966 # 5 - Remove files not overwritten by new package
967 # 6 - Post uninstall old package
968 ##############################
973 ##############################
974 # Post Install new package
975 ##############################
980 ##############################
981 # Pre Uninstall old package
982 ##############################
986 ##############################
987 # Post Uninstall old package
988 ##############################
993 ##############################
995 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
996 # if mobile || "undefined"
997 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1000 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1005 %postun profile_mobile
1010 ##############################
1012 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1013 # if tv ||"undefined"
1014 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1017 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1027 ##############################
1029 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1030 # if wearable || "undefined"
1031 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1032 %post profile_wearable
1034 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1039 %postun profile_wearable
1044 ##############################
1046 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1047 # if ivi ||"undefined"
1048 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1051 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1061 %if !0%{?disable_cxx03_build}
1062 ##############################
1064 #############################
1065 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1066 # if mobile || "undefined"
1067 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1068 %post profile_mobile-cxx03
1070 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1075 %postun profile_mobile-cxx03
1080 ##############################
1082 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1083 # if tv ||"undefined"
1084 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1085 %post profile_tv-cxx03
1087 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1092 %postun profile_tv-cxx03
1097 ##############################
1099 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1100 # if wearable || "undefined"
1101 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1102 %post profile_wearable-cxx03
1104 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1109 %postun profile_wearable-cxx03
1114 ##############################
1116 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1117 # if ivi ||"undefined"
1118 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1119 %post profile_ivi-cxx03
1121 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1126 %postun profile_ivi-cxx03
1132 ##############################
1133 # Files in Binary Packages
1134 ##############################
1137 %manifest dali-adaptor.manifest
1138 %defattr(-,root,root,-)
1139 %defattr(-,app,app,-)
1140 %dir %{user_shader_cache_dir}
1144 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1145 # if common ||"undefined"
1146 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1147 %defattr(-,root,root,-)
1148 %{_libdir}/libdali-adaptor-cxx11.so.0*
1149 %{_libdir}/libdali-adaptor.so
1150 %exclude %{_libdir}/libdali-adap*.so*.mobile
1151 %exclude %{_libdir}/libdali-adap*.so*.wearable
1152 %exclude %{_libdir}/libdali-adap*.so*.tv
1153 %exclude %{_libdir}/libdali-adap*.so*.ivi
1156 %if !0%{?disable_cxx03_build}
1158 %manifest dali-adaptor.manifest
1159 %defattr(-,root,root,-)
1160 %defattr(-,app,app,-)
1161 %dir %{user_shader_cache_dir}
1164 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1165 # if common ||"undefined"
1166 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1167 %defattr(-,root,root,-)
1168 %{_libdir}/libdali-adaptor.so.0*
1169 %{_libdir}/libdali-adaptor-cxx03.so
1170 %exclude %{_libdir}/libdali-adap*.so*.mobile
1171 %exclude %{_libdir}/libdali-adap*.so*.wearable
1172 %exclude %{_libdir}/libdali-adap*.so*.tv
1173 %exclude %{_libdir}/libdali-adap*.so*.ivi
1176 %if 0%{?tizen_version_major} >= 3
1177 %files dali-feedback-plugin-cxx03
1178 %manifest dali-adaptor.manifest
1179 %defattr(-,root,root,-)
1180 %{_libdir}/libdali-feedback-plugin.so*
1181 %{dali_plugin_sound_files}/*
1185 #################################################
1187 %if 0%{?tizen_version_major} >= 3
1188 %files dali-feedback-plugin
1189 %manifest dali-adaptor.manifest
1190 %defattr(-,root,root,-)
1191 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1192 %{dali_plugin_sound_files}/*
1195 #################################################
1197 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1198 # if common ||"undefined"
1199 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1200 %files profile_common
1201 # default .so files are housed in the main pkg.
1204 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1205 # if mobile || "undefined"
1206 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1207 %files profile_mobile
1208 %manifest dali-adaptor.manifest
1209 %defattr(-,root,root,-)
1210 %{_libdir}/libdali-adaptor.so.mobile
1211 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1214 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1215 # if tv ||"undefined"
1216 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1218 %manifest dali-adaptor.manifest
1219 %defattr(-,root,root,-)
1220 %{_libdir}/libdali-adaptor.so.tv
1221 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1224 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1225 # if wearable || "undefined"
1226 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1227 %files profile_wearable
1228 %manifest dali-adaptor.manifest
1229 %defattr(-,root,root,-)
1230 %{_libdir}/libdali-adaptor.so.wearable
1231 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1234 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1235 # if ivi ||"undefined"
1236 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1238 %manifest dali-adaptor.manifest
1239 %defattr(-,root,root,-)
1240 %{_libdir}/libdali-adaptor.so.ivi
1241 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1246 %defattr(-,root,root,-)
1247 %{dev_include_path}/dali/dali.h
1248 %{dev_include_path}/dali/public-api/*
1249 %{dev_include_path}/dali/devel-api/*
1250 %{dev_include_path}/dali/doc/*
1251 %{_libdir}/pkgconfig/dali-adaptor.pc
1253 %files integration-devel
1254 %defattr(-,root,root,-)
1255 %{dev_include_path}/dali/integration-api/adaptors/*
1256 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1258 %if !0%{?disable_cxx03_build}
1259 ################################################
1261 ################################################
1263 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1264 # if common ||"undefined"
1265 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1266 %files profile_common-cxx03
1267 # default .so files are housed in the main pkg.
1270 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1271 # if mobile || "undefined"
1272 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1273 %files profile_mobile-cxx03
1274 %manifest dali-adaptor.manifest
1275 %defattr(-,root,root,-)
1276 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1277 %{_libdir}/libdali-adaptor.so.0*mobile
1280 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1281 # if tv ||"undefined"
1282 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1283 %files profile_tv-cxx03
1284 %manifest dali-adaptor.manifest
1285 %defattr(-,root,root,-)
1286 %{_libdir}/libdali-adaptor-cxx03.so.tv
1287 %{_libdir}/libdali-adaptor.so.0*.tv
1290 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1291 # if wearable || "undefined"
1292 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1293 %files profile_wearable-cxx03
1294 %manifest dali-adaptor.manifest
1295 %defattr(-,root,root,-)
1296 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1297 %{_libdir}/libdali-adaptor.so.0*.wearable
1300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1301 # if ivi ||"undefined"
1302 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1303 %files profile_ivi-cxx03
1304 %manifest dali-adaptor.manifest
1305 %defattr(-,root,root,-)
1306 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1307 %{_libdir}/libdali-adaptor.so.0*.ivi
1312 %defattr(-,root,root,-)
1313 %{dev_include_path}/dali/dali.h
1314 %{dev_include_path}/dali/public-api/*
1315 %{dev_include_path}/dali/devel-api/*
1316 %{dev_include_path}/dali/doc/*
1317 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1319 %files integration-devel-cxx03
1320 %defattr(-,root,root,-)
1321 %{dev_include_path}/dali/integration-api/adaptors/*
1322 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc