2 # This spec file is used to build DALi Adaptor for different Tizen Profiles
3 # Current profiles are: Mobile, TV, Wearable, Common
5 # The profile variable is defined outside of the spec file in a build.conf file.
6 # It will contain the profile and whether or not to build with X11 or Wayland
8 # gbs will try to download the build.conf for the platform automatically from the repo location when
9 # performing a gbs build ( use gbs build -v to see it download location) E.g.
10 # http://download.tizen.org/snapshots/tizen/tv/tizen-tv/repos/arm-wayland/packages/repodata/xxxx-build.conf.gz
12 # Do not provide .so automatically for the extensions.
13 # This if statement is for backward compatibility with GBM/Obsolete build systems
14 %if "%{?profile}" != "wearable" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
15 %global __provides_exclude_from ^.*\\.(wearable|mobile|tv|ivi|common)$
21 Summary: The DALi Tizen Adaptor
24 Group: System/Libraries
25 License: Apache-2.0 and BSD-3-Clause and MIT
26 URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary
27 Source0: %{name}-%{version}.tar.gz
29 Requires(post): /sbin/ldconfig
30 Requires(postun): /sbin/ldconfig
33 #need libtzplatform-config for directory if tizen version is 3.x
35 %if 0%{?tizen_version_major} >= 3
36 %define tizen_platform_config_supported 1
37 BuildRequires: pkgconfig(libtzplatform-config)
40 %if 0%{?tizen_version_major} < 4
41 %define disable_cxx03_build 1
44 # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists.
46 %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}
47 %define profile %{tizen_profile_name}
50 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
51 # if wearable || "undefined"
52 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
53 BuildRequires: pkgconfig(capi-appfw-watch-application)
54 BuildRequires: pkgconfig(appcore-watch)
55 BuildRequires: pkgconfig(screen_connector_provider)
58 BuildRequires: pkgconfig(gles20)
59 BuildRequires: pkgconfig(glesv2)
60 BuildRequires: pkgconfig(ttrace)
62 %if !0%{?disable_cxx03_build}
63 BuildRequires: dali-devel-cxx03
64 BuildRequires: dali-integration-devel-cxx03
66 BuildRequires: dali-devel
67 BuildRequires: dali-integration-devel
69 BuildRequires: pkgconfig
71 BuildRequires: giflib-devel
72 BuildRequires: pkgconfig(fontconfig)
73 BuildRequires: libjpeg-turbo-devel
74 BuildRequires: pkgconfig(vconf)
75 BuildRequires: tts-devel
76 BuildRequires: pkgconfig(dlog)
77 BuildRequires: libdrm-devel
78 BuildRequires: pkgconfig(libexif)
79 BuildRequires: pkgconfig(libpng)
80 BuildRequires: pkgconfig(egl)
81 BuildRequires: libcurl-devel
82 BuildRequires: pkgconfig(harfbuzz)
83 BuildRequires: fribidi-devel
85 BuildRequires: pkgconfig(capi-system-info)
86 BuildRequires: pkgconfig(capi-system-sensor)
88 BuildRequires: pkgconfig(libcrypto)
92 ####### BUILDING FOR WAYLAND #######
93 BuildRequires: pkgconfig(wayland-egl)
94 BuildRequires: pkgconfig(wayland-client)
95 BuildRequires: wayland-devel
96 BuildRequires: wayland-extension-client-devel
98 # dali-adaptor uses ecore mainloop
99 BuildRequires: pkgconfig(ecore-wayland)
101 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
102 BuildRequires: pkgconfig(libtbm)
104 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
105 %if !0%{?disable_cxx03_build}
106 BuildRequires: pkgconfig(tpkp-curl-deprecated)
108 BuildRequires: pkgconfig(tpkp-curl)
110 ####### BUILDING FOR X11#######
112 BuildRequires: pkgconfig(egl)
113 BuildRequires: pkgconfig(xext)
114 BuildRequires: pkgconfig(xi)
115 BuildRequires: pkgconfig(xfixes)
116 BuildRequires: pkgconfig(xdamage)
117 BuildRequires: pkgconfig(utilX)
121 %if 0%{?tizen_version_major} == 3
122 BuildRequires: pkgconfig(capi-appfw-application)
123 BuildRequires: pkgconfig(elementary)
125 BuildRequires: pkgconfig(appcore-ui)
126 BuildRequires: pkgconfig(appcore-widget-base)
127 BuildRequires: pkgconfig(bundle)
128 BuildRequires: pkgconfig(capi-appfw-app-common)
129 BuildRequires: pkgconfig(capi-appfw-app-control)
130 BuildRequires: pkgconfig(ecore-imf)
133 BuildRequires: pkgconfig(capi-system-system-settings)
135 # for feedback plugin
136 BuildRequires: pkgconfig(mm-sound)
137 %if 0%{?tizen_version_major} >= 3
138 BuildRequires: pkgconfig(feedback)
141 # for Web Engine Lite Plugin
142 %if 0%{?enable_web_engine_lite}
143 BuildRequires: lightweight-web-engine
144 BuildRequires: lightweight-web-engine-devel
148 Requires: %{name}-compat = %{version}-%{release}
149 Recommends: %{name}-profile_common = %{version}-%{release}
152 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
153 platform abstraction and application shell
155 %if !0%{?disable_cxx03_build}
157 Summary: The DALi Tizen Adaptor with cxx03 abi
158 Provides: %{name}-cxx03 = %{version}-%{release}
161 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
162 platform abstraction and application shell
165 ###########################################
166 # Dali adapter for profiles
167 ###########################################
169 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
170 # if mobile || "undefined"
171 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
172 %package profile_mobile
173 Summary: The DALi Tizen Adaptor for mobile
174 Provides: %{name}-compat = %{version}-%{release}
175 Conflicts: %{name}-profile_tv
176 Conflicts: %{name}-profile_wearable
177 Conflicts: %{name}-profile_ivi
178 Conflicts: %{name}-profile_common
179 %description profile_mobile
180 The DALi Tizen Adaptor for mobile.
183 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
184 # if tv ||"undefined"
185 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
187 Summary: The DALi Tizen Adaptor for tv
188 Provides: %{name}-compat = %{version}-%{release}
189 Conflicts: %{name}-profile_mobile
190 Conflicts: %{name}-profile_wearable
191 Conflicts: %{name}-profile_ivi
192 Conflicts: %{name}-profile_common
193 %description profile_tv
194 The DALi Tizen Adaptor for tv.
197 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
198 # if wearable || "undefined"
199 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
200 %package profile_wearable
201 Summary: The DALi Tizen Adaptor for wearable
202 Provides: %{name}-compat = %{version}-%{release}
203 Conflicts: %{name}-profile_mobile
204 Conflicts: %{name}-profile_tv
205 Conflicts: %{name}-profile_ivi
206 Conflicts: %{name}-profile_common
207 %description profile_wearable
208 The DALi Tizen Adaptor for wearable.
211 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
212 # if ivi ||"undefined"
213 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
215 Summary: The DALi Tizen Adaptor for ivi
216 Provides: %{name}-compat = %{version}-%{release}
217 Conflicts: %{name}-profile_mobile
218 Conflicts: %{name}-profile_wearable
219 Conflicts: %{name}-profile_tv
220 Conflicts: %{name}-profile_common
221 %description profile_ivi
222 The DALi Tizen Adaptor for ivi.
225 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
226 # if common ||"undefined"
227 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
228 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
229 %package profile_common
230 %define tizen_2_2_compatibility 0
231 Summary: The DALi Tizen Adaptor for common
232 Provides: %{name}-compat = %{version}-%{release}
233 Conflicts: %{name}-profile_mobile
234 Conflicts: %{name}-profile_wearable
235 Conflicts: %{name}-profile_tv
236 Conflicts: %{name}-profile_ivi
237 %description profile_common
238 The DALi Tizen Adaptor for common.
241 %if !0%{?disable_cxx03_build}
242 ###########################################
243 # Dali adapter for profiles for cxx03 ABI
244 ###########################################
246 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
247 # if mobile || "undefined"
248 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
249 %package profile_mobile-cxx03
250 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
251 Provides: %{name}-cxx03-compat = %{version}-%{release}
252 Conflicts: %{name}-profile_tv-cxx03
253 Conflicts: %{name}-profile_wearable-cxx03
254 Conflicts: %{name}-profile_ivi-cxx03
255 Conflicts: %{name}-profile_common-cxx03
256 %description profile_mobile-cxx03
257 The DALi Tizen Adaptor for mobile.
260 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
261 # if tv ||"undefined"
262 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
263 %package profile_tv-cxx03
264 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
265 Provides: %{name}-cxx03-compat = %{version}-%{release}
266 Conflicts: %{name}-profile_mobile-cxx03
267 Conflicts: %{name}-profile_wearable-cxx03
268 Conflicts: %{name}-profile_ivi-cxx03
269 Conflicts: %{name}-profile_common-cxx03
270 %description profile_tv-cxx03
271 The DALi Tizen Adaptor for tv.
274 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
275 # if wearable || "undefined"
276 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
277 %package profile_wearable-cxx03
278 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
279 Provides: %{name}-cxx03-compat = %{version}-%{release}
280 Conflicts: %{name}-profile_mobile-cxx03
281 Conflicts: %{name}-profile_tv-cxx03
282 Conflicts: %{name}-profile_ivi-cxx03
283 Conflicts: %{name}-profile_common-cxx03
284 %description profile_wearable-cxx03
285 The DALi Tizen Adaptor for wearable.
288 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
289 # if ivi ||"undefined"
290 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
291 %package profile_ivi-cxx03
292 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
293 Provides: %{name}-cxx03-compat = %{version}-%{release}
294 Conflicts: %{name}-profile_mobile-cxx03
295 Conflicts: %{name}-profile_wearable-cxx03
296 Conflicts: %{name}-profile_tv-cxx03
297 Conflicts: %{name}-profile_common-cxx03
298 %description profile_ivi-cxx03
299 The DALi Tizen Adaptor for ivi.
302 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
303 # if common ||"undefined"
304 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
305 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
306 %package profile_common-cxx03
307 %define tizen_2_2_compatibility 0
308 Summary: The DALi Tizen Adaptor for common with cxx03 abi
309 Provides: %{name}-cxx03-compat = %{version}-%{release}
310 Conflicts: %{name}-profile_mobile-cxx03
311 Conflicts: %{name}-profile_wearable-cxx03
312 Conflicts: %{name}-profile_tv-cxx03
313 Conflicts: %{name}-profile_ivi-cxx03
314 %description profile_common-cxx03
315 The DALi Tizen Adaptor for common.
319 ##############################
321 ##############################
323 Summary: Development components for the DALi Tizen Adaptor
324 Group: Development/Building
325 Requires: %{name} = %{version}-%{release}
326 Requires: %{name}-integration-devel = %{version}-%{release}
329 Development components for the DALi Tizen Adaptor - public headers and package configs
331 ##############################
333 ##############################
334 %package integration-devel
335 Summary: Integration development package for the Adaptor
336 Group: Development/Building
337 Requires: %{name} = %{version}-%{release}
339 %description integration-devel
340 Integration development package for the Adaptor - headers for integrating with an adaptor library.
342 %if !0%{?disable_cxx03_build}
343 ##############################
345 ##############################
347 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
348 Group: Development/Building
349 Requires: %{name}-cxx03 = %{version}-%{release}
350 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
352 %description devel-cxx03
353 Development components for the DALi Tizen Adaptor - public headers and package configs
355 ##############################
356 # integration-devel cxx03
357 ##############################
358 %package integration-devel-cxx03
359 Summary: Integration development package for the Adaptor with cxx03 abi
360 Group: Development/Building
361 Requires: %{name}-cxx03 = %{version}-%{release}
363 %description integration-devel-cxx03
364 Integration development package for the Adaptor - headers for integrating with an adaptor library.
367 ##############################
368 # Dali Feedback Plugin
369 ##############################
370 %package dali-feedback-plugin
371 Summary: Plugin to play haptic and audio feedback for Dali
372 Group: System/Libraries
373 Requires: %{name} = %{version}-%{release}
374 %description dali-feedback-plugin
375 Feedback plugin to play haptic and audio feedback for Dali
377 ##############################
378 # Dali WebEngineLite Plugin
379 ##############################
381 %package dali-web-engine-lite-plugin
382 Summary: Plugin WebEngineLite for Dali
383 Group: System/Libraries
384 %description dali-web-engine-lite-plugin
385 WebEngineLite plugin for Dali
387 %if !0%{?disable_cxx03_build}
388 ##############################
389 # Dali Feedback Plugin cxx03
390 ##############################
392 %package dali-feedback-plugin-cxx03
393 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
394 Group: System/Libraries
395 Requires: %{name}-cxx03 = %{version}-%{release}
396 %description dali-feedback-plugin-cxx03
397 Feedback plugin to play haptic and audio feedback for Dali
399 ##############################
400 # Dali WebEngineLite Plugin
401 ##############################
403 %package dali-web-engine-lite-plugin-cxx03
404 Summary: Plugin WebEngineLite for Dali with cxx03 abi
405 Group: System/Libraries
406 %description dali-web-engine-lite-plugin-cxx03
407 WebEngineLite plugin for Dali
410 ##############################
412 ##############################
416 #Use TZ_PATH when tizen version is 3.x or greater
418 %if 0%{?tizen_version_major} >= 3
419 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
420 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
421 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
422 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
423 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
424 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
426 %define dali_data_rw_dir /usr/share/dali/
427 %define dali_data_ro_dir /usr/share/dali/
428 %define font_preloaded_path /usr/share/fonts/
429 %define font_downloaded_path /opt/share/fonts/
430 %define font_application_path /usr/share/app_fonts/
431 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
434 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
435 %define dali_plugin_sound_files /plugins/sounds/
436 %define dev_include_path %{_includedir}
438 ##############################
440 ##############################
443 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
444 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
447 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
452 CXXFLAGS+=" -DWAYLAND"
453 configure_flags="--enable-wayland"
456 # Use this conditional when Tizen version is 4.x or greater
457 %if 0%{?tizen_version_major} >= 4
458 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
461 %if 0%{?tizen_2_2_compatibility}
462 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
463 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
467 cd %{_builddir}/%{name}-%{version}/build/tizen
470 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
471 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
472 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
473 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
474 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
475 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
476 %if 0%{?tizen_platform_config_supported}
477 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
480 # Default to GLES 2.0 if not specified.
481 %if 0%{?target_gles_version} == 0
482 %define target_gles_version 20
485 # Set up the build via configure.
486 #######################################################################
487 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
488 # if mobile || "undefined"
489 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
490 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
491 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
492 --enable-tizen-major-version=%{tizen_version_major} \
493 %if 0%{?tizen_version_major} >= 3
496 %if 0%{?tizen_2_2_compatibility}
497 --with-tizen-2-2-compatibility \
504 %if 0%{?enable_web_engine_lite}
505 --enable-web-engine-lite \
507 %if 0%{?enable_debug}
511 $configure_flags --libdir=%{_libdir} \
512 --enable-rename-so=no
515 make %{?jobs:-j%jobs}
517 pushd %{_builddir}/%{name}-%{version}/build/tizen
518 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
521 pushd %{buildroot}%{_libdir}
522 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
523 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
524 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
531 #######################################################################
532 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
533 # if tv ||"undefined"
534 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
535 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
536 --enable-shaderbincache=DISABLE --enable-profile=TV \
537 --enable-tizen-major-version=%{tizen_version_major} \
538 %if 0%{?tizen_version_major} >= 3
541 %if 0%{?tizen_2_2_compatibility}
542 --with-tizen-2-2-compatibility \
549 %if 0%{?enable_web_engine_lite}
550 --enable-web-engine-lite \
552 %if 0%{?enable_debug}
556 $configure_flags --libdir=%{_libdir} \
557 --enable-rename-so=no
560 make %{?jobs:-j%jobs}
562 pushd %{_builddir}/%{name}-%{version}/build/tizen
563 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
566 pushd %{buildroot}%{_libdir}
567 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
568 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
569 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
575 #######################################################################
576 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
577 # if wearable || "undefined"
578 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
579 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
580 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
581 --enable-tizen-major-version=%{tizen_version_major} \
582 %if 0%{?tizen_version_major} >= 3
585 %if 0%{?tizen_2_2_compatibility}
586 --with-tizen-2-2-compatibility \
593 %if 0%{?enable_web_engine_lite}
594 --enable-web-engine-lite \
596 %if 0%{?enable_debug}
600 $configure_flags --libdir=%{_libdir} \
601 --enable-rename-so=no
604 make %{?jobs:-j%jobs}
606 pushd %{_builddir}/%{name}-%{version}/build/tizen
607 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
610 pushd %{buildroot}%{_libdir}
611 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
612 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
613 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
619 #######################################################################
620 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
621 # if ivi ||"undefined"
622 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
623 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
624 --enable-shaderbincache=DISABLE --enable-profile=IVI \
625 --enable-tizen-major-version=%{tizen_version_major} \
626 %if 0%{?tizen_version_major} >= 3
629 %if 0%{?tizen_2_2_compatibility}
630 --with-tizen-2-2-compatibility \
637 %if 0%{?enable_web_engine_lite}
638 --enable-web-engine-lite \
640 %if 0%{?enable_debug}
644 $configure_flags --libdir=%{_libdir} \
645 --enable-rename-so=no
648 make %{?jobs:-j%jobs}
650 pushd %{_builddir}/%{name}-%{version}/build/tizen
651 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
654 pushd %{buildroot}%{_libdir}
655 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
656 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
658 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
664 #######################################################################
666 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
667 # if common ||"undefined"
668 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
669 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
670 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
671 --enable-tizen-major-version=%{tizen_version_major} \
672 %if 0%{?tizen_version_major} >= 3
675 %if 0%{?tizen_2_2_compatibility}
676 --with-tizen-2-2-compatibility \
683 %if 0%{?enable_web_engine_lite}
684 --enable-web-engine-lite \
686 %if 0%{?enable_debug}
690 $configure_flags --libdir=%{_libdir} \
691 --enable-rename-so=no
694 make %{?jobs:-j%jobs}
696 pushd %{_builddir}/%{name}-%{version}/build/tizen
697 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
700 pushd %{buildroot}%{_libdir}
701 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
702 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
704 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
711 %if !0%{?disable_cxx03_build}
712 #######################################################################
714 #######################################################################
716 # Set up the build via configure.
717 #######################################################################
718 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
719 # if mobile || "undefined"
720 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
722 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
723 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
724 --enable-tizen-major-version=%{tizen_version_major} \
725 %if 0%{?tizen_version_major} >= 3
728 --enable-cxx03-abi=yes \
729 %if 0%{?tizen_2_2_compatibility}
730 --with-tizen-2-2-compatibility \
737 %if 0%{?enable_web_engine_lite}
738 --enable-web-engine-lite \
740 %if 0%{?enable_debug}
744 $configure_flags --libdir=%{_libdir} \
745 --enable-rename-so=no
748 make %{?jobs:-j%jobs}
750 pushd %{_builddir}/%{name}-%{version}/build/tizen
751 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
754 pushd %{buildroot}%{_libdir}
755 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
756 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
763 #######################################################################
764 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
765 # if tv ||"undefined"
766 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
768 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
769 --enable-shaderbincache=DISABLE --enable-profile=TV \
770 --enable-tizen-major-version=%{tizen_version_major} \
771 %if 0%{?tizen_version_major} >= 3
774 --enable-cxx03-abi=yes \
775 %if 0%{?tizen_2_2_compatibility}
776 --with-tizen-2-2-compatibility \
783 %if 0%{?enable_web_engine_lite}
784 --enable-web-engine-lite \
786 %if 0%{?enable_debug}
790 $configure_flags --libdir=%{_libdir} \
791 --enable-rename-so=no
794 make %{?jobs:-j%jobs}
796 pushd %{_builddir}/%{name}-%{version}/build/tizen
797 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
800 pushd %{buildroot}%{_libdir}
801 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
802 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
808 #######################################################################
809 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
810 # if wearable || "undefined"
811 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
813 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
814 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
815 --enable-tizen-major-version=%{tizen_version_major} \
816 %if 0%{?tizen_version_major} >= 3
819 --enable-cxx03-abi=yes \
820 %if 0%{?tizen_2_2_compatibility}
821 --with-tizen-2-2-compatibility \
828 %if 0%{?enable_web_engine_lite}
829 --enable-web-engine-lite \
831 %if 0%{?enable_debug}
835 $configure_flags --libdir=%{_libdir} \
836 --enable-rename-so=no
839 make %{?jobs:-j%jobs}
841 pushd %{_builddir}/%{name}-%{version}/build/tizen
842 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
845 pushd %{buildroot}%{_libdir}
846 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
847 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
853 #######################################################################
854 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
855 # if ivi ||"undefined"
856 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
858 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
859 --enable-shaderbincache=DISABLE --enable-profile=IVI \
860 --enable-tizen-major-version=%{tizen_version_major} \
861 %if 0%{?tizen_version_major} >= 3
864 --enable-cxx03-abi=yes \
865 %if 0%{?tizen_2_2_compatibility}
866 --with-tizen-2-2-compatibility \
873 %if 0%{?enable_web_engine_lite}
874 --enable-web-engine-lite \
876 %if 0%{?enable_debug}
880 $configure_flags --libdir=%{_libdir} \
881 --enable-rename-so=no
884 make %{?jobs:-j%jobs}
886 pushd %{_builddir}/%{name}-%{version}/build/tizen
887 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
890 pushd %{buildroot}%{_libdir}
891 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
892 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
898 #######################################################################
900 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
901 # if common ||"undefined"
902 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
904 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
905 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
906 --enable-tizen-major-version=%{tizen_version_major} \
907 %if 0%{?tizen_version_major} >= 3
910 --enable-cxx03-abi=yes \
911 %if 0%{?tizen_2_2_compatibility}
912 --with-tizen-2-2-compatibility \
919 %if 0%{?enable_web_engine_lite}
920 --enable-web-engine-lite \
922 %if 0%{?enable_debug}
926 $configure_flags --libdir=%{_libdir} \
927 --enable-rename-so=no
930 make %{?jobs:-j%jobs}
935 ##############################
937 ##############################
941 pushd %{_builddir}/%{name}-%{version}/build/tizen
942 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
945 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
946 # !unified && (wearable || tv || ivi || mobile)
947 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
948 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
951 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
952 # wearable || tv || ivi || mobile || unified
953 %if "%{?profile}" != "common"
954 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
955 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
959 ################################################
961 ###############################################
962 pushd %{buildroot}%{_libdir}
964 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
965 # if common ||"undefined"
966 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
967 rm -rf libdali-adaptor*.so
968 %if !0%{?disable_cxx03_build}
969 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
971 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
974 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
975 # if wearable || "undefined"
976 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
977 rm -rf libdali-adaptor*.so.wearable
978 %if !0%{?disable_cxx03_build}
979 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
981 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
984 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
985 # if tv ||"undefined"
986 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
987 rm -rf libdali-adaptor*.so.tv
988 %if !0%{?disable_cxx03_build}
989 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
991 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
994 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
995 # if ivi ||"undefined"
996 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
997 rm -rf libdali-adaptor*.so.ivi
998 %if !0%{?disable_cxx03_build}
999 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
1001 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1004 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1005 # if mobile || "undefined"
1006 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1007 rm -rf libdali-adaptor*.so.mobile
1008 %if !0%{?disable_cxx03_build}
1009 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1011 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1015 ##############################
1017 # 1 - Pre Install new package
1018 # 2 - Install new package
1019 # 3 - Post install new package
1020 # 4 - Pre uninstall old package
1021 # 5 - Remove files not overwritten by new package
1022 # 6 - Post uninstall old package
1023 ##############################
1028 ##############################
1029 # Post Install new package
1030 ##############################
1035 ##############################
1036 # Pre Uninstall old package
1037 ##############################
1041 ##############################
1042 # Post Uninstall old package
1043 ##############################
1048 #%if %{with wayland}
1049 %post dali-web-engine-lite-plugin
1054 ##############################
1056 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1057 # if mobile || "undefined"
1058 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1059 %post profile_mobile
1061 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1066 %postun profile_mobile
1071 ##############################
1073 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1074 # if tv ||"undefined"
1075 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1078 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1088 ##############################
1090 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1091 # if wearable || "undefined"
1092 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1093 %post profile_wearable
1095 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1100 %postun profile_wearable
1105 ##############################
1107 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1108 # if ivi ||"undefined"
1109 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1112 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1122 %if !0%{?disable_cxx03_build}
1123 ##############################
1125 #############################
1126 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1127 # if mobile || "undefined"
1128 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1129 %post profile_mobile-cxx03
1131 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1136 %postun profile_mobile-cxx03
1141 ##############################
1143 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1144 # if tv ||"undefined"
1145 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1146 %post profile_tv-cxx03
1148 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1153 %postun profile_tv-cxx03
1158 ##############################
1160 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1161 # if wearable || "undefined"
1162 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1163 %post profile_wearable-cxx03
1165 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1170 %postun profile_wearable-cxx03
1175 ##############################
1177 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1178 # if ivi ||"undefined"
1179 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1180 %post profile_ivi-cxx03
1182 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1187 %postun profile_ivi-cxx03
1193 ##############################
1194 # Files in Binary Packages
1195 ##############################
1198 %manifest dali-adaptor.manifest
1199 %defattr(-,root,root,-)
1200 %defattr(-,app,app,-)
1201 %dir %{user_shader_cache_dir}
1205 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1206 # if common ||"undefined"
1207 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1208 %defattr(-,root,root,-)
1209 %{_libdir}/libdali-adaptor-cxx11.so.0*
1210 %{_libdir}/libdali-adaptor.so
1211 %exclude %{_libdir}/libdali-adap*.so*.mobile
1212 %exclude %{_libdir}/libdali-adap*.so*.wearable
1213 %exclude %{_libdir}/libdali-adap*.so*.tv
1214 %exclude %{_libdir}/libdali-adap*.so*.ivi
1217 %if !0%{?disable_cxx03_build}
1219 %manifest dali-adaptor.manifest
1220 %defattr(-,root,root,-)
1221 %defattr(-,app,app,-)
1222 %dir %{user_shader_cache_dir}
1225 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1226 # if common ||"undefined"
1227 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1228 %defattr(-,root,root,-)
1229 %{_libdir}/libdali-adaptor.so.0*
1230 %{_libdir}/libdali-adaptor-cxx03.so
1231 %exclude %{_libdir}/libdali-adap*.so*.mobile
1232 %exclude %{_libdir}/libdali-adap*.so*.wearable
1233 %exclude %{_libdir}/libdali-adap*.so*.tv
1234 %exclude %{_libdir}/libdali-adap*.so*.ivi
1237 %if 0%{?tizen_version_major} >= 3
1238 %if 0%{?enable_web_engine_lite}
1239 %files dali-web-engine-lite-plugin-cxx03
1240 %manifest dali-adaptor.manifest
1241 %defattr(-,root,root,-)
1242 %{_libdir}/libdali-web-engine-lite-plugin.so*
1246 %files dali-feedback-plugin-cxx03
1247 %manifest dali-adaptor.manifest
1248 %defattr(-,root,root,-)
1249 %{_libdir}/libdali-feedback-plugin.so*
1250 %{dali_plugin_sound_files}/*
1254 #################################################
1256 %if 0%{?tizen_version_major} >= 3
1257 %if 0%{?enable_web_engine_lite}
1258 %files dali-web-engine-lite-plugin
1259 %manifest dali-adaptor.manifest
1260 %defattr(-,root,root,-)
1261 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1265 %files dali-feedback-plugin
1266 %manifest dali-adaptor.manifest
1267 %defattr(-,root,root,-)
1268 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1269 %{dali_plugin_sound_files}/*
1272 #################################################
1274 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1275 # if common ||"undefined"
1276 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1277 %files profile_common
1278 # default .so files are housed in the main pkg.
1281 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1282 # if mobile || "undefined"
1283 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1284 %files profile_mobile
1285 %manifest dali-adaptor.manifest
1286 %defattr(-,root,root,-)
1287 %{_libdir}/libdali-adaptor.so.mobile
1288 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1291 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1292 # if tv ||"undefined"
1293 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1295 %manifest dali-adaptor.manifest
1296 %defattr(-,root,root,-)
1297 %{_libdir}/libdali-adaptor.so.tv
1298 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1301 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1302 # if wearable || "undefined"
1303 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1304 %files profile_wearable
1305 %manifest dali-adaptor.manifest
1306 %defattr(-,root,root,-)
1307 %{_libdir}/libdali-adaptor.so.wearable
1308 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1311 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1312 # if ivi ||"undefined"
1313 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1315 %manifest dali-adaptor.manifest
1316 %defattr(-,root,root,-)
1317 %{_libdir}/libdali-adaptor.so.ivi
1318 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1323 %defattr(-,root,root,-)
1324 %{dev_include_path}/dali/dali.h
1325 %{dev_include_path}/dali/public-api/*
1326 %{dev_include_path}/dali/devel-api/*
1327 %{dev_include_path}/dali/doc/*
1328 %{_libdir}/pkgconfig/dali-adaptor.pc
1330 %files integration-devel
1331 %defattr(-,root,root,-)
1332 %{dev_include_path}/dali/integration-api/adaptors/*
1333 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1335 %if !0%{?disable_cxx03_build}
1336 ################################################
1338 ################################################
1340 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1341 # if common ||"undefined"
1342 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1343 %files profile_common-cxx03
1344 # default .so files are housed in the main pkg.
1347 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1348 # if mobile || "undefined"
1349 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1350 %files profile_mobile-cxx03
1351 %manifest dali-adaptor.manifest
1352 %defattr(-,root,root,-)
1353 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1354 %{_libdir}/libdali-adaptor.so.0*mobile
1357 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1358 # if tv ||"undefined"
1359 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1360 %files profile_tv-cxx03
1361 %manifest dali-adaptor.manifest
1362 %defattr(-,root,root,-)
1363 %{_libdir}/libdali-adaptor-cxx03.so.tv
1364 %{_libdir}/libdali-adaptor.so.0*.tv
1367 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1368 # if wearable || "undefined"
1369 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1370 %files profile_wearable-cxx03
1371 %manifest dali-adaptor.manifest
1372 %defattr(-,root,root,-)
1373 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1374 %{_libdir}/libdali-adaptor.so.0*.wearable
1377 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1378 # if ivi ||"undefined"
1379 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1380 %files profile_ivi-cxx03
1381 %manifest dali-adaptor.manifest
1382 %defattr(-,root,root,-)
1383 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1384 %{_libdir}/libdali-adaptor.so.0*.ivi
1389 %defattr(-,root,root,-)
1390 %{dev_include_path}/dali/dali.h
1391 %{dev_include_path}/dali/public-api/*
1392 %{dev_include_path}/dali/devel-api/*
1393 %{dev_include_path}/dali/doc/*
1394 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1396 %files integration-devel-cxx03
1397 %defattr(-,root,root,-)
1398 %{dev_include_path}/dali/integration-api/adaptors/*
1399 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc