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)
143 Requires: %{name}-compat = %{version}-%{release}
144 Recommends: %{name}-profile_common = %{version}-%{release}
147 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
148 platform abstraction and application shell
150 %if !0%{?disable_cxx03_build}
152 Summary: The DALi Tizen Adaptor with cxx03 abi
153 Provides: %{name}-cxx03 = %{version}-%{release}
156 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
157 platform abstraction and application shell
160 ###########################################
161 # Dali adapter for profiles
162 ###########################################
164 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
165 # if mobile || "undefined"
166 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
167 %package profile_mobile
168 Summary: The DALi Tizen Adaptor for mobile
169 Provides: %{name}-compat = %{version}-%{release}
170 Conflicts: %{name}-profile_tv
171 Conflicts: %{name}-profile_wearable
172 Conflicts: %{name}-profile_ivi
173 Conflicts: %{name}-profile_common
174 %description profile_mobile
175 The DALi Tizen Adaptor for mobile.
178 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
179 # if tv ||"undefined"
180 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
182 Summary: The DALi Tizen Adaptor for tv
183 Provides: %{name}-compat = %{version}-%{release}
184 Conflicts: %{name}-profile_mobile
185 Conflicts: %{name}-profile_wearable
186 Conflicts: %{name}-profile_ivi
187 Conflicts: %{name}-profile_common
188 %description profile_tv
189 The DALi Tizen Adaptor for tv.
192 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
193 # if wearable || "undefined"
194 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
195 %package profile_wearable
196 Summary: The DALi Tizen Adaptor for wearable
197 Provides: %{name}-compat = %{version}-%{release}
198 Conflicts: %{name}-profile_mobile
199 Conflicts: %{name}-profile_tv
200 Conflicts: %{name}-profile_ivi
201 Conflicts: %{name}-profile_common
202 %description profile_wearable
203 The DALi Tizen Adaptor for wearable.
206 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
207 # if ivi ||"undefined"
208 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
210 Summary: The DALi Tizen Adaptor for ivi
211 Provides: %{name}-compat = %{version}-%{release}
212 Conflicts: %{name}-profile_mobile
213 Conflicts: %{name}-profile_wearable
214 Conflicts: %{name}-profile_tv
215 Conflicts: %{name}-profile_common
216 %description profile_ivi
217 The DALi Tizen Adaptor for ivi.
220 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
221 # if common ||"undefined"
222 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
223 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
224 %package profile_common
225 %define tizen_2_2_compatibility 0
226 Summary: The DALi Tizen Adaptor for common
227 Provides: %{name}-compat = %{version}-%{release}
228 Conflicts: %{name}-profile_mobile
229 Conflicts: %{name}-profile_wearable
230 Conflicts: %{name}-profile_tv
231 Conflicts: %{name}-profile_ivi
232 %description profile_common
233 The DALi Tizen Adaptor for common.
236 %if !0%{?disable_cxx03_build}
237 ###########################################
238 # Dali adapter for profiles for cxx03 ABI
239 ###########################################
241 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
242 # if mobile || "undefined"
243 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
244 %package profile_mobile-cxx03
245 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
246 Provides: %{name}-cxx03-compat = %{version}-%{release}
247 Conflicts: %{name}-profile_tv-cxx03
248 Conflicts: %{name}-profile_wearable-cxx03
249 Conflicts: %{name}-profile_ivi-cxx03
250 Conflicts: %{name}-profile_common-cxx03
251 %description profile_mobile-cxx03
252 The DALi Tizen Adaptor for mobile.
255 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
256 # if tv ||"undefined"
257 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
258 %package profile_tv-cxx03
259 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
260 Provides: %{name}-cxx03-compat = %{version}-%{release}
261 Conflicts: %{name}-profile_mobile-cxx03
262 Conflicts: %{name}-profile_wearable-cxx03
263 Conflicts: %{name}-profile_ivi-cxx03
264 Conflicts: %{name}-profile_common-cxx03
265 %description profile_tv-cxx03
266 The DALi Tizen Adaptor for tv.
269 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
270 # if wearable || "undefined"
271 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
272 %package profile_wearable-cxx03
273 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
274 Provides: %{name}-cxx03-compat = %{version}-%{release}
275 Conflicts: %{name}-profile_mobile-cxx03
276 Conflicts: %{name}-profile_tv-cxx03
277 Conflicts: %{name}-profile_ivi-cxx03
278 Conflicts: %{name}-profile_common-cxx03
279 %description profile_wearable-cxx03
280 The DALi Tizen Adaptor for wearable.
283 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
284 # if ivi ||"undefined"
285 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
286 %package profile_ivi-cxx03
287 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
288 Provides: %{name}-cxx03-compat = %{version}-%{release}
289 Conflicts: %{name}-profile_mobile-cxx03
290 Conflicts: %{name}-profile_wearable-cxx03
291 Conflicts: %{name}-profile_tv-cxx03
292 Conflicts: %{name}-profile_common-cxx03
293 %description profile_ivi-cxx03
294 The DALi Tizen Adaptor for ivi.
297 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
298 # if common ||"undefined"
299 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
300 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
301 %package profile_common-cxx03
302 %define tizen_2_2_compatibility 0
303 Summary: The DALi Tizen Adaptor for common with cxx03 abi
304 Provides: %{name}-cxx03-compat = %{version}-%{release}
305 Conflicts: %{name}-profile_mobile-cxx03
306 Conflicts: %{name}-profile_wearable-cxx03
307 Conflicts: %{name}-profile_tv-cxx03
308 Conflicts: %{name}-profile_ivi-cxx03
309 %description profile_common-cxx03
310 The DALi Tizen Adaptor for common.
314 ##############################
316 ##############################
318 Summary: Development components for the DALi Tizen Adaptor
319 Group: Development/Building
320 Requires: %{name} = %{version}-%{release}
321 Requires: %{name}-integration-devel = %{version}-%{release}
324 Development components for the DALi Tizen Adaptor - public headers and package configs
326 ##############################
328 ##############################
329 %package integration-devel
330 Summary: Integration development package for the Adaptor
331 Group: Development/Building
332 Requires: %{name} = %{version}-%{release}
334 %description integration-devel
335 Integration development package for the Adaptor - headers for integrating with an adaptor library.
337 %if !0%{?disable_cxx03_build}
338 ##############################
340 ##############################
342 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
343 Group: Development/Building
344 Requires: %{name}-cxx03 = %{version}-%{release}
345 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
347 %description devel-cxx03
348 Development components for the DALi Tizen Adaptor - public headers and package configs
350 ##############################
351 # integration-devel cxx03
352 ##############################
353 %package integration-devel-cxx03
354 Summary: Integration development package for the Adaptor with cxx03 abi
355 Group: Development/Building
356 Requires: %{name}-cxx03 = %{version}-%{release}
358 %description integration-devel-cxx03
359 Integration development package for the Adaptor - headers for integrating with an adaptor library.
362 ##############################
363 # Dali Feedback Plugin
364 ##############################
365 %package dali-feedback-plugin
366 Summary: Plugin to play haptic and audio feedback for Dali
367 Group: System/Libraries
368 Requires: %{name} = %{version}-%{release}
369 %description dali-feedback-plugin
370 Feedback plugin to play haptic and audio feedback for Dali
372 %if !0%{?disable_cxx03_build}
373 ##############################
374 # Dali Feedback Plugin cxx03
375 ##############################
377 %package dali-feedback-plugin-cxx03
378 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
379 Group: System/Libraries
380 Requires: %{name}-cxx03 = %{version}-%{release}
381 %description dali-feedback-plugin-cxx03
382 Feedback plugin to play haptic and audio feedback for Dali
386 ##############################
388 ##############################
392 #Use TZ_PATH when tizen version is 3.x or greater
394 %if 0%{?tizen_version_major} >= 3
395 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
396 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
397 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
398 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
399 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
400 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
402 %define dali_data_rw_dir /usr/share/dali/
403 %define dali_data_ro_dir /usr/share/dali/
404 %define font_preloaded_path /usr/share/fonts/
405 %define font_downloaded_path /opt/share/fonts/
406 %define font_application_path /usr/share/app_fonts/
407 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
410 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
411 %define dali_plugin_sound_files /plugins/sounds/
412 %define dev_include_path %{_includedir}
414 ##############################
416 ##############################
419 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
420 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
423 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
428 CXXFLAGS+=" -DWAYLAND"
429 configure_flags="--enable-wayland"
432 # Use this conditional when Tizen version is 4.x or greater
433 %if 0%{?tizen_version_major} >= 4
434 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
437 %if 0%{?tizen_2_2_compatibility}
438 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
439 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
443 cd %{_builddir}/%{name}-%{version}/build/tizen
446 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
447 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
448 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
449 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
450 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
451 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
452 %if 0%{?tizen_platform_config_supported}
453 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
456 # Default to GLES 2.0 if not specified.
457 %if 0%{?target_gles_version} == 0
458 %define target_gles_version 20
461 # Set up the build via configure.
462 #######################################################################
463 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
464 # if mobile || "undefined"
465 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
466 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
467 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
468 --enable-tizen-major-version=%{tizen_version_major} \
469 %if 0%{?tizen_version_major} >= 3
472 %if 0%{?tizen_2_2_compatibility}
473 --with-tizen-2-2-compatibility \
480 %if 0%{?enable_debug}
484 $configure_flags --libdir=%{_libdir} \
485 --enable-rename-so=no
488 make %{?jobs:-j%jobs}
490 pushd %{_builddir}/%{name}-%{version}/build/tizen
491 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
494 pushd %{buildroot}%{_libdir}
495 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
496 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
497 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
504 #######################################################################
505 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
506 # if tv ||"undefined"
507 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
508 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
509 --enable-shaderbincache=DISABLE --enable-profile=TV \
510 --enable-tizen-major-version=%{tizen_version_major} \
511 %if 0%{?tizen_version_major} >= 3
514 %if 0%{?tizen_2_2_compatibility}
515 --with-tizen-2-2-compatibility \
522 %if 0%{?enable_debug}
526 $configure_flags --libdir=%{_libdir} \
527 --enable-rename-so=no
530 make %{?jobs:-j%jobs}
532 pushd %{_builddir}/%{name}-%{version}/build/tizen
533 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
536 pushd %{buildroot}%{_libdir}
537 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
538 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
539 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
545 #######################################################################
546 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
547 # if wearable || "undefined"
548 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
549 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
550 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
551 --enable-tizen-major-version=%{tizen_version_major} \
552 %if 0%{?tizen_version_major} >= 3
555 %if 0%{?tizen_2_2_compatibility}
556 --with-tizen-2-2-compatibility \
563 %if 0%{?enable_debug}
567 $configure_flags --libdir=%{_libdir} \
568 --enable-rename-so=no
571 make %{?jobs:-j%jobs}
573 pushd %{_builddir}/%{name}-%{version}/build/tizen
574 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
577 pushd %{buildroot}%{_libdir}
578 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
579 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
580 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
586 #######################################################################
587 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
588 # if ivi ||"undefined"
589 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
590 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
591 --enable-shaderbincache=DISABLE --enable-profile=IVI \
592 --enable-tizen-major-version=%{tizen_version_major} \
593 %if 0%{?tizen_version_major} >= 3
596 %if 0%{?tizen_2_2_compatibility}
597 --with-tizen-2-2-compatibility \
604 %if 0%{?enable_debug}
608 $configure_flags --libdir=%{_libdir} \
609 --enable-rename-so=no
612 make %{?jobs:-j%jobs}
614 pushd %{_builddir}/%{name}-%{version}/build/tizen
615 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
618 pushd %{buildroot}%{_libdir}
619 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
620 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
622 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
628 #######################################################################
630 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
631 # if common ||"undefined"
632 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
633 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
634 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
635 --enable-tizen-major-version=%{tizen_version_major} \
636 %if 0%{?tizen_version_major} >= 3
639 %if 0%{?tizen_2_2_compatibility}
640 --with-tizen-2-2-compatibility \
647 %if 0%{?enable_debug}
651 $configure_flags --libdir=%{_libdir} \
652 --enable-rename-so=no
655 make %{?jobs:-j%jobs}
657 pushd %{_builddir}/%{name}-%{version}/build/tizen
658 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
661 pushd %{buildroot}%{_libdir}
662 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
663 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
665 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
672 %if !0%{?disable_cxx03_build}
673 #######################################################################
675 #######################################################################
677 # Set up the build via configure.
678 #######################################################################
679 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
680 # if mobile || "undefined"
681 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
683 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
684 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
685 --enable-tizen-major-version=%{tizen_version_major} \
686 %if 0%{?tizen_version_major} >= 3
689 --enable-cxx03-abi=yes \
690 %if 0%{?tizen_2_2_compatibility}
691 --with-tizen-2-2-compatibility \
698 %if 0%{?enable_debug}
702 $configure_flags --libdir=%{_libdir} \
703 --enable-rename-so=no
706 make %{?jobs:-j%jobs}
708 pushd %{_builddir}/%{name}-%{version}/build/tizen
709 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
712 pushd %{buildroot}%{_libdir}
713 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
714 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
721 #######################################################################
722 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
723 # if tv ||"undefined"
724 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
726 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
727 --enable-shaderbincache=DISABLE --enable-profile=TV \
728 --enable-tizen-major-version=%{tizen_version_major} \
729 %if 0%{?tizen_version_major} >= 3
732 --enable-cxx03-abi=yes \
733 %if 0%{?tizen_2_2_compatibility}
734 --with-tizen-2-2-compatibility \
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.tv"; done
757 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
763 #######################################################################
764 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
765 # if wearable || "undefined"
766 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
768 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
769 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
770 --enable-tizen-major-version=%{tizen_version_major} \
771 %if 0%{?tizen_version_major} >= 3
774 --enable-cxx03-abi=yes \
775 %if 0%{?tizen_2_2_compatibility}
776 --with-tizen-2-2-compatibility \
783 %if 0%{?enable_debug}
787 $configure_flags --libdir=%{_libdir} \
788 --enable-rename-so=no
791 make %{?jobs:-j%jobs}
793 pushd %{_builddir}/%{name}-%{version}/build/tizen
794 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
797 pushd %{buildroot}%{_libdir}
798 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
799 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
805 #######################################################################
806 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
807 # if ivi ||"undefined"
808 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
810 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
811 --enable-shaderbincache=DISABLE --enable-profile=IVI \
812 --enable-tizen-major-version=%{tizen_version_major} \
813 %if 0%{?tizen_version_major} >= 3
816 --enable-cxx03-abi=yes \
817 %if 0%{?tizen_2_2_compatibility}
818 --with-tizen-2-2-compatibility \
825 %if 0%{?enable_debug}
829 $configure_flags --libdir=%{_libdir} \
830 --enable-rename-so=no
833 make %{?jobs:-j%jobs}
835 pushd %{_builddir}/%{name}-%{version}/build/tizen
836 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
839 pushd %{buildroot}%{_libdir}
840 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
841 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
847 #######################################################################
849 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
850 # if common ||"undefined"
851 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
853 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
854 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
855 --enable-tizen-major-version=%{tizen_version_major} \
856 %if 0%{?tizen_version_major} >= 3
859 --enable-cxx03-abi=yes \
860 %if 0%{?tizen_2_2_compatibility}
861 --with-tizen-2-2-compatibility \
868 %if 0%{?enable_debug}
872 $configure_flags --libdir=%{_libdir} \
873 --enable-rename-so=no
876 make %{?jobs:-j%jobs}
881 ##############################
883 ##############################
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 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
892 # !unified && (wearable || tv || ivi || mobile)
893 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
894 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
897 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
898 # wearable || tv || ivi || mobile || unified
899 %if "%{?profile}" != "common"
900 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
901 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
905 ################################################
907 ###############################################
908 pushd %{buildroot}%{_libdir}
910 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
911 # if common ||"undefined"
912 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
913 rm -rf libdali-adaptor*.so
914 %if !0%{?disable_cxx03_build}
915 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
917 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
920 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
921 # if wearable || "undefined"
922 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
923 rm -rf libdali-adaptor*.so.wearable
924 %if !0%{?disable_cxx03_build}
925 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
927 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
930 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
931 # if tv ||"undefined"
932 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
933 rm -rf libdali-adaptor*.so.tv
934 %if !0%{?disable_cxx03_build}
935 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
937 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
940 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
941 # if ivi ||"undefined"
942 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
943 rm -rf libdali-adaptor*.so.ivi
944 %if !0%{?disable_cxx03_build}
945 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
947 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
950 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
951 # if mobile || "undefined"
952 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
953 rm -rf libdali-adaptor*.so.mobile
954 %if !0%{?disable_cxx03_build}
955 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
957 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
961 ##############################
963 # 1 - Pre Install new package
964 # 2 - Install new package
965 # 3 - Post install new package
966 # 4 - Pre uninstall old package
967 # 5 - Remove files not overwritten by new package
968 # 6 - Post uninstall old package
969 ##############################
974 ##############################
975 # Post Install new package
976 ##############################
981 ##############################
982 # Pre Uninstall old package
983 ##############################
987 ##############################
988 # Post Uninstall old package
989 ##############################
994 ##############################
996 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
997 # if mobile || "undefined"
998 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1001 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1006 %postun profile_mobile
1011 ##############################
1013 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1014 # if tv ||"undefined"
1015 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1018 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1028 ##############################
1030 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1031 # if wearable || "undefined"
1032 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1033 %post profile_wearable
1035 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1040 %postun profile_wearable
1045 ##############################
1047 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1048 # if ivi ||"undefined"
1049 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1052 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1062 %if !0%{?disable_cxx03_build}
1063 ##############################
1065 #############################
1066 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1067 # if mobile || "undefined"
1068 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1069 %post profile_mobile-cxx03
1071 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1076 %postun profile_mobile-cxx03
1081 ##############################
1083 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1084 # if tv ||"undefined"
1085 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1086 %post profile_tv-cxx03
1088 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1093 %postun profile_tv-cxx03
1098 ##############################
1100 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1101 # if wearable || "undefined"
1102 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1103 %post profile_wearable-cxx03
1105 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1110 %postun profile_wearable-cxx03
1115 ##############################
1117 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1118 # if ivi ||"undefined"
1119 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1120 %post profile_ivi-cxx03
1122 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1127 %postun profile_ivi-cxx03
1133 ##############################
1134 # Files in Binary Packages
1135 ##############################
1138 %manifest dali-adaptor.manifest
1139 %defattr(-,root,root,-)
1140 %defattr(-,app,app,-)
1141 %dir %{user_shader_cache_dir}
1145 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1146 # if common ||"undefined"
1147 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1148 %defattr(-,root,root,-)
1149 %{_libdir}/libdali-adaptor-cxx11.so.0*
1150 %{_libdir}/libdali-adaptor.so
1151 %exclude %{_libdir}/libdali-adap*.so*.mobile
1152 %exclude %{_libdir}/libdali-adap*.so*.wearable
1153 %exclude %{_libdir}/libdali-adap*.so*.tv
1154 %exclude %{_libdir}/libdali-adap*.so*.ivi
1157 %if !0%{?disable_cxx03_build}
1159 %manifest dali-adaptor.manifest
1160 %defattr(-,root,root,-)
1161 %defattr(-,app,app,-)
1162 %dir %{user_shader_cache_dir}
1165 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1166 # if common ||"undefined"
1167 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1168 %defattr(-,root,root,-)
1169 %{_libdir}/libdali-adaptor.so.0*
1170 %{_libdir}/libdali-adaptor-cxx03.so
1171 %exclude %{_libdir}/libdali-adap*.so*.mobile
1172 %exclude %{_libdir}/libdali-adap*.so*.wearable
1173 %exclude %{_libdir}/libdali-adap*.so*.tv
1174 %exclude %{_libdir}/libdali-adap*.so*.ivi
1177 %if 0%{?tizen_version_major} >= 3
1178 %files dali-feedback-plugin-cxx03
1179 %manifest dali-adaptor.manifest
1180 %defattr(-,root,root,-)
1181 %{_libdir}/libdali-feedback-plugin.so*
1182 %{dali_plugin_sound_files}/*
1186 #################################################
1188 %if 0%{?tizen_version_major} >= 3
1189 %files dali-feedback-plugin
1190 %manifest dali-adaptor.manifest
1191 %defattr(-,root,root,-)
1192 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1193 %{dali_plugin_sound_files}/*
1196 #################################################
1198 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1199 # if common ||"undefined"
1200 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1201 %files profile_common
1202 # default .so files are housed in the main pkg.
1205 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1206 # if mobile || "undefined"
1207 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1208 %files profile_mobile
1209 %manifest dali-adaptor.manifest
1210 %defattr(-,root,root,-)
1211 %{_libdir}/libdali-adaptor.so.mobile
1212 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1215 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1216 # if tv ||"undefined"
1217 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1219 %manifest dali-adaptor.manifest
1220 %defattr(-,root,root,-)
1221 %{_libdir}/libdali-adaptor.so.tv
1222 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1225 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1226 # if wearable || "undefined"
1227 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1228 %files profile_wearable
1229 %manifest dali-adaptor.manifest
1230 %defattr(-,root,root,-)
1231 %{_libdir}/libdali-adaptor.so.wearable
1232 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1235 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1236 # if ivi ||"undefined"
1237 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1239 %manifest dali-adaptor.manifest
1240 %defattr(-,root,root,-)
1241 %{_libdir}/libdali-adaptor.so.ivi
1242 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1247 %defattr(-,root,root,-)
1248 %{dev_include_path}/dali/dali.h
1249 %{dev_include_path}/dali/public-api/*
1250 %{dev_include_path}/dali/devel-api/*
1251 %{dev_include_path}/dali/doc/*
1252 %{_libdir}/pkgconfig/dali-adaptor.pc
1254 %files integration-devel
1255 %defattr(-,root,root,-)
1256 %{dev_include_path}/dali/integration-api/adaptors/*
1257 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1259 %if !0%{?disable_cxx03_build}
1260 ################################################
1262 ################################################
1264 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1265 # if common ||"undefined"
1266 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1267 %files profile_common-cxx03
1268 # default .so files are housed in the main pkg.
1271 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1272 # if mobile || "undefined"
1273 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1274 %files profile_mobile-cxx03
1275 %manifest dali-adaptor.manifest
1276 %defattr(-,root,root,-)
1277 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1278 %{_libdir}/libdali-adaptor.so.0*mobile
1281 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1282 # if tv ||"undefined"
1283 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1284 %files profile_tv-cxx03
1285 %manifest dali-adaptor.manifest
1286 %defattr(-,root,root,-)
1287 %{_libdir}/libdali-adaptor-cxx03.so.tv
1288 %{_libdir}/libdali-adaptor.so.0*.tv
1291 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1292 # if wearable || "undefined"
1293 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1294 %files profile_wearable-cxx03
1295 %manifest dali-adaptor.manifest
1296 %defattr(-,root,root,-)
1297 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1298 %{_libdir}/libdali-adaptor.so.0*.wearable
1301 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1302 # if ivi ||"undefined"
1303 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1304 %files profile_ivi-cxx03
1305 %manifest dali-adaptor.manifest
1306 %defattr(-,root,root,-)
1307 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1308 %{_libdir}/libdali-adaptor.so.0*.ivi
1313 %defattr(-,root,root,-)
1314 %{dev_include_path}/dali/dali.h
1315 %{dev_include_path}/dali/public-api/*
1316 %{dev_include_path}/dali/devel-api/*
1317 %{dev_include_path}/dali/doc/*
1318 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1320 %files integration-devel-cxx03
1321 %defattr(-,root,root,-)
1322 %{dev_include_path}/dali/integration-api/adaptors/*
1323 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc