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)
101 BuildRequires: pkgconfig(wayland-egl-tizen)
103 BuildRequires: pkgconfig(ecore-wayland)
106 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
107 BuildRequires: pkgconfig(libtbm)
109 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
110 %if !0%{?disable_cxx03_build}
111 BuildRequires: pkgconfig(tpkp-curl-deprecated)
113 BuildRequires: pkgconfig(tpkp-curl)
115 ####### BUILDING FOR X11#######
117 BuildRequires: pkgconfig(egl)
118 BuildRequires: pkgconfig(xext)
119 BuildRequires: pkgconfig(xi)
120 BuildRequires: pkgconfig(xfixes)
121 BuildRequires: pkgconfig(xdamage)
122 BuildRequires: pkgconfig(utilX)
126 %if 0%{?tizen_version_major} == 3
127 BuildRequires: pkgconfig(capi-appfw-application)
128 BuildRequires: pkgconfig(elementary)
130 BuildRequires: pkgconfig(appcore-ui)
131 BuildRequires: pkgconfig(appcore-widget-base)
132 BuildRequires: pkgconfig(bundle)
133 BuildRequires: pkgconfig(capi-appfw-app-common)
134 BuildRequires: pkgconfig(capi-appfw-app-control)
135 BuildRequires: pkgconfig(ecore-imf)
138 BuildRequires: pkgconfig(capi-system-system-settings)
140 # for feedback plugin
141 BuildRequires: pkgconfig(mm-sound)
142 %if 0%{?tizen_version_major} >= 3
143 BuildRequires: pkgconfig(feedback)
147 Requires: %{name}-compat = %{version}-%{release}
148 Recommends: %{name}-profile_common = %{version}-%{release}
151 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
152 platform abstraction and application shell
154 %if !0%{?disable_cxx03_build}
156 Summary: The DALi Tizen Adaptor with cxx03 abi
157 Provides: %{name}-cxx03 = %{version}-%{release}
160 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
161 platform abstraction and application shell
164 ###########################################
165 # Dali adapter for profiles
166 ###########################################
168 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
169 # if mobile || "undefined"
170 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
171 %package profile_mobile
172 Summary: The DALi Tizen Adaptor for mobile
173 Provides: %{name}-compat = %{version}-%{release}
174 Conflicts: %{name}-profile_tv
175 Conflicts: %{name}-profile_wearable
176 Conflicts: %{name}-profile_ivi
177 Conflicts: %{name}-profile_common
178 %description profile_mobile
179 The DALi Tizen Adaptor for mobile.
182 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
183 # if tv ||"undefined"
184 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
186 Summary: The DALi Tizen Adaptor for tv
187 Provides: %{name}-compat = %{version}-%{release}
188 Conflicts: %{name}-profile_mobile
189 Conflicts: %{name}-profile_wearable
190 Conflicts: %{name}-profile_ivi
191 Conflicts: %{name}-profile_common
192 %description profile_tv
193 The DALi Tizen Adaptor for tv.
196 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
197 # if wearable || "undefined"
198 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
199 %package profile_wearable
200 Summary: The DALi Tizen Adaptor for wearable
201 Provides: %{name}-compat = %{version}-%{release}
202 Conflicts: %{name}-profile_mobile
203 Conflicts: %{name}-profile_tv
204 Conflicts: %{name}-profile_ivi
205 Conflicts: %{name}-profile_common
206 %description profile_wearable
207 The DALi Tizen Adaptor for wearable.
210 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
211 # if ivi ||"undefined"
212 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
214 Summary: The DALi Tizen Adaptor for ivi
215 Provides: %{name}-compat = %{version}-%{release}
216 Conflicts: %{name}-profile_mobile
217 Conflicts: %{name}-profile_wearable
218 Conflicts: %{name}-profile_tv
219 Conflicts: %{name}-profile_common
220 %description profile_ivi
221 The DALi Tizen Adaptor for ivi.
224 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
225 # if common ||"undefined"
226 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
227 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
228 %package profile_common
229 %define tizen_2_2_compatibility 0
230 Summary: The DALi Tizen Adaptor for common
231 Provides: %{name}-compat = %{version}-%{release}
232 Conflicts: %{name}-profile_mobile
233 Conflicts: %{name}-profile_wearable
234 Conflicts: %{name}-profile_tv
235 Conflicts: %{name}-profile_ivi
236 %description profile_common
237 The DALi Tizen Adaptor for common.
240 %if !0%{?disable_cxx03_build}
241 ###########################################
242 # Dali adapter for profiles for cxx03 ABI
243 ###########################################
245 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
246 # if mobile || "undefined"
247 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
248 %package profile_mobile-cxx03
249 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
250 Provides: %{name}-cxx03-compat = %{version}-%{release}
251 Conflicts: %{name}-profile_tv-cxx03
252 Conflicts: %{name}-profile_wearable-cxx03
253 Conflicts: %{name}-profile_ivi-cxx03
254 Conflicts: %{name}-profile_common-cxx03
255 %description profile_mobile-cxx03
256 The DALi Tizen Adaptor for mobile.
259 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
260 # if tv ||"undefined"
261 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
262 %package profile_tv-cxx03
263 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
264 Provides: %{name}-cxx03-compat = %{version}-%{release}
265 Conflicts: %{name}-profile_mobile-cxx03
266 Conflicts: %{name}-profile_wearable-cxx03
267 Conflicts: %{name}-profile_ivi-cxx03
268 Conflicts: %{name}-profile_common-cxx03
269 %description profile_tv-cxx03
270 The DALi Tizen Adaptor for tv.
273 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
274 # if wearable || "undefined"
275 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
276 %package profile_wearable-cxx03
277 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
278 Provides: %{name}-cxx03-compat = %{version}-%{release}
279 Conflicts: %{name}-profile_mobile-cxx03
280 Conflicts: %{name}-profile_tv-cxx03
281 Conflicts: %{name}-profile_ivi-cxx03
282 Conflicts: %{name}-profile_common-cxx03
283 %description profile_wearable-cxx03
284 The DALi Tizen Adaptor for wearable.
287 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
288 # if ivi ||"undefined"
289 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
290 %package profile_ivi-cxx03
291 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
292 Provides: %{name}-cxx03-compat = %{version}-%{release}
293 Conflicts: %{name}-profile_mobile-cxx03
294 Conflicts: %{name}-profile_wearable-cxx03
295 Conflicts: %{name}-profile_tv-cxx03
296 Conflicts: %{name}-profile_common-cxx03
297 %description profile_ivi-cxx03
298 The DALi Tizen Adaptor for ivi.
301 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
302 # if common ||"undefined"
303 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
304 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
305 %package profile_common-cxx03
306 %define tizen_2_2_compatibility 0
307 Summary: The DALi Tizen Adaptor for common with cxx03 abi
308 Provides: %{name}-cxx03-compat = %{version}-%{release}
309 Conflicts: %{name}-profile_mobile-cxx03
310 Conflicts: %{name}-profile_wearable-cxx03
311 Conflicts: %{name}-profile_tv-cxx03
312 Conflicts: %{name}-profile_ivi-cxx03
313 %description profile_common-cxx03
314 The DALi Tizen Adaptor for common.
318 ##############################
320 ##############################
322 Summary: Development components for the DALi Tizen Adaptor
323 Group: Development/Building
324 Requires: %{name} = %{version}-%{release}
325 Requires: %{name}-integration-devel = %{version}-%{release}
328 Development components for the DALi Tizen Adaptor - public headers and package configs
330 ##############################
332 ##############################
333 %package integration-devel
334 Summary: Integration development package for the Adaptor
335 Group: Development/Building
336 Requires: %{name} = %{version}-%{release}
338 %description integration-devel
339 Integration development package for the Adaptor - headers for integrating with an adaptor library.
341 %if !0%{?disable_cxx03_build}
342 ##############################
344 ##############################
346 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
347 Group: Development/Building
348 Requires: %{name}-cxx03 = %{version}-%{release}
349 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
351 %description devel-cxx03
352 Development components for the DALi Tizen Adaptor - public headers and package configs
354 ##############################
355 # integration-devel cxx03
356 ##############################
357 %package integration-devel-cxx03
358 Summary: Integration development package for the Adaptor with cxx03 abi
359 Group: Development/Building
360 Requires: %{name}-cxx03 = %{version}-%{release}
362 %description integration-devel-cxx03
363 Integration development package for the Adaptor - headers for integrating with an adaptor library.
366 ##############################
367 # Dali Feedback Plugin
368 ##############################
369 %package dali-feedback-plugin
370 Summary: Plugin to play haptic and audio feedback for Dali
371 Group: System/Libraries
372 Requires: %{name} = %{version}-%{release}
373 %description dali-feedback-plugin
374 Feedback plugin to play haptic and audio feedback for Dali
376 %if !0%{?disable_cxx03_build}
377 ##############################
378 # Dali Feedback Plugin cxx03
379 ##############################
381 %package dali-feedback-plugin-cxx03
382 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
383 Group: System/Libraries
384 Requires: %{name}-cxx03 = %{version}-%{release}
385 %description dali-feedback-plugin-cxx03
386 Feedback plugin to play haptic and audio feedback for Dali
390 ##############################
392 ##############################
396 #Use TZ_PATH when tizen version is 3.x or greater
398 %if 0%{?tizen_version_major} >= 3
399 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
400 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
401 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
402 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
403 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
404 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
406 %define dali_data_rw_dir /usr/share/dali/
407 %define dali_data_ro_dir /usr/share/dali/
408 %define font_preloaded_path /usr/share/fonts/
409 %define font_downloaded_path /opt/share/fonts/
410 %define font_application_path /usr/share/app_fonts/
411 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
414 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
415 %define dali_plugin_sound_files /plugins/sounds/
416 %define dev_include_path %{_includedir}
418 ##############################
420 ##############################
423 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
424 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -lttrace -Wl,-Bsymbolic-functions "
427 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
432 CXXFLAGS+=" -DWAYLAND"
433 configure_flags="--enable-wayland"
435 # Need Ecore-Wayland2 when Tizen version is 5.x or greater
436 %if 0%{?tizen_version_major} >= 5
437 CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
438 CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
439 configure_flags+=" --enable-ecore-wayland2"
443 # Use this conditional when Tizen version is 5.x or greater
444 %if 0%{?tizen_version_major} >= 5
445 CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
448 # Use this conditional when Tizen version is 4.x or greater
449 %if 0%{?tizen_version_major} >= 4
450 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
453 %if 0%{?tizen_2_2_compatibility}
454 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
455 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
459 cd %{_builddir}/%{name}-%{version}/build/tizen
462 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
463 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
464 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
465 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
466 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
467 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
468 %if 0%{?tizen_platform_config_supported}
469 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
472 # Default to GLES 2.0 if not specified.
473 %if 0%{?target_gles_version} == 0
474 %define target_gles_version 20
477 # Set up the build via configure.
478 #######################################################################
479 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
480 # if mobile || "undefined"
481 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
482 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
483 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
484 --enable-tizen-major-version=%{tizen_version_major} \
485 %if 0%{?tizen_version_major} >= 3
488 %if 0%{?tizen_2_2_compatibility}
489 --with-tizen-2-2-compatibility \
496 %if 0%{?enable_debug}
499 %if 0%{?enable_trace}
503 $configure_flags --libdir=%{_libdir} \
504 --enable-rename-so=no
507 make %{?jobs:-j%jobs}
509 pushd %{_builddir}/%{name}-%{version}/build/tizen
510 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
513 pushd %{buildroot}%{_libdir}
514 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
515 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
516 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
523 #######################################################################
524 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
525 # if tv ||"undefined"
526 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
527 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
528 --enable-shaderbincache=DISABLE --enable-profile=TV \
529 --enable-tizen-major-version=%{tizen_version_major} \
530 %if 0%{?tizen_version_major} >= 3
533 %if 0%{?tizen_2_2_compatibility}
534 --with-tizen-2-2-compatibility \
541 %if 0%{?enable_debug}
544 %if 0%{?enable_trace}
548 $configure_flags --libdir=%{_libdir} \
549 --enable-rename-so=no
552 make %{?jobs:-j%jobs}
554 pushd %{_builddir}/%{name}-%{version}/build/tizen
555 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
558 pushd %{buildroot}%{_libdir}
559 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
560 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
561 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
567 #######################################################################
568 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
569 # if wearable || "undefined"
570 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
571 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
572 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
573 --enable-tizen-major-version=%{tizen_version_major} \
574 %if 0%{?tizen_version_major} >= 3
577 %if 0%{?tizen_2_2_compatibility}
578 --with-tizen-2-2-compatibility \
585 %if 0%{?enable_debug}
588 %if 0%{?enable_trace}
592 $configure_flags --libdir=%{_libdir} \
593 --enable-rename-so=no
596 make %{?jobs:-j%jobs}
598 pushd %{_builddir}/%{name}-%{version}/build/tizen
599 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
602 pushd %{buildroot}%{_libdir}
603 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
604 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
605 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
611 #######################################################################
612 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
613 # if ivi ||"undefined"
614 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
615 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
616 --enable-shaderbincache=DISABLE --enable-profile=IVI \
617 --enable-tizen-major-version=%{tizen_version_major} \
618 %if 0%{?tizen_version_major} >= 3
621 %if 0%{?tizen_2_2_compatibility}
622 --with-tizen-2-2-compatibility \
629 %if 0%{?enable_debug}
632 %if 0%{?enable_trace}
636 $configure_flags --libdir=%{_libdir} \
637 --enable-rename-so=no
640 make %{?jobs:-j%jobs}
642 pushd %{_builddir}/%{name}-%{version}/build/tizen
643 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
646 pushd %{buildroot}%{_libdir}
647 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
648 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
650 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
656 #######################################################################
658 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
659 # if common ||"undefined"
660 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
661 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
662 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
663 --enable-tizen-major-version=%{tizen_version_major} \
664 %if 0%{?tizen_version_major} >= 3
667 %if 0%{?tizen_2_2_compatibility}
668 --with-tizen-2-2-compatibility \
675 %if 0%{?enable_debug}
678 %if 0%{?enable_trace}
682 $configure_flags --libdir=%{_libdir} \
683 --enable-rename-so=no
686 make %{?jobs:-j%jobs}
688 pushd %{_builddir}/%{name}-%{version}/build/tizen
689 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
692 pushd %{buildroot}%{_libdir}
693 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
694 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
696 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
703 %if !0%{?disable_cxx03_build}
704 #######################################################################
706 #######################################################################
708 # Set up the build via configure.
709 #######################################################################
710 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
711 # if mobile || "undefined"
712 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
714 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
715 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
716 --enable-tizen-major-version=%{tizen_version_major} \
717 %if 0%{?tizen_version_major} >= 3
720 --enable-cxx03-abi=yes \
721 %if 0%{?tizen_2_2_compatibility}
722 --with-tizen-2-2-compatibility \
729 %if 0%{?enable_debug}
732 %if 0%{?enable_trace}
736 $configure_flags --libdir=%{_libdir} \
737 --enable-rename-so=no
740 make %{?jobs:-j%jobs}
742 pushd %{_builddir}/%{name}-%{version}/build/tizen
743 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
746 pushd %{buildroot}%{_libdir}
747 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
748 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
755 #######################################################################
756 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
757 # if tv ||"undefined"
758 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
760 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
761 --enable-shaderbincache=DISABLE --enable-profile=TV \
762 --enable-tizen-major-version=%{tizen_version_major} \
763 %if 0%{?tizen_version_major} >= 3
766 --enable-cxx03-abi=yes \
767 %if 0%{?tizen_2_2_compatibility}
768 --with-tizen-2-2-compatibility \
775 %if 0%{?enable_debug}
778 %if 0%{?enable_trace}
782 $configure_flags --libdir=%{_libdir} \
783 --enable-rename-so=no
786 make %{?jobs:-j%jobs}
788 pushd %{_builddir}/%{name}-%{version}/build/tizen
789 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
792 pushd %{buildroot}%{_libdir}
793 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
794 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
800 #######################################################################
801 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
802 # if wearable || "undefined"
803 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
805 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
806 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
807 --enable-tizen-major-version=%{tizen_version_major} \
808 %if 0%{?tizen_version_major} >= 3
811 --enable-cxx03-abi=yes \
812 %if 0%{?tizen_2_2_compatibility}
813 --with-tizen-2-2-compatibility \
820 %if 0%{?enable_debug}
823 %if 0%{?enable_trace}
827 $configure_flags --libdir=%{_libdir} \
828 --enable-rename-so=no
831 make %{?jobs:-j%jobs}
833 pushd %{_builddir}/%{name}-%{version}/build/tizen
834 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
837 pushd %{buildroot}%{_libdir}
838 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
839 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
845 #######################################################################
846 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
847 # if ivi ||"undefined"
848 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
850 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
851 --enable-shaderbincache=DISABLE --enable-profile=IVI \
852 --enable-tizen-major-version=%{tizen_version_major} \
853 %if 0%{?tizen_version_major} >= 3
856 --enable-cxx03-abi=yes \
857 %if 0%{?tizen_2_2_compatibility}
858 --with-tizen-2-2-compatibility \
865 %if 0%{?enable_debug}
868 %if 0%{?enable_trace}
872 $configure_flags --libdir=%{_libdir} \
873 --enable-rename-so=no
876 make %{?jobs:-j%jobs}
878 pushd %{_builddir}/%{name}-%{version}/build/tizen
879 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
882 pushd %{buildroot}%{_libdir}
883 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
884 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
890 #######################################################################
892 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
893 # if common ||"undefined"
894 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
896 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
897 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
898 --enable-tizen-major-version=%{tizen_version_major} \
899 %if 0%{?tizen_version_major} >= 3
902 --enable-cxx03-abi=yes \
903 %if 0%{?tizen_2_2_compatibility}
904 --with-tizen-2-2-compatibility \
911 %if 0%{?enable_debug}
914 %if 0%{?enable_trace}
918 $configure_flags --libdir=%{_libdir} \
919 --enable-rename-so=no
922 make %{?jobs:-j%jobs}
927 ##############################
929 ##############################
933 pushd %{_builddir}/%{name}-%{version}/build/tizen
934 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
937 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
938 # !unified && (wearable || tv || ivi || mobile)
939 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
940 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
943 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
944 # wearable || tv || ivi || mobile || unified
945 %if "%{?profile}" != "common"
946 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
947 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
951 ################################################
953 ###############################################
954 pushd %{buildroot}%{_libdir}
956 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
957 # if common ||"undefined"
958 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
959 rm -rf libdali-adaptor*.so
960 %if !0%{?disable_cxx03_build}
961 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
963 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
966 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
967 # if wearable || "undefined"
968 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
969 rm -rf libdali-adaptor*.so.wearable
970 %if !0%{?disable_cxx03_build}
971 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
973 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
976 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
977 # if tv ||"undefined"
978 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
979 rm -rf libdali-adaptor*.so.tv
980 %if !0%{?disable_cxx03_build}
981 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
983 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
986 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
987 # if ivi ||"undefined"
988 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
989 rm -rf libdali-adaptor*.so.ivi
990 %if !0%{?disable_cxx03_build}
991 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
993 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
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"
999 rm -rf libdali-adaptor*.so.mobile
1000 %if !0%{?disable_cxx03_build}
1001 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1003 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1007 ##############################
1009 # 1 - Pre Install new package
1010 # 2 - Install new package
1011 # 3 - Post install new package
1012 # 4 - Pre uninstall old package
1013 # 5 - Remove files not overwritten by new package
1014 # 6 - Post uninstall old package
1015 ##############################
1020 ##############################
1021 # Post Install new package
1022 ##############################
1027 ##############################
1028 # Pre Uninstall old package
1029 ##############################
1033 ##############################
1034 # Post Uninstall old package
1035 ##############################
1040 ##############################
1042 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1043 # if mobile || "undefined"
1044 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1045 %post profile_mobile
1047 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1052 %postun profile_mobile
1057 ##############################
1059 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1060 # if tv ||"undefined"
1061 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1064 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1074 ##############################
1076 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1077 # if wearable || "undefined"
1078 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1079 %post profile_wearable
1081 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1086 %postun profile_wearable
1091 ##############################
1093 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1094 # if ivi ||"undefined"
1095 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1098 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1108 %if !0%{?disable_cxx03_build}
1109 ##############################
1111 #############################
1112 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1113 # if mobile || "undefined"
1114 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1115 %post profile_mobile-cxx03
1117 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1122 %postun profile_mobile-cxx03
1127 ##############################
1129 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1130 # if tv ||"undefined"
1131 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1132 %post profile_tv-cxx03
1134 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1139 %postun profile_tv-cxx03
1144 ##############################
1146 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1147 # if wearable || "undefined"
1148 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1149 %post profile_wearable-cxx03
1151 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1156 %postun profile_wearable-cxx03
1161 ##############################
1163 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1164 # if ivi ||"undefined"
1165 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1166 %post profile_ivi-cxx03
1168 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1173 %postun profile_ivi-cxx03
1179 ##############################
1180 # Files in Binary Packages
1181 ##############################
1184 %manifest dali-adaptor.manifest
1185 %defattr(-,root,root,-)
1186 %dir %{user_shader_cache_dir}
1190 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1191 # if common ||"undefined"
1192 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1193 %defattr(-,root,root,-)
1194 %{_libdir}/libdali-adaptor-cxx11.so.0*
1195 %{_libdir}/libdali-adaptor.so
1196 %exclude %{_libdir}/libdali-adap*.so*.mobile
1197 %exclude %{_libdir}/libdali-adap*.so*.wearable
1198 %exclude %{_libdir}/libdali-adap*.so*.tv
1199 %exclude %{_libdir}/libdali-adap*.so*.ivi
1202 %if !0%{?disable_cxx03_build}
1204 %manifest dali-adaptor.manifest
1205 %defattr(-,root,root,-)
1206 %dir %{user_shader_cache_dir}
1209 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1210 # if common ||"undefined"
1211 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1212 %defattr(-,root,root,-)
1213 %{_libdir}/libdali-adaptor.so.0*
1214 %{_libdir}/libdali-adaptor-cxx03.so
1215 %exclude %{_libdir}/libdali-adap*.so*.mobile
1216 %exclude %{_libdir}/libdali-adap*.so*.wearable
1217 %exclude %{_libdir}/libdali-adap*.so*.tv
1218 %exclude %{_libdir}/libdali-adap*.so*.ivi
1221 %if 0%{?tizen_version_major} >= 3
1222 %files dali-feedback-plugin-cxx03
1223 %manifest dali-adaptor.manifest
1224 %defattr(-,root,root,-)
1225 %{_libdir}/libdali-feedback-plugin.so*
1226 %{dali_plugin_sound_files}/*
1230 #################################################
1232 %if 0%{?tizen_version_major} >= 3
1233 %files dali-feedback-plugin
1234 %manifest dali-adaptor.manifest
1235 %defattr(-,root,root,-)
1236 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1237 %{dali_plugin_sound_files}/*
1240 #################################################
1242 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1243 # if common ||"undefined"
1244 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1245 %files profile_common
1246 # default .so files are housed in the main pkg.
1249 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1250 # if mobile || "undefined"
1251 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1252 %files profile_mobile
1253 %manifest dali-adaptor.manifest
1254 %defattr(-,root,root,-)
1255 %{_libdir}/libdali-adaptor.so.mobile
1256 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1259 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1260 # if tv ||"undefined"
1261 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1263 %manifest dali-adaptor.manifest
1264 %defattr(-,root,root,-)
1265 %{_libdir}/libdali-adaptor.so.tv
1266 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1269 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1270 # if wearable || "undefined"
1271 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1272 %files profile_wearable
1273 %manifest dali-adaptor.manifest
1274 %defattr(-,root,root,-)
1275 %{_libdir}/libdali-adaptor.so.wearable
1276 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1279 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1280 # if ivi ||"undefined"
1281 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1283 %manifest dali-adaptor.manifest
1284 %defattr(-,root,root,-)
1285 %{_libdir}/libdali-adaptor.so.ivi
1286 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1291 %defattr(-,root,root,-)
1292 %{dev_include_path}/dali/dali.h
1293 %{dev_include_path}/dali/public-api/*
1294 %{dev_include_path}/dali/devel-api/*
1295 %{dev_include_path}/dali/doc/*
1296 %{_libdir}/pkgconfig/dali-adaptor.pc
1298 %files integration-devel
1299 %defattr(-,root,root,-)
1300 %{dev_include_path}/dali/integration-api/adaptors/*
1301 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1303 %if !0%{?disable_cxx03_build}
1304 ################################################
1306 ################################################
1308 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1309 # if common ||"undefined"
1310 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1311 %files profile_common-cxx03
1312 # default .so files are housed in the main pkg.
1315 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1316 # if mobile || "undefined"
1317 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1318 %files profile_mobile-cxx03
1319 %manifest dali-adaptor.manifest
1320 %defattr(-,root,root,-)
1321 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1322 %{_libdir}/libdali-adaptor.so.0*mobile
1325 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1326 # if tv ||"undefined"
1327 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1328 %files profile_tv-cxx03
1329 %manifest dali-adaptor.manifest
1330 %defattr(-,root,root,-)
1331 %{_libdir}/libdali-adaptor-cxx03.so.tv
1332 %{_libdir}/libdali-adaptor.so.0*.tv
1335 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1336 # if wearable || "undefined"
1337 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1338 %files profile_wearable-cxx03
1339 %manifest dali-adaptor.manifest
1340 %defattr(-,root,root,-)
1341 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1342 %{_libdir}/libdali-adaptor.so.0*.wearable
1345 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1346 # if ivi ||"undefined"
1347 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1348 %files profile_ivi-cxx03
1349 %manifest dali-adaptor.manifest
1350 %defattr(-,root,root,-)
1351 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1352 %{_libdir}/libdali-adaptor.so.0*.ivi
1357 %defattr(-,root,root,-)
1358 %{dev_include_path}/dali/dali.h
1359 %{dev_include_path}/dali/public-api/*
1360 %{dev_include_path}/dali/devel-api/*
1361 %{dev_include_path}/dali/doc/*
1362 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1364 %files integration-devel-cxx03
1365 %defattr(-,root,root,-)
1366 %{dev_include_path}/dali/integration-api/adaptors/*
1367 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc