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 %if 0%{?tizen_version_major} >= 5
100 BuildRequires: pkgconfig(ecore-wl2)
102 BuildRequires: pkgconfig(ecore-wayland)
105 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
106 BuildRequires: pkgconfig(libtbm)
108 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
109 %if !0%{?disable_cxx03_build}
110 BuildRequires: pkgconfig(tpkp-curl-deprecated)
112 BuildRequires: pkgconfig(tpkp-curl)
114 ####### BUILDING FOR X11#######
116 BuildRequires: pkgconfig(egl)
117 BuildRequires: pkgconfig(xext)
118 BuildRequires: pkgconfig(xi)
119 BuildRequires: pkgconfig(xfixes)
120 BuildRequires: pkgconfig(xdamage)
121 BuildRequires: pkgconfig(utilX)
125 %if 0%{?tizen_version_major} == 3
126 BuildRequires: pkgconfig(capi-appfw-application)
127 BuildRequires: pkgconfig(elementary)
129 BuildRequires: pkgconfig(appcore-ui)
130 BuildRequires: pkgconfig(appcore-widget-base)
131 BuildRequires: pkgconfig(bundle)
132 BuildRequires: pkgconfig(capi-appfw-app-common)
133 BuildRequires: pkgconfig(capi-appfw-app-control)
134 BuildRequires: pkgconfig(ecore-imf)
137 BuildRequires: pkgconfig(capi-system-system-settings)
139 # for feedback plugin
140 BuildRequires: pkgconfig(mm-sound)
141 %if 0%{?tizen_version_major} >= 3
142 BuildRequires: pkgconfig(feedback)
146 Requires: %{name}-compat = %{version}-%{release}
147 Recommends: %{name}-profile_common = %{version}-%{release}
150 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
151 platform abstraction and application shell
153 %if !0%{?disable_cxx03_build}
155 Summary: The DALi Tizen Adaptor with cxx03 abi
156 Provides: %{name}-cxx03 = %{version}-%{release}
159 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
160 platform abstraction and application shell
163 ###########################################
164 # Dali adapter for profiles
165 ###########################################
167 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
168 # if mobile || "undefined"
169 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
170 %package profile_mobile
171 Summary: The DALi Tizen Adaptor for mobile
172 Provides: %{name}-compat = %{version}-%{release}
173 Conflicts: %{name}-profile_tv
174 Conflicts: %{name}-profile_wearable
175 Conflicts: %{name}-profile_ivi
176 Conflicts: %{name}-profile_common
177 %description profile_mobile
178 The DALi Tizen Adaptor for mobile.
181 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
182 # if tv ||"undefined"
183 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
185 Summary: The DALi Tizen Adaptor for tv
186 Provides: %{name}-compat = %{version}-%{release}
187 Conflicts: %{name}-profile_mobile
188 Conflicts: %{name}-profile_wearable
189 Conflicts: %{name}-profile_ivi
190 Conflicts: %{name}-profile_common
191 %description profile_tv
192 The DALi Tizen Adaptor for tv.
195 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
196 # if wearable || "undefined"
197 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
198 %package profile_wearable
199 Summary: The DALi Tizen Adaptor for wearable
200 Provides: %{name}-compat = %{version}-%{release}
201 Conflicts: %{name}-profile_mobile
202 Conflicts: %{name}-profile_tv
203 Conflicts: %{name}-profile_ivi
204 Conflicts: %{name}-profile_common
205 %description profile_wearable
206 The DALi Tizen Adaptor for wearable.
209 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
210 # if ivi ||"undefined"
211 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
213 Summary: The DALi Tizen Adaptor for ivi
214 Provides: %{name}-compat = %{version}-%{release}
215 Conflicts: %{name}-profile_mobile
216 Conflicts: %{name}-profile_wearable
217 Conflicts: %{name}-profile_tv
218 Conflicts: %{name}-profile_common
219 %description profile_ivi
220 The DALi Tizen Adaptor for ivi.
223 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
224 # if common ||"undefined"
225 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
226 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
227 %package profile_common
228 %define tizen_2_2_compatibility 0
229 Summary: The DALi Tizen Adaptor for common
230 Provides: %{name}-compat = %{version}-%{release}
231 Conflicts: %{name}-profile_mobile
232 Conflicts: %{name}-profile_wearable
233 Conflicts: %{name}-profile_tv
234 Conflicts: %{name}-profile_ivi
235 %description profile_common
236 The DALi Tizen Adaptor for common.
239 %if !0%{?disable_cxx03_build}
240 ###########################################
241 # Dali adapter for profiles for cxx03 ABI
242 ###########################################
244 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
245 # if mobile || "undefined"
246 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
247 %package profile_mobile-cxx03
248 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
249 Provides: %{name}-cxx03-compat = %{version}-%{release}
250 Conflicts: %{name}-profile_tv-cxx03
251 Conflicts: %{name}-profile_wearable-cxx03
252 Conflicts: %{name}-profile_ivi-cxx03
253 Conflicts: %{name}-profile_common-cxx03
254 %description profile_mobile-cxx03
255 The DALi Tizen Adaptor for mobile.
258 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
259 # if tv ||"undefined"
260 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
261 %package profile_tv-cxx03
262 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
263 Provides: %{name}-cxx03-compat = %{version}-%{release}
264 Conflicts: %{name}-profile_mobile-cxx03
265 Conflicts: %{name}-profile_wearable-cxx03
266 Conflicts: %{name}-profile_ivi-cxx03
267 Conflicts: %{name}-profile_common-cxx03
268 %description profile_tv-cxx03
269 The DALi Tizen Adaptor for tv.
272 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
273 # if wearable || "undefined"
274 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
275 %package profile_wearable-cxx03
276 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
277 Provides: %{name}-cxx03-compat = %{version}-%{release}
278 Conflicts: %{name}-profile_mobile-cxx03
279 Conflicts: %{name}-profile_tv-cxx03
280 Conflicts: %{name}-profile_ivi-cxx03
281 Conflicts: %{name}-profile_common-cxx03
282 %description profile_wearable-cxx03
283 The DALi Tizen Adaptor for wearable.
286 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
287 # if ivi ||"undefined"
288 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
289 %package profile_ivi-cxx03
290 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
291 Provides: %{name}-cxx03-compat = %{version}-%{release}
292 Conflicts: %{name}-profile_mobile-cxx03
293 Conflicts: %{name}-profile_wearable-cxx03
294 Conflicts: %{name}-profile_tv-cxx03
295 Conflicts: %{name}-profile_common-cxx03
296 %description profile_ivi-cxx03
297 The DALi Tizen Adaptor for ivi.
300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
301 # if common ||"undefined"
302 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
303 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
304 %package profile_common-cxx03
305 %define tizen_2_2_compatibility 0
306 Summary: The DALi Tizen Adaptor for common with cxx03 abi
307 Provides: %{name}-cxx03-compat = %{version}-%{release}
308 Conflicts: %{name}-profile_mobile-cxx03
309 Conflicts: %{name}-profile_wearable-cxx03
310 Conflicts: %{name}-profile_tv-cxx03
311 Conflicts: %{name}-profile_ivi-cxx03
312 %description profile_common-cxx03
313 The DALi Tizen Adaptor for common.
317 ##############################
319 ##############################
321 Summary: Development components for the DALi Tizen Adaptor
322 Group: Development/Building
323 Requires: %{name} = %{version}-%{release}
324 Requires: %{name}-integration-devel = %{version}-%{release}
327 Development components for the DALi Tizen Adaptor - public headers and package configs
329 ##############################
331 ##############################
332 %package integration-devel
333 Summary: Integration development package for the Adaptor
334 Group: Development/Building
335 Requires: %{name} = %{version}-%{release}
337 %description integration-devel
338 Integration development package for the Adaptor - headers for integrating with an adaptor library.
340 %if !0%{?disable_cxx03_build}
341 ##############################
343 ##############################
345 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
346 Group: Development/Building
347 Requires: %{name}-cxx03 = %{version}-%{release}
348 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
350 %description devel-cxx03
351 Development components for the DALi Tizen Adaptor - public headers and package configs
353 ##############################
354 # integration-devel cxx03
355 ##############################
356 %package integration-devel-cxx03
357 Summary: Integration development package for the Adaptor with cxx03 abi
358 Group: Development/Building
359 Requires: %{name}-cxx03 = %{version}-%{release}
361 %description integration-devel-cxx03
362 Integration development package for the Adaptor - headers for integrating with an adaptor library.
365 ##############################
366 # Dali Feedback Plugin
367 ##############################
368 %package dali-feedback-plugin
369 Summary: Plugin to play haptic and audio feedback for Dali
370 Group: System/Libraries
371 Requires: %{name} = %{version}-%{release}
372 %description dali-feedback-plugin
373 Feedback plugin to play haptic and audio feedback for Dali
375 %if !0%{?disable_cxx03_build}
376 ##############################
377 # Dali Feedback Plugin cxx03
378 ##############################
380 %package dali-feedback-plugin-cxx03
381 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
382 Group: System/Libraries
383 Requires: %{name}-cxx03 = %{version}-%{release}
384 %description dali-feedback-plugin-cxx03
385 Feedback plugin to play haptic and audio feedback for Dali
389 ##############################
391 ##############################
395 #Use TZ_PATH when tizen version is 3.x or greater
397 %if 0%{?tizen_version_major} >= 3
398 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
399 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
400 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
401 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
402 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
403 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
405 %define dali_data_rw_dir /usr/share/dali/
406 %define dali_data_ro_dir /usr/share/dali/
407 %define font_preloaded_path /usr/share/fonts/
408 %define font_downloaded_path /opt/share/fonts/
409 %define font_application_path /usr/share/app_fonts/
410 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
413 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
414 %define dali_plugin_sound_files /plugins/sounds/
415 %define dev_include_path %{_includedir}
417 ##############################
419 ##############################
422 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
423 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
426 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
431 CXXFLAGS+=" -DWAYLAND"
432 configure_flags="--enable-wayland"
434 # Need Ecore-Wayland2 when Tizen version is 5.x or greater
435 %if 0%{?tizen_version_major} >= 5
436 CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
437 CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
438 configure_flags+=" --enable-ecore-wayland2"
442 # Use this conditional when Tizen version is 5.x or greater
443 %if 0%{?tizen_version_major} >= 5
444 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
447 # Use this conditional when Tizen version is 4.x or greater
448 %if 0%{?tizen_version_major} >= 4
449 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
452 %if 0%{?tizen_2_2_compatibility}
453 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
454 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
458 cd %{_builddir}/%{name}-%{version}/build/tizen
461 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
462 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
463 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
464 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
465 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
466 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
467 %if 0%{?tizen_platform_config_supported}
468 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
471 # Default to GLES 2.0 if not specified.
472 %if 0%{?target_gles_version} == 0
473 %define target_gles_version 20
476 # Set up the build via configure.
477 #######################################################################
478 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
479 # if mobile || "undefined"
480 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
481 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
482 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
483 --enable-tizen-major-version=%{tizen_version_major} \
484 %if 0%{?tizen_version_major} >= 3
487 %if 0%{?tizen_2_2_compatibility}
488 --with-tizen-2-2-compatibility \
495 %if 0%{?enable_debug}
498 %if 0%{?enable_trace}
502 $configure_flags --libdir=%{_libdir} \
503 --enable-rename-so=no
506 make %{?jobs:-j%jobs}
508 pushd %{_builddir}/%{name}-%{version}/build/tizen
509 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
512 pushd %{buildroot}%{_libdir}
513 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
514 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
515 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
522 #######################################################################
523 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
524 # if tv ||"undefined"
525 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
526 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
527 --enable-shaderbincache=DISABLE --enable-profile=TV \
528 --enable-tizen-major-version=%{tizen_version_major} \
529 %if 0%{?tizen_version_major} >= 3
532 %if 0%{?tizen_2_2_compatibility}
533 --with-tizen-2-2-compatibility \
540 %if 0%{?enable_debug}
543 %if 0%{?enable_trace}
547 $configure_flags --libdir=%{_libdir} \
548 --enable-rename-so=no
551 make %{?jobs:-j%jobs}
553 pushd %{_builddir}/%{name}-%{version}/build/tizen
554 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
557 pushd %{buildroot}%{_libdir}
558 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
559 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
560 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
566 #######################################################################
567 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
568 # if wearable || "undefined"
569 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
570 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
571 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
572 --enable-tizen-major-version=%{tizen_version_major} \
573 %if 0%{?tizen_version_major} >= 3
576 %if 0%{?tizen_2_2_compatibility}
577 --with-tizen-2-2-compatibility \
584 %if 0%{?enable_debug}
587 %if 0%{?enable_trace}
591 $configure_flags --libdir=%{_libdir} \
592 --enable-rename-so=no
595 make %{?jobs:-j%jobs}
597 pushd %{_builddir}/%{name}-%{version}/build/tizen
598 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
601 pushd %{buildroot}%{_libdir}
602 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
603 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
604 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
610 #######################################################################
611 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
612 # if ivi ||"undefined"
613 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
614 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
615 --enable-shaderbincache=DISABLE --enable-profile=IVI \
616 --enable-tizen-major-version=%{tizen_version_major} \
617 %if 0%{?tizen_version_major} >= 3
620 %if 0%{?tizen_2_2_compatibility}
621 --with-tizen-2-2-compatibility \
628 %if 0%{?enable_debug}
631 %if 0%{?enable_trace}
635 $configure_flags --libdir=%{_libdir} \
636 --enable-rename-so=no
639 make %{?jobs:-j%jobs}
641 pushd %{_builddir}/%{name}-%{version}/build/tizen
642 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
645 pushd %{buildroot}%{_libdir}
646 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
647 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
649 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
655 #######################################################################
657 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
658 # if common ||"undefined"
659 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
660 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
661 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
662 --enable-tizen-major-version=%{tizen_version_major} \
663 %if 0%{?tizen_version_major} >= 3
666 %if 0%{?tizen_2_2_compatibility}
667 --with-tizen-2-2-compatibility \
674 %if 0%{?enable_debug}
677 %if 0%{?enable_trace}
681 $configure_flags --libdir=%{_libdir} \
682 --enable-rename-so=no
685 make %{?jobs:-j%jobs}
687 pushd %{_builddir}/%{name}-%{version}/build/tizen
688 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
691 pushd %{buildroot}%{_libdir}
692 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
693 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
695 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
702 %if !0%{?disable_cxx03_build}
703 #######################################################################
705 #######################################################################
707 # Set up the build via configure.
708 #######################################################################
709 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
710 # if mobile || "undefined"
711 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
713 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
714 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
715 --enable-tizen-major-version=%{tizen_version_major} \
716 %if 0%{?tizen_version_major} >= 3
719 --enable-cxx03-abi=yes \
720 %if 0%{?tizen_2_2_compatibility}
721 --with-tizen-2-2-compatibility \
728 %if 0%{?enable_debug}
731 %if 0%{?enable_trace}
735 $configure_flags --libdir=%{_libdir} \
736 --enable-rename-so=no
739 make %{?jobs:-j%jobs}
741 pushd %{_builddir}/%{name}-%{version}/build/tizen
742 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
745 pushd %{buildroot}%{_libdir}
746 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
747 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
754 #######################################################################
755 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
756 # if tv ||"undefined"
757 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
759 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
760 --enable-shaderbincache=DISABLE --enable-profile=TV \
761 --enable-tizen-major-version=%{tizen_version_major} \
762 %if 0%{?tizen_version_major} >= 3
765 --enable-cxx03-abi=yes \
766 %if 0%{?tizen_2_2_compatibility}
767 --with-tizen-2-2-compatibility \
774 %if 0%{?enable_debug}
777 %if 0%{?enable_trace}
781 $configure_flags --libdir=%{_libdir} \
782 --enable-rename-so=no
785 make %{?jobs:-j%jobs}
787 pushd %{_builddir}/%{name}-%{version}/build/tizen
788 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
791 pushd %{buildroot}%{_libdir}
792 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
793 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
799 #######################################################################
800 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
801 # if wearable || "undefined"
802 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
804 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
805 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
806 --enable-tizen-major-version=%{tizen_version_major} \
807 %if 0%{?tizen_version_major} >= 3
810 --enable-cxx03-abi=yes \
811 %if 0%{?tizen_2_2_compatibility}
812 --with-tizen-2-2-compatibility \
819 %if 0%{?enable_debug}
822 %if 0%{?enable_trace}
826 $configure_flags --libdir=%{_libdir} \
827 --enable-rename-so=no
830 make %{?jobs:-j%jobs}
832 pushd %{_builddir}/%{name}-%{version}/build/tizen
833 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
836 pushd %{buildroot}%{_libdir}
837 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
838 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
844 #######################################################################
845 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
846 # if ivi ||"undefined"
847 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
849 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
850 --enable-shaderbincache=DISABLE --enable-profile=IVI \
851 --enable-tizen-major-version=%{tizen_version_major} \
852 %if 0%{?tizen_version_major} >= 3
855 --enable-cxx03-abi=yes \
856 %if 0%{?tizen_2_2_compatibility}
857 --with-tizen-2-2-compatibility \
864 %if 0%{?enable_debug}
867 %if 0%{?enable_trace}
871 $configure_flags --libdir=%{_libdir} \
872 --enable-rename-so=no
875 make %{?jobs:-j%jobs}
877 pushd %{_builddir}/%{name}-%{version}/build/tizen
878 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
881 pushd %{buildroot}%{_libdir}
882 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
883 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
889 #######################################################################
891 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
892 # if common ||"undefined"
893 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
895 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
896 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
897 --enable-tizen-major-version=%{tizen_version_major} \
898 %if 0%{?tizen_version_major} >= 3
901 --enable-cxx03-abi=yes \
902 %if 0%{?tizen_2_2_compatibility}
903 --with-tizen-2-2-compatibility \
910 %if 0%{?enable_debug}
913 %if 0%{?enable_trace}
917 $configure_flags --libdir=%{_libdir} \
918 --enable-rename-so=no
921 make %{?jobs:-j%jobs}
926 ##############################
928 ##############################
932 pushd %{_builddir}/%{name}-%{version}/build/tizen
933 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
936 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
937 # !unified && (wearable || tv || ivi || mobile)
938 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
939 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
942 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
943 # wearable || tv || ivi || mobile || unified
944 %if "%{?profile}" != "common"
945 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
946 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
950 ################################################
952 ###############################################
953 pushd %{buildroot}%{_libdir}
955 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
956 # if common ||"undefined"
957 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
958 rm -rf libdali-adaptor*.so
959 %if !0%{?disable_cxx03_build}
960 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
962 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
965 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
966 # if wearable || "undefined"
967 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
968 rm -rf libdali-adaptor*.so.wearable
969 %if !0%{?disable_cxx03_build}
970 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
972 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
975 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
976 # if tv ||"undefined"
977 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
978 rm -rf libdali-adaptor*.so.tv
979 %if !0%{?disable_cxx03_build}
980 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
982 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
985 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
986 # if ivi ||"undefined"
987 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
988 rm -rf libdali-adaptor*.so.ivi
989 %if !0%{?disable_cxx03_build}
990 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
992 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
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"
998 rm -rf libdali-adaptor*.so.mobile
999 %if !0%{?disable_cxx03_build}
1000 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1002 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1006 ##############################
1008 # 1 - Pre Install new package
1009 # 2 - Install new package
1010 # 3 - Post install new package
1011 # 4 - Pre uninstall old package
1012 # 5 - Remove files not overwritten by new package
1013 # 6 - Post uninstall old package
1014 ##############################
1019 ##############################
1020 # Post Install new package
1021 ##############################
1026 ##############################
1027 # Pre Uninstall old package
1028 ##############################
1032 ##############################
1033 # Post Uninstall old package
1034 ##############################
1039 ##############################
1041 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1042 # if mobile || "undefined"
1043 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1044 %post profile_mobile
1046 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1051 %postun profile_mobile
1056 ##############################
1058 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1059 # if tv ||"undefined"
1060 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1063 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1073 ##############################
1075 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1076 # if wearable || "undefined"
1077 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1078 %post profile_wearable
1080 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1085 %postun profile_wearable
1090 ##############################
1092 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1093 # if ivi ||"undefined"
1094 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1097 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1107 %if !0%{?disable_cxx03_build}
1108 ##############################
1110 #############################
1111 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1112 # if mobile || "undefined"
1113 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1114 %post profile_mobile-cxx03
1116 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1121 %postun profile_mobile-cxx03
1126 ##############################
1128 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1129 # if tv ||"undefined"
1130 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1131 %post profile_tv-cxx03
1133 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1138 %postun profile_tv-cxx03
1143 ##############################
1145 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1146 # if wearable || "undefined"
1147 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1148 %post profile_wearable-cxx03
1150 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1155 %postun profile_wearable-cxx03
1160 ##############################
1162 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1163 # if ivi ||"undefined"
1164 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1165 %post profile_ivi-cxx03
1167 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1172 %postun profile_ivi-cxx03
1178 ##############################
1179 # Files in Binary Packages
1180 ##############################
1183 %manifest dali-adaptor.manifest
1184 %defattr(-,root,root,-)
1185 %dir %{user_shader_cache_dir}
1189 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1190 # if common ||"undefined"
1191 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1192 %defattr(-,root,root,-)
1193 %{_libdir}/libdali-adaptor-cxx11.so.0*
1194 %{_libdir}/libdali-adaptor.so
1195 %exclude %{_libdir}/libdali-adap*.so*.mobile
1196 %exclude %{_libdir}/libdali-adap*.so*.wearable
1197 %exclude %{_libdir}/libdali-adap*.so*.tv
1198 %exclude %{_libdir}/libdali-adap*.so*.ivi
1201 %if !0%{?disable_cxx03_build}
1203 %manifest dali-adaptor.manifest
1204 %defattr(-,root,root,-)
1205 %dir %{user_shader_cache_dir}
1208 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1209 # if common ||"undefined"
1210 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1211 %defattr(-,root,root,-)
1212 %{_libdir}/libdali-adaptor.so.0*
1213 %{_libdir}/libdali-adaptor-cxx03.so
1214 %exclude %{_libdir}/libdali-adap*.so*.mobile
1215 %exclude %{_libdir}/libdali-adap*.so*.wearable
1216 %exclude %{_libdir}/libdali-adap*.so*.tv
1217 %exclude %{_libdir}/libdali-adap*.so*.ivi
1220 %if 0%{?tizen_version_major} >= 3
1221 %files dali-feedback-plugin-cxx03
1222 %manifest dali-adaptor.manifest
1223 %defattr(-,root,root,-)
1224 %{_libdir}/libdali-feedback-plugin.so*
1225 %{dali_plugin_sound_files}/*
1229 #################################################
1231 %if 0%{?tizen_version_major} >= 3
1232 %files dali-feedback-plugin
1233 %manifest dali-adaptor.manifest
1234 %defattr(-,root,root,-)
1235 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1236 %{dali_plugin_sound_files}/*
1239 #################################################
1241 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1242 # if common ||"undefined"
1243 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1244 %files profile_common
1245 # default .so files are housed in the main pkg.
1248 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1249 # if mobile || "undefined"
1250 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1251 %files profile_mobile
1252 %manifest dali-adaptor.manifest
1253 %defattr(-,root,root,-)
1254 %{_libdir}/libdali-adaptor.so.mobile
1255 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1258 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1259 # if tv ||"undefined"
1260 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1262 %manifest dali-adaptor.manifest
1263 %defattr(-,root,root,-)
1264 %{_libdir}/libdali-adaptor.so.tv
1265 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1268 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1269 # if wearable || "undefined"
1270 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1271 %files profile_wearable
1272 %manifest dali-adaptor.manifest
1273 %defattr(-,root,root,-)
1274 %{_libdir}/libdali-adaptor.so.wearable
1275 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1278 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1279 # if ivi ||"undefined"
1280 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1282 %manifest dali-adaptor.manifest
1283 %defattr(-,root,root,-)
1284 %{_libdir}/libdali-adaptor.so.ivi
1285 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1290 %defattr(-,root,root,-)
1291 %{dev_include_path}/dali/dali.h
1292 %{dev_include_path}/dali/public-api/*
1293 %{dev_include_path}/dali/devel-api/*
1294 %{dev_include_path}/dali/doc/*
1295 %{_libdir}/pkgconfig/dali-adaptor.pc
1297 %files integration-devel
1298 %defattr(-,root,root,-)
1299 %{dev_include_path}/dali/integration-api/adaptors/*
1300 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1302 %if !0%{?disable_cxx03_build}
1303 ################################################
1305 ################################################
1307 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1308 # if common ||"undefined"
1309 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1310 %files profile_common-cxx03
1311 # default .so files are housed in the main pkg.
1314 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1315 # if mobile || "undefined"
1316 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1317 %files profile_mobile-cxx03
1318 %manifest dali-adaptor.manifest
1319 %defattr(-,root,root,-)
1320 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1321 %{_libdir}/libdali-adaptor.so.0*mobile
1324 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1325 # if tv ||"undefined"
1326 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1327 %files profile_tv-cxx03
1328 %manifest dali-adaptor.manifest
1329 %defattr(-,root,root,-)
1330 %{_libdir}/libdali-adaptor-cxx03.so.tv
1331 %{_libdir}/libdali-adaptor.so.0*.tv
1334 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1335 # if wearable || "undefined"
1336 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1337 %files profile_wearable-cxx03
1338 %manifest dali-adaptor.manifest
1339 %defattr(-,root,root,-)
1340 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1341 %{_libdir}/libdali-adaptor.so.0*.wearable
1344 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1345 # if ivi ||"undefined"
1346 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1347 %files profile_ivi-cxx03
1348 %manifest dali-adaptor.manifest
1349 %defattr(-,root,root,-)
1350 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1351 %{_libdir}/libdali-adaptor.so.0*.ivi
1356 %defattr(-,root,root,-)
1357 %{dev_include_path}/dali/dali.h
1358 %{dev_include_path}/dali/public-api/*
1359 %{dev_include_path}/dali/devel-api/*
1360 %{dev_include_path}/dali/doc/*
1361 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1363 %files integration-devel-cxx03
1364 %defattr(-,root,root,-)
1365 %{dev_include_path}/dali/integration-api/adaptors/*
1366 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc