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)
90 ####### BUILDING FOR WAYLAND #######
91 BuildRequires: pkgconfig(wayland-egl)
92 BuildRequires: pkgconfig(wayland-client)
93 BuildRequires: wayland-devel
94 BuildRequires: wayland-extension-client-devel
96 # dali-adaptor uses ecore mainloop
97 BuildRequires: pkgconfig(ecore-wayland)
99 # dali-adaptor needs tbm_surface in tizen 3.0 wayland
100 BuildRequires: pkgconfig(libtbm)
102 # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0
103 %if !0%{?disable_cxx03_build}
104 BuildRequires: pkgconfig(tpkp-curl-deprecated)
106 BuildRequires: pkgconfig(tpkp-curl)
108 ####### BUILDING FOR X11#######
110 BuildRequires: pkgconfig(egl)
111 BuildRequires: pkgconfig(xext)
112 BuildRequires: pkgconfig(xi)
113 BuildRequires: pkgconfig(xfixes)
114 BuildRequires: pkgconfig(xdamage)
115 BuildRequires: pkgconfig(utilX)
119 %if 0%{?tizen_version_major} == 3
120 BuildRequires: pkgconfig(capi-appfw-application)
121 BuildRequires: pkgconfig(elementary)
123 BuildRequires: pkgconfig(appcore-ui)
124 BuildRequires: pkgconfig(appcore-widget-base)
125 BuildRequires: pkgconfig(bundle)
126 BuildRequires: pkgconfig(capi-appfw-app-common)
127 BuildRequires: pkgconfig(capi-appfw-app-control)
128 BuildRequires: pkgconfig(ecore-imf)
131 BuildRequires: pkgconfig(capi-system-system-settings)
133 # for feedback plugin
134 BuildRequires: pkgconfig(mm-sound)
135 %if 0%{?tizen_version_major} >= 3
136 BuildRequires: pkgconfig(feedback)
139 # for Web Engine Lite Plugin
140 %if 0%{?enable_web_engine_lite}
141 BuildRequires: lightweight-web-engine
142 BuildRequires: lightweight-web-engine-devel
146 Requires: %{name}-compat = %{version}-%{release}
147 Recommends: %{name}-profile_common = %{version}-%{release}
150 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
151 platform abstraction and application shell
153 %if !0%{?disable_cxx03_build}
155 Summary: The DALi Tizen Adaptor with cxx03 abi
156 Provides: %{name}-cxx03 = %{version}-%{release}
159 The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
160 platform abstraction and application shell
163 ###########################################
164 # Dali adapter for profiles
165 ###########################################
167 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
168 # if mobile || "undefined"
169 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
170 %package profile_mobile
171 Summary: The DALi Tizen Adaptor for mobile
172 Provides: %{name}-compat = %{version}-%{release}
173 Conflicts: %{name}-profile_tv
174 Conflicts: %{name}-profile_wearable
175 Conflicts: %{name}-profile_ivi
176 Conflicts: %{name}-profile_common
177 %description profile_mobile
178 The DALi Tizen Adaptor for mobile.
181 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
182 # if tv ||"undefined"
183 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
185 Summary: The DALi Tizen Adaptor for tv
186 Provides: %{name}-compat = %{version}-%{release}
187 Conflicts: %{name}-profile_mobile
188 Conflicts: %{name}-profile_wearable
189 Conflicts: %{name}-profile_ivi
190 Conflicts: %{name}-profile_common
191 %description profile_tv
192 The DALi Tizen Adaptor for tv.
195 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
196 # if wearable || "undefined"
197 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
198 %package profile_wearable
199 Summary: The DALi Tizen Adaptor for wearable
200 Provides: %{name}-compat = %{version}-%{release}
201 Conflicts: %{name}-profile_mobile
202 Conflicts: %{name}-profile_tv
203 Conflicts: %{name}-profile_ivi
204 Conflicts: %{name}-profile_common
205 %description profile_wearable
206 The DALi Tizen Adaptor for wearable.
209 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
210 # if ivi ||"undefined"
211 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
213 Summary: The DALi Tizen Adaptor for ivi
214 Provides: %{name}-compat = %{version}-%{release}
215 Conflicts: %{name}-profile_mobile
216 Conflicts: %{name}-profile_wearable
217 Conflicts: %{name}-profile_tv
218 Conflicts: %{name}-profile_common
219 %description profile_ivi
220 The DALi Tizen Adaptor for ivi.
223 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
224 # if common ||"undefined"
225 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
226 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
227 %package profile_common
228 %define tizen_2_2_compatibility 0
229 Summary: The DALi Tizen Adaptor for common
230 Provides: %{name}-compat = %{version}-%{release}
231 Conflicts: %{name}-profile_mobile
232 Conflicts: %{name}-profile_wearable
233 Conflicts: %{name}-profile_tv
234 Conflicts: %{name}-profile_ivi
235 %description profile_common
236 The DALi Tizen Adaptor for common.
239 %if !0%{?disable_cxx03_build}
240 ###########################################
241 # Dali adapter for profiles for cxx03 ABI
242 ###########################################
244 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
245 # if mobile || "undefined"
246 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
247 %package profile_mobile-cxx03
248 Summary: The DALi Tizen Adaptor for mobile with cxx03 abi
249 Provides: %{name}-cxx03-compat = %{version}-%{release}
250 Conflicts: %{name}-profile_tv-cxx03
251 Conflicts: %{name}-profile_wearable-cxx03
252 Conflicts: %{name}-profile_ivi-cxx03
253 Conflicts: %{name}-profile_common-cxx03
254 %description profile_mobile-cxx03
255 The DALi Tizen Adaptor for mobile.
258 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
259 # if tv ||"undefined"
260 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
261 %package profile_tv-cxx03
262 Summary: The DALi Tizen Adaptor for tv with cxx03 abi
263 Provides: %{name}-cxx03-compat = %{version}-%{release}
264 Conflicts: %{name}-profile_mobile-cxx03
265 Conflicts: %{name}-profile_wearable-cxx03
266 Conflicts: %{name}-profile_ivi-cxx03
267 Conflicts: %{name}-profile_common-cxx03
268 %description profile_tv-cxx03
269 The DALi Tizen Adaptor for tv.
272 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
273 # if wearable || "undefined"
274 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
275 %package profile_wearable-cxx03
276 Summary: The DALi Tizen Adaptor for wearable with cxx03 abi
277 Provides: %{name}-cxx03-compat = %{version}-%{release}
278 Conflicts: %{name}-profile_mobile-cxx03
279 Conflicts: %{name}-profile_tv-cxx03
280 Conflicts: %{name}-profile_ivi-cxx03
281 Conflicts: %{name}-profile_common-cxx03
282 %description profile_wearable-cxx03
283 The DALi Tizen Adaptor for wearable.
286 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
287 # if ivi ||"undefined"
288 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
289 %package profile_ivi-cxx03
290 Summary: The DALi Tizen Adaptor for ivi with cxx03 abi
291 Provides: %{name}-cxx03-compat = %{version}-%{release}
292 Conflicts: %{name}-profile_mobile-cxx03
293 Conflicts: %{name}-profile_wearable-cxx03
294 Conflicts: %{name}-profile_tv-cxx03
295 Conflicts: %{name}-profile_common-cxx03
296 %description profile_ivi-cxx03
297 The DALi Tizen Adaptor for ivi.
300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
301 # if common ||"undefined"
302 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
303 # Currently Tizen Common we use does not have wayland extensions like xdg-shell
304 %package profile_common-cxx03
305 %define tizen_2_2_compatibility 0
306 Summary: The DALi Tizen Adaptor for common with cxx03 abi
307 Provides: %{name}-cxx03-compat = %{version}-%{release}
308 Conflicts: %{name}-profile_mobile-cxx03
309 Conflicts: %{name}-profile_wearable-cxx03
310 Conflicts: %{name}-profile_tv-cxx03
311 Conflicts: %{name}-profile_ivi-cxx03
312 %description profile_common-cxx03
313 The DALi Tizen Adaptor for common.
317 ##############################
319 ##############################
321 Summary: Development components for the DALi Tizen Adaptor
322 Group: Development/Building
323 Requires: %{name} = %{version}-%{release}
324 Requires: %{name}-integration-devel = %{version}-%{release}
327 Development components for the DALi Tizen Adaptor - public headers and package configs
329 ##############################
331 ##############################
332 %package integration-devel
333 Summary: Integration development package for the Adaptor
334 Group: Development/Building
335 Requires: %{name} = %{version}-%{release}
337 %description integration-devel
338 Integration development package for the Adaptor - headers for integrating with an adaptor library.
340 %if !0%{?disable_cxx03_build}
341 ##############################
343 ##############################
345 Summary: Development components for the DALi Tizen Adaptor with cxx03 abi
346 Group: Development/Building
347 Requires: %{name}-cxx03 = %{version}-%{release}
348 Requires: %{name}-integration-devel-cxx03 = %{version}-%{release}
350 %description devel-cxx03
351 Development components for the DALi Tizen Adaptor - public headers and package configs
353 ##############################
354 # integration-devel cxx03
355 ##############################
356 %package integration-devel-cxx03
357 Summary: Integration development package for the Adaptor with cxx03 abi
358 Group: Development/Building
359 Requires: %{name}-cxx03 = %{version}-%{release}
361 %description integration-devel-cxx03
362 Integration development package for the Adaptor - headers for integrating with an adaptor library.
365 ##############################
366 # Dali Feedback Plugin
367 ##############################
368 %package dali-feedback-plugin
369 Summary: Plugin to play haptic and audio feedback for Dali
370 Group: System/Libraries
371 Requires: %{name} = %{version}-%{release}
372 %description dali-feedback-plugin
373 Feedback plugin to play haptic and audio feedback for Dali
375 ##############################
376 # Dali WebEngineLite Plugin
377 ##############################
379 %package dali-web-engine-lite-plugin
380 Summary: Plugin WebEngineLite for Dali
381 Group: System/Libraries
382 %description dali-web-engine-lite-plugin
383 WebEngineLite plugin for Dali
385 %if !0%{?disable_cxx03_build}
386 ##############################
387 # Dali Feedback Plugin cxx03
388 ##############################
390 %package dali-feedback-plugin-cxx03
391 Summary: Plugin to play haptic and audio feedback for Dali with cxx03 abi
392 Group: System/Libraries
393 Requires: %{name}-cxx03 = %{version}-%{release}
394 %description dali-feedback-plugin-cxx03
395 Feedback plugin to play haptic and audio feedback for Dali
397 ##############################
398 # Dali WebEngineLite Plugin
399 ##############################
401 %package dali-web-engine-lite-plugin-cxx03
402 Summary: Plugin WebEngineLite for Dali with cxx03 abi
403 Group: System/Libraries
404 %description dali-web-engine-lite-plugin-cxx03
405 WebEngineLite plugin for Dali
408 ##############################
410 ##############################
414 #Use TZ_PATH when tizen version is 3.x or greater
416 %if 0%{?tizen_version_major} >= 3
417 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
418 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
419 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
420 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
421 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
422 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
424 %define dali_data_rw_dir /usr/share/dali/
425 %define dali_data_ro_dir /usr/share/dali/
426 %define font_preloaded_path /usr/share/fonts/
427 %define font_downloaded_path /opt/share/fonts/
428 %define font_application_path /usr/share/app_fonts/
429 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
432 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
433 %define dali_plugin_sound_files /plugins/sounds/
434 %define dev_include_path %{_includedir}
436 ##############################
438 ##############################
441 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
442 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
445 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
450 CXXFLAGS+=" -DWAYLAND"
451 configure_flags="--enable-wayland"
454 # Use this conditional when Tizen version is 4.x or greater
455 %if 0%{?tizen_version_major} >= 4
456 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
459 %if 0%{?tizen_2_2_compatibility}
460 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
461 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
465 cd %{_builddir}/%{name}-%{version}/build/tizen
468 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
469 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
470 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
471 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
472 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
473 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
474 %if 0%{?tizen_platform_config_supported}
475 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
478 # Default to GLES 2.0 if not specified.
479 %if 0%{?target_gles_version} == 0
480 %define target_gles_version 20
483 # Set up the build via configure.
484 #######################################################################
485 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
486 # if mobile || "undefined"
487 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
488 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
489 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
490 --enable-tizen-major-version=%{tizen_version_major} \
491 %if 0%{?tizen_version_major} >= 3
494 %if 0%{?tizen_2_2_compatibility}
495 --with-tizen-2-2-compatibility \
502 %if 0%{?enable_web_engine_lite}
503 --enable-web-engine-lite \
505 %if 0%{?enable_debug}
509 $configure_flags --libdir=%{_libdir} \
510 --enable-rename-so=no
513 make %{?jobs:-j%jobs}
515 pushd %{_builddir}/%{name}-%{version}/build/tizen
516 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
519 pushd %{buildroot}%{_libdir}
520 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
521 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
522 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
529 #######################################################################
530 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
531 # if tv ||"undefined"
532 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
533 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
534 --enable-shaderbincache=DISABLE --enable-profile=TV \
535 --enable-tizen-major-version=%{tizen_version_major} \
536 %if 0%{?tizen_version_major} >= 3
539 %if 0%{?tizen_2_2_compatibility}
540 --with-tizen-2-2-compatibility \
547 %if 0%{?enable_web_engine_lite}
548 --enable-web-engine-lite \
550 %if 0%{?enable_debug}
554 $configure_flags --libdir=%{_libdir} \
555 --enable-rename-so=no
558 make %{?jobs:-j%jobs}
560 pushd %{_builddir}/%{name}-%{version}/build/tizen
561 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
564 pushd %{buildroot}%{_libdir}
565 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
566 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
567 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
573 #######################################################################
574 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
575 # if wearable || "undefined"
576 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
577 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
578 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
579 --enable-tizen-major-version=%{tizen_version_major} \
580 %if 0%{?tizen_version_major} >= 3
583 %if 0%{?tizen_2_2_compatibility}
584 --with-tizen-2-2-compatibility \
591 %if 0%{?enable_web_engine_lite}
592 --enable-web-engine-lite \
594 %if 0%{?enable_debug}
598 $configure_flags --libdir=%{_libdir} \
599 --enable-rename-so=no
602 make %{?jobs:-j%jobs}
604 pushd %{_builddir}/%{name}-%{version}/build/tizen
605 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
608 pushd %{buildroot}%{_libdir}
609 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
610 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
611 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
617 #######################################################################
618 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
619 # if ivi ||"undefined"
620 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
621 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
622 --enable-shaderbincache=DISABLE --enable-profile=IVI \
623 --enable-tizen-major-version=%{tizen_version_major} \
624 %if 0%{?tizen_version_major} >= 3
627 %if 0%{?tizen_2_2_compatibility}
628 --with-tizen-2-2-compatibility \
635 %if 0%{?enable_web_engine_lite}
636 --enable-web-engine-lite \
638 %if 0%{?enable_debug}
642 $configure_flags --libdir=%{_libdir} \
643 --enable-rename-so=no
646 make %{?jobs:-j%jobs}
648 pushd %{_builddir}/%{name}-%{version}/build/tizen
649 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
652 pushd %{buildroot}%{_libdir}
653 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
654 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
656 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
662 #######################################################################
664 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
665 # if common ||"undefined"
666 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
667 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
668 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
669 --enable-tizen-major-version=%{tizen_version_major} \
670 %if 0%{?tizen_version_major} >= 3
673 %if 0%{?tizen_2_2_compatibility}
674 --with-tizen-2-2-compatibility \
681 %if 0%{?enable_web_engine_lite}
682 --enable-web-engine-lite \
684 %if 0%{?enable_debug}
688 $configure_flags --libdir=%{_libdir} \
689 --enable-rename-so=no
692 make %{?jobs:-j%jobs}
694 pushd %{_builddir}/%{name}-%{version}/build/tizen
695 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
698 pushd %{buildroot}%{_libdir}
699 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
700 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
702 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
709 %if !0%{?disable_cxx03_build}
710 #######################################################################
712 #######################################################################
714 # Set up the build via configure.
715 #######################################################################
716 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
717 # if mobile || "undefined"
718 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
720 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
721 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
722 --enable-tizen-major-version=%{tizen_version_major} \
723 %if 0%{?tizen_version_major} >= 3
726 --enable-cxx03-abi=yes \
727 %if 0%{?tizen_2_2_compatibility}
728 --with-tizen-2-2-compatibility \
735 %if 0%{?enable_web_engine_lite}
736 --enable-web-engine-lite \
738 %if 0%{?enable_debug}
742 $configure_flags --libdir=%{_libdir} \
743 --enable-rename-so=no
746 make %{?jobs:-j%jobs}
748 pushd %{_builddir}/%{name}-%{version}/build/tizen
749 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
752 pushd %{buildroot}%{_libdir}
753 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
754 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
761 #######################################################################
762 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
763 # if tv ||"undefined"
764 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
766 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
767 --enable-shaderbincache=DISABLE --enable-profile=TV \
768 --enable-tizen-major-version=%{tizen_version_major} \
769 %if 0%{?tizen_version_major} >= 3
772 --enable-cxx03-abi=yes \
773 %if 0%{?tizen_2_2_compatibility}
774 --with-tizen-2-2-compatibility \
781 %if 0%{?enable_web_engine_lite}
782 --enable-web-engine-lite \
784 %if 0%{?enable_debug}
788 $configure_flags --libdir=%{_libdir} \
789 --enable-rename-so=no
792 make %{?jobs:-j%jobs}
794 pushd %{_builddir}/%{name}-%{version}/build/tizen
795 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
798 pushd %{buildroot}%{_libdir}
799 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
800 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
806 #######################################################################
807 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
808 # if wearable || "undefined"
809 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
811 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
812 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
813 --enable-tizen-major-version=%{tizen_version_major} \
814 %if 0%{?tizen_version_major} >= 3
817 --enable-cxx03-abi=yes \
818 %if 0%{?tizen_2_2_compatibility}
819 --with-tizen-2-2-compatibility \
826 %if 0%{?enable_web_engine_lite}
827 --enable-web-engine-lite \
829 %if 0%{?enable_debug}
833 $configure_flags --libdir=%{_libdir} \
834 --enable-rename-so=no
837 make %{?jobs:-j%jobs}
839 pushd %{_builddir}/%{name}-%{version}/build/tizen
840 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
843 pushd %{buildroot}%{_libdir}
844 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
845 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
851 #######################################################################
852 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
853 # if ivi ||"undefined"
854 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
856 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
857 --enable-shaderbincache=DISABLE --enable-profile=IVI \
858 --enable-tizen-major-version=%{tizen_version_major} \
859 %if 0%{?tizen_version_major} >= 3
862 --enable-cxx03-abi=yes \
863 %if 0%{?tizen_2_2_compatibility}
864 --with-tizen-2-2-compatibility \
871 %if 0%{?enable_web_engine_lite}
872 --enable-web-engine-lite \
874 %if 0%{?enable_debug}
878 $configure_flags --libdir=%{_libdir} \
879 --enable-rename-so=no
882 make %{?jobs:-j%jobs}
884 pushd %{_builddir}/%{name}-%{version}/build/tizen
885 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
888 pushd %{buildroot}%{_libdir}
889 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
890 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
896 #######################################################################
898 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
899 # if common ||"undefined"
900 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
902 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
903 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
904 --enable-tizen-major-version=%{tizen_version_major} \
905 %if 0%{?tizen_version_major} >= 3
908 --enable-cxx03-abi=yes \
909 %if 0%{?tizen_2_2_compatibility}
910 --with-tizen-2-2-compatibility \
917 %if 0%{?enable_web_engine_lite}
918 --enable-web-engine-lite \
920 %if 0%{?enable_debug}
924 $configure_flags --libdir=%{_libdir} \
925 --enable-rename-so=no
928 make %{?jobs:-j%jobs}
933 ##############################
935 ##############################
939 pushd %{_builddir}/%{name}-%{version}/build/tizen
940 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
943 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
944 # !unified && (wearable || tv || ivi || mobile)
945 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
946 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
949 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
950 # wearable || tv || ivi || mobile || unified
951 %if "%{?profile}" != "common"
952 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
953 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
957 ################################################
959 ###############################################
960 pushd %{buildroot}%{_libdir}
962 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
963 # if common ||"undefined"
964 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
965 rm -rf libdali-adaptor*.so
966 %if !0%{?disable_cxx03_build}
967 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
969 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
972 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
973 # if wearable || "undefined"
974 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
975 rm -rf libdali-adaptor*.so.wearable
976 %if !0%{?disable_cxx03_build}
977 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
979 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
982 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
983 # if tv ||"undefined"
984 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
985 rm -rf libdali-adaptor*.so.tv
986 %if !0%{?disable_cxx03_build}
987 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
989 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
992 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
993 # if ivi ||"undefined"
994 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
995 rm -rf libdali-adaptor*.so.ivi
996 %if !0%{?disable_cxx03_build}
997 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
999 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
1002 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1003 # if mobile || "undefined"
1004 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1005 rm -rf libdali-adaptor*.so.mobile
1006 %if !0%{?disable_cxx03_build}
1007 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
1009 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
1013 ##############################
1015 # 1 - Pre Install new package
1016 # 2 - Install new package
1017 # 3 - Post install new package
1018 # 4 - Pre uninstall old package
1019 # 5 - Remove files not overwritten by new package
1020 # 6 - Post uninstall old package
1021 ##############################
1026 ##############################
1027 # Post Install new package
1028 ##############################
1033 ##############################
1034 # Pre Uninstall old package
1035 ##############################
1039 ##############################
1040 # Post Uninstall old package
1041 ##############################
1046 #%if %{with wayland}
1047 %post dali-web-engine-lite-plugin
1052 ##############################
1054 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1055 # if mobile || "undefined"
1056 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1057 %post profile_mobile
1059 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1064 %postun profile_mobile
1069 ##############################
1071 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1072 # if tv ||"undefined"
1073 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1076 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1086 ##############################
1088 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1089 # if wearable || "undefined"
1090 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1091 %post profile_wearable
1093 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1098 %postun profile_wearable
1103 ##############################
1105 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1106 # if ivi ||"undefined"
1107 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1110 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1120 %if !0%{?disable_cxx03_build}
1121 ##############################
1123 #############################
1124 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1125 # if mobile || "undefined"
1126 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1127 %post profile_mobile-cxx03
1129 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1134 %postun profile_mobile-cxx03
1139 ##############################
1141 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1142 # if tv ||"undefined"
1143 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1144 %post profile_tv-cxx03
1146 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1151 %postun profile_tv-cxx03
1156 ##############################
1158 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1159 # if wearable || "undefined"
1160 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1161 %post profile_wearable-cxx03
1163 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1168 %postun profile_wearable-cxx03
1173 ##############################
1175 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1176 # if ivi ||"undefined"
1177 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1178 %post profile_ivi-cxx03
1180 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1185 %postun profile_ivi-cxx03
1191 ##############################
1192 # Files in Binary Packages
1193 ##############################
1196 %manifest dali-adaptor.manifest
1197 %defattr(-,root,root,-)
1198 %defattr(-,app,app,-)
1199 %dir %{user_shader_cache_dir}
1203 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1204 # if common ||"undefined"
1205 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1206 %defattr(-,root,root,-)
1207 %{_libdir}/libdali-adaptor-cxx11.so.0*
1208 %{_libdir}/libdali-adaptor.so
1209 %exclude %{_libdir}/libdali-adap*.so*.mobile
1210 %exclude %{_libdir}/libdali-adap*.so*.wearable
1211 %exclude %{_libdir}/libdali-adap*.so*.tv
1212 %exclude %{_libdir}/libdali-adap*.so*.ivi
1215 %if !0%{?disable_cxx03_build}
1217 %manifest dali-adaptor.manifest
1218 %defattr(-,root,root,-)
1219 %defattr(-,app,app,-)
1220 %dir %{user_shader_cache_dir}
1223 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1224 # if common ||"undefined"
1225 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1226 %defattr(-,root,root,-)
1227 %{_libdir}/libdali-adaptor.so.0*
1228 %{_libdir}/libdali-adaptor-cxx03.so
1229 %exclude %{_libdir}/libdali-adap*.so*.mobile
1230 %exclude %{_libdir}/libdali-adap*.so*.wearable
1231 %exclude %{_libdir}/libdali-adap*.so*.tv
1232 %exclude %{_libdir}/libdali-adap*.so*.ivi
1235 %if 0%{?tizen_version_major} >= 3
1236 %if 0%{?enable_web_engine_lite}
1237 %files dali-web-engine-lite-plugin-cxx03
1238 %manifest dali-adaptor.manifest
1239 %defattr(-,root,root,-)
1240 %{_libdir}/libdali-web-engine-lite-plugin.so*
1244 %files dali-feedback-plugin-cxx03
1245 %manifest dali-adaptor.manifest
1246 %defattr(-,root,root,-)
1247 %{_libdir}/libdali-feedback-plugin.so*
1248 %{dali_plugin_sound_files}/*
1252 #################################################
1254 %if 0%{?tizen_version_major} >= 3
1255 %if 0%{?enable_web_engine_lite}
1256 %files dali-web-engine-lite-plugin
1257 %manifest dali-adaptor.manifest
1258 %defattr(-,root,root,-)
1259 %{_libdir}/libdali-web-engine-lite-plugin-cxx11.so*
1263 %files dali-feedback-plugin
1264 %manifest dali-adaptor.manifest
1265 %defattr(-,root,root,-)
1266 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1267 %{dali_plugin_sound_files}/*
1270 #################################################
1272 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1273 # if common ||"undefined"
1274 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1275 %files profile_common
1276 # default .so files are housed in the main pkg.
1279 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1280 # if mobile || "undefined"
1281 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1282 %files profile_mobile
1283 %manifest dali-adaptor.manifest
1284 %defattr(-,root,root,-)
1285 %{_libdir}/libdali-adaptor.so.mobile
1286 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1289 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1290 # if tv ||"undefined"
1291 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1293 %manifest dali-adaptor.manifest
1294 %defattr(-,root,root,-)
1295 %{_libdir}/libdali-adaptor.so.tv
1296 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1299 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1300 # if wearable || "undefined"
1301 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1302 %files profile_wearable
1303 %manifest dali-adaptor.manifest
1304 %defattr(-,root,root,-)
1305 %{_libdir}/libdali-adaptor.so.wearable
1306 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1309 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1310 # if ivi ||"undefined"
1311 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1313 %manifest dali-adaptor.manifest
1314 %defattr(-,root,root,-)
1315 %{_libdir}/libdali-adaptor.so.ivi
1316 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1321 %defattr(-,root,root,-)
1322 %{dev_include_path}/dali/dali.h
1323 %{dev_include_path}/dali/public-api/*
1324 %{dev_include_path}/dali/devel-api/*
1325 %{dev_include_path}/dali/doc/*
1326 %{_libdir}/pkgconfig/dali-adaptor.pc
1328 %files integration-devel
1329 %defattr(-,root,root,-)
1330 %{dev_include_path}/dali/integration-api/adaptors/*
1331 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1333 %if !0%{?disable_cxx03_build}
1334 ################################################
1336 ################################################
1338 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1339 # if common ||"undefined"
1340 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1341 %files profile_common-cxx03
1342 # default .so files are housed in the main pkg.
1345 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1346 # if mobile || "undefined"
1347 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1348 %files profile_mobile-cxx03
1349 %manifest dali-adaptor.manifest
1350 %defattr(-,root,root,-)
1351 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1352 %{_libdir}/libdali-adaptor.so.0*mobile
1355 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1356 # if tv ||"undefined"
1357 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1358 %files profile_tv-cxx03
1359 %manifest dali-adaptor.manifest
1360 %defattr(-,root,root,-)
1361 %{_libdir}/libdali-adaptor-cxx03.so.tv
1362 %{_libdir}/libdali-adaptor.so.0*.tv
1365 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1366 # if wearable || "undefined"
1367 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1368 %files profile_wearable-cxx03
1369 %manifest dali-adaptor.manifest
1370 %defattr(-,root,root,-)
1371 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1372 %{_libdir}/libdali-adaptor.so.0*.wearable
1375 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1376 # if ivi ||"undefined"
1377 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1378 %files profile_ivi-cxx03
1379 %manifest dali-adaptor.manifest
1380 %defattr(-,root,root,-)
1381 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1382 %{_libdir}/libdali-adaptor.so.0*.ivi
1387 %defattr(-,root,root,-)
1388 %{dev_include_path}/dali/dali.h
1389 %{dev_include_path}/dali/public-api/*
1390 %{dev_include_path}/dali/devel-api/*
1391 %{dev_include_path}/dali/doc/*
1392 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1394 %files integration-devel-cxx03
1395 %defattr(-,root,root,-)
1396 %{dev_include_path}/dali/integration-api/adaptors/*
1397 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc