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)
61 %if !0%{?disable_cxx03_build}
62 BuildRequires: dali-devel-cxx03
63 BuildRequires: dali-integration-devel-cxx03
65 BuildRequires: dali-devel
66 BuildRequires: dali-integration-devel
68 BuildRequires: pkgconfig
70 BuildRequires: giflib-devel
71 BuildRequires: pkgconfig(fontconfig)
72 BuildRequires: libjpeg-turbo-devel
73 BuildRequires: pkgconfig(vconf)
74 BuildRequires: tts-devel
75 BuildRequires: pkgconfig(dlog)
76 BuildRequires: libdrm-devel
77 BuildRequires: pkgconfig(libexif)
78 BuildRequires: pkgconfig(libpng)
79 BuildRequires: pkgconfig(egl)
80 BuildRequires: libcurl-devel
81 BuildRequires: pkgconfig(harfbuzz)
82 BuildRequires: fribidi-devel
84 BuildRequires: pkgconfig(capi-system-info)
85 BuildRequires: pkgconfig(capi-system-sensor)
89 ####### BUILDING FOR WAYLAND #######
90 BuildRequires: pkgconfig(wayland-egl)
91 BuildRequires: pkgconfig(wayland-client)
92 BuildRequires: wayland-devel
93 BuildRequires: wayland-extension-client-devel
95 # dali-adaptor uses ecore mainloop
96 BuildRequires: pkgconfig(ecore-wayland)
98 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
99 BuildRequires: pkgconfig(libtbm)
101 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
102 %if !0%{?disable_cxx03_build}
103 BuildRequires: pkgconfig(tpkp-curl-deprecated)
105 BuildRequires: pkgconfig(tpkp-curl)
107 ####### BUILDING FOR X11#######
109 BuildRequires: pkgconfig(egl)
110 BuildRequires: pkgconfig(xext)
111 BuildRequires: pkgconfig(xi)
112 BuildRequires: pkgconfig(xfixes)
113 BuildRequires: pkgconfig(xdamage)
114 BuildRequires: pkgconfig(utilX)
118 %if 0%{?tizen_version_major} == 3
119 BuildRequires: pkgconfig(capi-appfw-application)
120 BuildRequires: pkgconfig(elementary)
122 BuildRequires: pkgconfig(bundle)
123 BuildRequires: pkgconfig(appcore-ui)
124 BuildRequires: pkgconfig(appcore-widget-base)
125 BuildRequires: pkgconfig(capi-appfw-app-common)
126 BuildRequires: pkgconfig(capi-appfw-app-control)
127 BuildRequires: pkgconfig(ecore-imf)
130 BuildRequires: pkgconfig(capi-system-system-settings)
132 # for feedback plugin
133 BuildRequires: pkgconfig(mm-sound)
134 %if 0%{?tizen_version_major} >= 3
135 BuildRequires: pkgconfig(feedback)
138 # for Web Engine Lite Plugin
139 %if 0%{?enable_web_engine_lite}
140 BuildRequires: lightweight-web-engine
141 BuildRequires: lightweight-web-engine-devel
145 Requires: %{name}-compat = %{version}-%{release}
146 Recommends: %{name}-profile_common = %{version}-%{release}
149 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
150 platform abstraction and application shell
152 %if !0%{?disable_cxx03_build}
154 Summary: The DALi Tizen Adaptor with cxx03 abi
155 Provides: %{name}-cxx03 = %{version}-%{release}
158 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
159 platform abstraction and application shell
162 ###########################################
163 # Dali adapter for profiles
164 ###########################################
166 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
167 # if mobile || "undefined"
168 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
169 %package profile_mobile
170 Summary: The DALi Tizen Adaptor for mobile
171 Provides: %{name}-compat = %{version}-%{release}
172 Conflicts: %{name}-profile_tv
173 Conflicts: %{name}-profile_wearable
174 Conflicts: %{name}-profile_ivi
175 Conflicts: %{name}-profile_common
176 %description profile_mobile
177 The DALi Tizen Adaptor for mobile.
180 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
181 # if tv ||"undefined"
182 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
184 Summary: The DALi Tizen Adaptor for tv
185 Provides: %{name}-compat = %{version}-%{release}
186 Conflicts: %{name}-profile_mobile
187 Conflicts: %{name}-profile_wearable
188 Conflicts: %{name}-profile_ivi
189 Conflicts: %{name}-profile_common
190 %description profile_tv
191 The DALi Tizen Adaptor for tv.
194 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
195 # if wearable || "undefined"
196 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
197 %package profile_wearable
198 Summary: The DALi Tizen Adaptor for wearable
199 Provides: %{name}-compat = %{version}-%{release}
200 Conflicts: %{name}-profile_mobile
201 Conflicts: %{name}-profile_tv
202 Conflicts: %{name}-profile_ivi
203 Conflicts: %{name}-profile_common
204 %description profile_wearable
205 The DALi Tizen Adaptor for wearable.
208 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
209 # if ivi ||"undefined"
210 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
212 Summary: The DALi Tizen Adaptor for ivi
213 Provides: %{name}-compat = %{version}-%{release}
214 Conflicts: %{name}-profile_mobile
215 Conflicts: %{name}-profile_wearable
216 Conflicts: %{name}-profile_tv
217 Conflicts: %{name}-profile_common
218 %description profile_ivi
219 The DALi Tizen Adaptor for ivi.
222 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
223 # if common ||"undefined"
224 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
225 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
226 %package profile_common
227 %define tizen_2_2_compatibility 0
228 Summary: The DALi Tizen Adaptor for common
229 Provides: %{name}-compat = %{version}-%{release}
230 Conflicts: %{name}-profile_mobile
231 Conflicts: %{name}-profile_wearable
232 Conflicts: %{name}-profile_tv
233 Conflicts: %{name}-profile_ivi
234 %description profile_common
235 The DALi Tizen Adaptor for common.
238 %if !0%{?disable_cxx03_build}
239 ###########################################
240 # Dali adapter for profiles for cxx03 ABI
241 ###########################################
243 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
244 # if mobile || "undefined"
245 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
246 %package profile_mobile-cxx03
247 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
248 Provides: %{name}-cxx03-compat = %{version}-%{release}
249 Conflicts: %{name}-profile_tv-cxx03
250 Conflicts: %{name}-profile_wearable-cxx03
251 Conflicts: %{name}-profile_ivi-cxx03
252 Conflicts: %{name}-profile_common-cxx03
253 %description profile_mobile-cxx03
254 The DALi Tizen Adaptor for mobile.
257 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
258 # if tv ||"undefined"
259 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
260 %package profile_tv-cxx03
261 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
262 Provides: %{name}-cxx03-compat = %{version}-%{release}
263 Conflicts: %{name}-profile_mobile-cxx03
264 Conflicts: %{name}-profile_wearable-cxx03
265 Conflicts: %{name}-profile_ivi-cxx03
266 Conflicts: %{name}-profile_common-cxx03
267 %description profile_tv-cxx03
268 The DALi Tizen Adaptor for tv.
271 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
272 # if wearable || "undefined"
273 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
274 %package profile_wearable-cxx03
275 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
276 Provides: %{name}-cxx03-compat = %{version}-%{release}
277 Conflicts: %{name}-profile_mobile-cxx03
278 Conflicts: %{name}-profile_tv-cxx03
279 Conflicts: %{name}-profile_ivi-cxx03
280 Conflicts: %{name}-profile_common-cxx03
281 %description profile_wearable-cxx03
282 The DALi Tizen Adaptor for wearable.
285 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
286 # if ivi ||"undefined"
287 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
288 %package profile_ivi-cxx03
289 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
290 Provides: %{name}-cxx03-compat = %{version}-%{release}
291 Conflicts: %{name}-profile_mobile-cxx03
292 Conflicts: %{name}-profile_wearable-cxx03
293 Conflicts: %{name}-profile_tv-cxx03
294 Conflicts: %{name}-profile_common-cxx03
295 %description profile_ivi-cxx03
296 The DALi Tizen Adaptor for ivi.
299 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
300 # if common ||"undefined"
301 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
302 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
303 %package profile_common-cxx03
304 %define tizen_2_2_compatibility 0
305 Summary: The DALi Tizen Adaptor for common with cxx03 abi
306 Provides: %{name}-cxx03-compat = %{version}-%{release}
307 Conflicts: %{name}-profile_mobile-cxx03
308 Conflicts: %{name}-profile_wearable-cxx03
309 Conflicts: %{name}-profile_tv-cxx03
310 Conflicts: %{name}-profile_ivi-cxx03
311 %description profile_common-cxx03
312 The DALi Tizen Adaptor for common.
316 ##############################
318 ##############################
320 Summary: Development components for the DALi Tizen Adaptor
321 Group: Development/Building
322 Requires: %{name} = %{version}-%{release}
323 Requires: %{name}-integration-devel = %{version}-%{release}
326 Development components for the DALi Tizen Adaptor - public headers and package configs
328 ##############################
330 ##############################
331 %package integration-devel
332 Summary: Integration development package for the Adaptor
333 Group: Development/Building
334 Requires: %{name} = %{version}-%{release}
336 %description integration-devel
337 Integration development package for the Adaptor - headers for integrating with an adaptor library.
339 %if !0%{?disable_cxx03_build}
340 ##############################
342 ##############################
344 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
345 Group: Development/Building
346 Requires: %{name}-cxx03 = %{version}-%{release}
347 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
349 %description devel-cxx03
350 Development components for the DALi Tizen Adaptor - public headers and package configs
352 ##############################
353 # integration-devel cxx03
354 ##############################
355 %package integration-devel-cxx03
356 Summary: Integration development package for the Adaptor with cxx03 abi
357 Group: Development/Building
358 Requires: %{name}-cxx03 = %{version}-%{release}
360 %description integration-devel-cxx03
361 Integration development package for the Adaptor - headers for integrating with an adaptor library.
364 ##############################
365 # Dali Feedback Plugin
366 ##############################
367 %package dali-feedback-plugin
368 Summary: Plugin to play haptic and audio feedback for Dali
369 Group: System/Libraries
370 Requires: %{name} = %{version}-%{release}
371 %description dali-feedback-plugin
372 Feedback plugin to play haptic and audio feedback for Dali
374 ##############################
375 # Dali WebEngineLite Plugin
376 ##############################
378 %package dali-web-engine-lite-plugin
379 Summary: Plugin WebEngineLite for Dali
380 Group: System/Libraries
381 %description dali-web-engine-lite-plugin
382 WebEngineLite plugin for Dali
384 %if !0%{?disable_cxx03_build}
385 ##############################
386 # Dali Feedback Plugin cxx03
387 ##############################
389 %package dali-feedback-plugin-cxx03
390 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
391 Group: System/Libraries
392 Requires: %{name}-cxx03 = %{version}-%{release}
393 %description dali-feedback-plugin-cxx03
394 Feedback plugin to play haptic and audio feedback for Dali
396 ##############################
397 # Dali WebEngineLite Plugin
398 ##############################
400 %package dali-web-engine-lite-plugin-cxx03
401 Summary: Plugin WebEngineLite for Dali with cxx03 abi
402 Group: System/Libraries
403 %description dali-web-engine-lite-plugin-cxx03
404 WebEngineLite plugin for Dali
407 ##############################
409 ##############################
413 #Use TZ_PATH when tizen version is 3.x or greater
415 %if 0%{?tizen_version_major} >= 3
416 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
417 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
418 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
419 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
420 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
421 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
423 %define dali_data_rw_dir /usr/share/dali/
424 %define dali_data_ro_dir /usr/share/dali/
425 %define font_preloaded_path /usr/share/fonts/
426 %define font_downloaded_path /opt/share/fonts/
427 %define font_application_path /usr/share/app_fonts/
428 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
431 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
432 %define dali_plugin_sound_files /plugins/sounds/
433 %define dev_include_path %{_includedir}
435 ##############################
437 ##############################
440 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
441 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
444 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
449 CXXFLAGS+=" -DWAYLAND"
450 configure_flags="--enable-wayland"
453 # Use this conditional when Tizen version is 4.x or greater
454 %if 0%{?tizen_version_major} >= 4
455 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
458 %if 0%{?tizen_2_2_compatibility}
459 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
460 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
464 cd %{_builddir}/%{name}-%{version}/build/tizen
467 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
468 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
469 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
470 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
471 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
472 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
473 %if 0%{?tizen_platform_config_supported}
474 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
477 # Default to GLES 2.0 if not specified.
478 %if 0%{?target_gles_version} == 0
479 %define target_gles_version 20
482 # Set up the build via configure.
483 #######################################################################
484 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
485 # if mobile || "undefined"
486 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
487 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
488 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
489 --enable-tizen-major-version=%{tizen_version_major} \
490 %if 0%{?tizen_version_major} >= 3
493 %if 0%{?tizen_2_2_compatibility}
494 --with-tizen-2-2-compatibility \
501 %if 0%{?enable_web_engine_lite}
502 --enable-web-engine-lite \
504 %if 0%{?enable_debug}
508 $configure_flags --libdir=%{_libdir} \
509 --enable-rename-so=no
512 make %{?jobs:-j%jobs}
514 pushd %{_builddir}/%{name}-%{version}/build/tizen
515 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
518 pushd %{buildroot}%{_libdir}
519 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
520 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
521 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
528 #######################################################################
529 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
530 # if tv ||"undefined"
531 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
532 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
533 --enable-shaderbincache=DISABLE --enable-profile=TV \
534 --enable-tizen-major-version=%{tizen_version_major} \
535 %if 0%{?tizen_version_major} >= 3
538 %if 0%{?tizen_2_2_compatibility}
539 --with-tizen-2-2-compatibility \
546 %if 0%{?enable_web_engine_lite}
547 --enable-web-engine-lite \
549 %if 0%{?enable_debug}
553 $configure_flags --libdir=%{_libdir} \
554 --enable-rename-so=no
557 make %{?jobs:-j%jobs}
559 pushd %{_builddir}/%{name}-%{version}/build/tizen
560 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
563 pushd %{buildroot}%{_libdir}
564 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
565 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
566 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
572 #######################################################################
573 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
574 # if wearable || "undefined"
575 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
576 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
577 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
578 --enable-tizen-major-version=%{tizen_version_major} \
579 %if 0%{?tizen_version_major} >= 3
582 %if 0%{?tizen_2_2_compatibility}
583 --with-tizen-2-2-compatibility \
590 %if 0%{?enable_web_engine_lite}
591 --enable-web-engine-lite \
593 %if 0%{?enable_debug}
597 $configure_flags --libdir=%{_libdir} \
598 --enable-rename-so=no
601 make %{?jobs:-j%jobs}
603 pushd %{_builddir}/%{name}-%{version}/build/tizen
604 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
607 pushd %{buildroot}%{_libdir}
608 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
609 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
610 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
616 #######################################################################
617 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
618 # if ivi ||"undefined"
619 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
620 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
621 --enable-shaderbincache=DISABLE --enable-profile=IVI \
622 --enable-tizen-major-version=%{tizen_version_major} \
623 %if 0%{?tizen_version_major} >= 3
626 %if 0%{?tizen_2_2_compatibility}
627 --with-tizen-2-2-compatibility \
634 %if 0%{?enable_web_engine_lite}
635 --enable-web-engine-lite \
637 %if 0%{?enable_debug}
641 $configure_flags --libdir=%{_libdir} \
642 --enable-rename-so=no
645 make %{?jobs:-j%jobs}
647 pushd %{_builddir}/%{name}-%{version}/build/tizen
648 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
651 pushd %{buildroot}%{_libdir}
652 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
653 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
655 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
661 #######################################################################
663 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
664 # if common ||"undefined"
665 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
666 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
667 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
668 --enable-tizen-major-version=%{tizen_version_major} \
669 %if 0%{?tizen_version_major} >= 3
672 %if 0%{?tizen_2_2_compatibility}
673 --with-tizen-2-2-compatibility \
680 %if 0%{?enable_web_engine_lite}
681 --enable-web-engine-lite \
683 %if 0%{?enable_debug}
687 $configure_flags --libdir=%{_libdir} \
688 --enable-rename-so=no
691 make %{?jobs:-j%jobs}
693 pushd %{_builddir}/%{name}-%{version}/build/tizen
694 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
697 pushd %{buildroot}%{_libdir}
698 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
699 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
701 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
708 %if !0%{?disable_cxx03_build}
709 #######################################################################
711 #######################################################################
713 # Set up the build via configure.
714 #######################################################################
715 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
716 # if mobile || "undefined"
717 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
719 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
720 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
721 --enable-tizen-major-version=%{tizen_version_major} \
722 %if 0%{?tizen_version_major} >= 3
725 --enable-cxx03-abi=yes \
726 %if 0%{?tizen_2_2_compatibility}
727 --with-tizen-2-2-compatibility \
734 %if 0%{?enable_web_engine_lite}
735 --enable-web-engine-lite \
737 %if 0%{?enable_debug}
741 $configure_flags --libdir=%{_libdir} \
742 --enable-rename-so=no
745 make %{?jobs:-j%jobs}
747 pushd %{_builddir}/%{name}-%{version}/build/tizen
748 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
751 pushd %{buildroot}%{_libdir}
752 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
753 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
760 #######################################################################
761 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
762 # if tv ||"undefined"
763 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
765 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
766 --enable-shaderbincache=DISABLE --enable-profile=TV \
767 --enable-tizen-major-version=%{tizen_version_major} \
768 %if 0%{?tizen_version_major} >= 3
771 --enable-cxx03-abi=yes \
772 %if 0%{?tizen_2_2_compatibility}
773 --with-tizen-2-2-compatibility \
780 %if 0%{?enable_web_engine_lite}
781 --enable-web-engine-lite \
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.tv"; 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 wearable || "undefined"
808 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
810 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
811 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
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_web_engine_lite}
826 --enable-web-engine-lite \
828 %if 0%{?enable_debug}
832 $configure_flags --libdir=%{_libdir} \
833 --enable-rename-so=no
836 make %{?jobs:-j%jobs}
838 pushd %{_builddir}/%{name}-%{version}/build/tizen
839 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
842 pushd %{buildroot}%{_libdir}
843 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
844 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
850 #######################################################################
851 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
852 # if ivi ||"undefined"
853 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
855 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
856 --enable-shaderbincache=DISABLE --enable-profile=IVI \
857 --enable-tizen-major-version=%{tizen_version_major} \
858 %if 0%{?tizen_version_major} >= 3
861 --enable-cxx03-abi=yes \
862 %if 0%{?tizen_2_2_compatibility}
863 --with-tizen-2-2-compatibility \
870 %if 0%{?enable_web_engine_lite}
871 --enable-web-engine-lite \
873 %if 0%{?enable_debug}
877 $configure_flags --libdir=%{_libdir} \
878 --enable-rename-so=no
881 make %{?jobs:-j%jobs}
883 pushd %{_builddir}/%{name}-%{version}/build/tizen
884 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
887 pushd %{buildroot}%{_libdir}
888 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
889 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
895 #######################################################################
897 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
898 # if common ||"undefined"
899 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
901 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
902 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
903 --enable-tizen-major-version=%{tizen_version_major} \
904 %if 0%{?tizen_version_major} >= 3
907 --enable-cxx03-abi=yes \
908 %if 0%{?tizen_2_2_compatibility}
909 --with-tizen-2-2-compatibility \
916 %if 0%{?enable_web_engine_lite}
917 --enable-web-engine-lite \
919 %if 0%{?enable_debug}
923 $configure_flags --libdir=%{_libdir} \
924 --enable-rename-so=no
927 make %{?jobs:-j%jobs}
932 ##############################
934 ##############################
938 pushd %{_builddir}/%{name}-%{version}/build/tizen
939 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
942 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
943 # !unified && (wearable || tv || ivi || mobile)
944 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
945 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
948 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
949 # wearable || tv || ivi || mobile || unified
950 %if "%{?profile}" != "common"
951 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
952 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
956 ################################################
958 ###############################################
959 pushd %{buildroot}%{_libdir}
961 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
962 # if common ||"undefined"
963 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
964 rm -rf libdali-adaptor*.so
965 %if !0%{?disable_cxx03_build}
966 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
968 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
971 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
972 # if wearable || "undefined"
973 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
974 rm -rf libdali-adaptor*.so.wearable
975 %if !0%{?disable_cxx03_build}
976 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
978 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
981 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
982 # if tv ||"undefined"
983 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
984 rm -rf libdali-adaptor*.so.tv
985 %if !0%{?disable_cxx03_build}
986 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
988 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
991 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
992 # if ivi ||"undefined"
993 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
994 rm -rf libdali-adaptor*.so.ivi
995 %if !0%{?disable_cxx03_build}
996 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
998 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1001 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1002 # if mobile || "undefined"
1003 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1004 rm -rf libdali-adaptor*.so.mobile
1005 %if !0%{?disable_cxx03_build}
1006 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1008 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1012 ##############################
1014 # 1 - Pre Install new package
1015 # 2 - Install new package
1016 # 3 - Post install new package
1017 # 4 - Pre uninstall old package
1018 # 5 - Remove files not overwritten by new package
1019 # 6 - Post uninstall old package
1020 ##############################
1025 ##############################
1026 # Post Install new package
1027 ##############################
1032 ##############################
1033 # Pre Uninstall old package
1034 ##############################
1038 ##############################
1039 # Post Uninstall old package
1040 ##############################
1045 #%if %{with wayland}
1046 %post dali-web-engine-lite-plugin
1051 ##############################
1053 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1054 # if mobile || "undefined"
1055 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1056 %post profile_mobile
1058 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1063 %postun profile_mobile
1068 ##############################
1070 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1071 # if tv ||"undefined"
1072 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1075 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1085 ##############################
1087 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1088 # if wearable || "undefined"
1089 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1090 %post profile_wearable
1092 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1097 %postun profile_wearable
1102 ##############################
1104 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1105 # if ivi ||"undefined"
1106 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1109 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1119 %if !0%{?disable_cxx03_build}
1120 ##############################
1122 #############################
1123 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1124 # if mobile || "undefined"
1125 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1126 %post profile_mobile-cxx03
1128 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1133 %postun profile_mobile-cxx03
1138 ##############################
1140 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1141 # if tv ||"undefined"
1142 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1143 %post profile_tv-cxx03
1145 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1150 %postun profile_tv-cxx03
1155 ##############################
1157 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1158 # if wearable || "undefined"
1159 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1160 %post profile_wearable-cxx03
1162 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1167 %postun profile_wearable-cxx03
1172 ##############################
1174 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1175 # if ivi ||"undefined"
1176 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1177 %post profile_ivi-cxx03
1179 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1184 %postun profile_ivi-cxx03
1190 ##############################
1191 # Files in Binary Packages
1192 ##############################
1195 %manifest dali-adaptor.manifest
1196 %defattr(-,root,root,-)
1197 %defattr(-,app,app,-)
1198 %dir %{user_shader_cache_dir}
1202 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1203 # if common ||"undefined"
1204 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1205 %defattr(-,root,root,-)
1206 %{_libdir}/libdali-adaptor-cxx11.so.0*
1207 %{_libdir}/libdali-adaptor.so
1208 %exclude %{_libdir}/libdali-adap*.so*.mobile
1209 %exclude %{_libdir}/libdali-adap*.so*.wearable
1210 %exclude %{_libdir}/libdali-adap*.so*.tv
1211 %exclude %{_libdir}/libdali-adap*.so*.ivi
1214 %if !0%{?disable_cxx03_build}
1216 %manifest dali-adaptor.manifest
1217 %defattr(-,root,root,-)
1218 %defattr(-,app,app,-)
1219 %dir %{user_shader_cache_dir}
1222 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1223 # if common ||"undefined"
1224 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1225 %defattr(-,root,root,-)
1226 %{_libdir}/libdali-adaptor.so.0*
1227 %{_libdir}/libdali-adaptor-cxx03.so
1228 %exclude %{_libdir}/libdali-adap*.so*.mobile
1229 %exclude %{_libdir}/libdali-adap*.so*.wearable
1230 %exclude %{_libdir}/libdali-adap*.so*.tv
1231 %exclude %{_libdir}/libdali-adap*.so*.ivi
1234 %if 0%{?tizen_version_major} >= 3
1235 %if 0%{?enable_web_engine_lite}
1236 %files dali-web-engine-lite-plugin-cxx03
1237 %manifest dali-adaptor.manifest
1238 %defattr(-,root,root,-)
1239 %{_libdir}/libdali-web-engine-lite-plugin.so*
1243 %files dali-feedback-plugin-cxx03
1244 %manifest dali-adaptor.manifest
1245 %defattr(-,root,root,-)
1246 %{_libdir}/libdali-feedback-plugin.so*
1247 %{dali_plugin_sound_files}/*
1251 #################################################
1253 %if 0%{?tizen_version_major} >= 3
1254 %if 0%{?enable_web_engine_lite}
1255 %files dali-web-engine-lite-plugin
1256 %manifest dali-adaptor.manifest
1257 %defattr(-,root,root,-)
1258 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1262 %files dali-feedback-plugin
1263 %manifest dali-adaptor.manifest
1264 %defattr(-,root,root,-)
1265 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1266 %{dali_plugin_sound_files}/*
1269 #################################################
1271 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1272 # if common ||"undefined"
1273 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1274 %files profile_common
1275 # default .so files are housed in the main pkg.
1278 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1279 # if mobile || "undefined"
1280 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1281 %files profile_mobile
1282 %manifest dali-adaptor.manifest
1283 %defattr(-,root,root,-)
1284 %{_libdir}/libdali-adaptor.so.mobile
1285 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1288 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1289 # if tv ||"undefined"
1290 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1292 %manifest dali-adaptor.manifest
1293 %defattr(-,root,root,-)
1294 %{_libdir}/libdali-adaptor.so.tv
1295 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1298 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1299 # if wearable || "undefined"
1300 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1301 %files profile_wearable
1302 %manifest dali-adaptor.manifest
1303 %defattr(-,root,root,-)
1304 %{_libdir}/libdali-adaptor.so.wearable
1305 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1308 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1309 # if ivi ||"undefined"
1310 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1312 %manifest dali-adaptor.manifest
1313 %defattr(-,root,root,-)
1314 %{_libdir}/libdali-adaptor.so.ivi
1315 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1320 %defattr(-,root,root,-)
1321 %{dev_include_path}/dali/dali.h
1322 %{dev_include_path}/dali/public-api/*
1323 %{dev_include_path}/dali/devel-api/*
1324 %{dev_include_path}/dali/doc/*
1325 %{_libdir}/pkgconfig/dali-adaptor.pc
1327 %files integration-devel
1328 %defattr(-,root,root,-)
1329 %{dev_include_path}/dali/integration-api/adaptors/*
1330 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1332 %if !0%{?disable_cxx03_build}
1333 ################################################
1335 ################################################
1337 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1338 # if common ||"undefined"
1339 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1340 %files profile_common-cxx03
1341 # default .so files are housed in the main pkg.
1344 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1345 # if mobile || "undefined"
1346 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1347 %files profile_mobile-cxx03
1348 %manifest dali-adaptor.manifest
1349 %defattr(-,root,root,-)
1350 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1351 %{_libdir}/libdali-adaptor.so.0*mobile
1354 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1355 # if tv ||"undefined"
1356 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1357 %files profile_tv-cxx03
1358 %manifest dali-adaptor.manifest
1359 %defattr(-,root,root,-)
1360 %{_libdir}/libdali-adaptor-cxx03.so.tv
1361 %{_libdir}/libdali-adaptor.so.0*.tv
1364 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1365 # if wearable || "undefined"
1366 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1367 %files profile_wearable-cxx03
1368 %manifest dali-adaptor.manifest
1369 %defattr(-,root,root,-)
1370 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1371 %{_libdir}/libdali-adaptor.so.0*.wearable
1374 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1375 # if ivi ||"undefined"
1376 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1377 %files profile_ivi-cxx03
1378 %manifest dali-adaptor.manifest
1379 %defattr(-,root,root,-)
1380 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1381 %{_libdir}/libdali-adaptor.so.0*.ivi
1386 %defattr(-,root,root,-)
1387 %{dev_include_path}/dali/dali.h
1388 %{dev_include_path}/dali/public-api/*
1389 %{dev_include_path}/dali/devel-api/*
1390 %{dev_include_path}/dali/doc/*
1391 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1393 %files integration-devel-cxx03
1394 %defattr(-,root,root,-)
1395 %{dev_include_path}/dali/integration-api/adaptors/*
1396 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc