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 BuildRequires: pkgconfig(evas)
120 %if 0%{?tizen_version_major} == 3
121 BuildRequires: pkgconfig(capi-appfw-application)
122 BuildRequires: pkgconfig(elementary)
124 BuildRequires: pkgconfig(bundle)
125 BuildRequires: pkgconfig(appcore-ui)
126 BuildRequires: pkgconfig(appcore-multiwindow)
127 BuildRequires: pkgconfig(capi-appfw-app-common)
128 BuildRequires: pkgconfig(capi-appfw-app-control)
129 BuildRequires: pkgconfig(screen_connector_provider)
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 videoplayer Plugin
142 BuildRequires: pkgconfig(capi-media-player)
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 VideoPlayer Plugin
377 ##############################
380 %package dali-video-player-plugin
381 Summary: Plugin to play a video file for Dali
382 Group: System/Libraries
383 %description dali-video-player-plugin
384 VideoPlayer plugin to play a video file 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 VideoPlayer Plugin
401 ##############################
404 %package dali-video-player-plugin-cxx03
405 Summary: Plugin to play a video file for Dali with cxx03 abi
406 Group: System/Libraries
407 %description dali-video-player-plugin-cxx03
408 VideoPlayer plugin to play a video file for Dali
412 ##############################
414 ##############################
418 #Use TZ_PATH when tizen version is 3.x or greater
420 %if 0%{?tizen_version_major} >= 3
421 %define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
422 %define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
423 %define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
424 %define font_downloaded_path %TZ_SYS_SHARE/fonts/
425 %define font_application_path %TZ_SYS_RO_SHARE/app_fonts/
426 %define font_configuration_file %TZ_SYS_ETC/fonts/conf.avail/99-slp.conf
428 %define dali_data_rw_dir /usr/share/dali/
429 %define dali_data_ro_dir /usr/share/dali/
430 %define font_preloaded_path /usr/share/fonts/
431 %define font_downloaded_path /opt/share/fonts/
432 %define font_application_path /usr/share/app_fonts/
433 %define font_configuration_file /opt/etc/fonts/conf.avail/99-slp.conf
436 %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/
437 %define dali_plugin_sound_files /plugins/sounds/
438 %define dev_include_path %{_includedir}
440 ##############################
442 ##############################
445 CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections -DGL_GLEXT_PROTOTYPES"
446 LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
449 CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
454 CXXFLAGS+=" -DWAYLAND"
455 configure_flags="--enable-wayland"
458 # Use this conditional when Tizen version is 4.x or greater
459 %if 0%{?tizen_version_major} >= 4
460 CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
463 %if 0%{?tizen_2_2_compatibility}
464 CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
465 CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
469 cd %{_builddir}/%{name}-%{version}/build/tizen
472 DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
473 DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
474 FONT_PRELOADED_PATH="%{font_preloaded_path}" ; export FONT_PRELOADED_PATH
475 FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH
476 FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
477 FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
478 %if 0%{?tizen_platform_config_supported}
479 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
482 # Default to GLES 2.0 if not specified.
483 %if 0%{?target_gles_version} == 0
484 %define target_gles_version 20
487 # Set up the build via configure.
488 #######################################################################
489 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
490 # if mobile || "undefined"
491 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
492 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
493 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
494 --enable-tizen-major-version=%{tizen_version_major} \
495 %if 0%{?tizen_version_major} >= 3
498 --enable-videoplayer \
499 %if 0%{?tizen_2_2_compatibility}
500 --with-tizen-2-2-compatibility \
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 --enable-videoplayer \
542 %if 0%{?tizen_2_2_compatibility}
543 --with-tizen-2-2-compatibility \
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 --enable-videoplayer \
584 %if 0%{?tizen_2_2_compatibility}
585 --with-tizen-2-2-compatibility \
592 %if 0%{?enable_debug}
596 $configure_flags --libdir=%{_libdir} \
597 --enable-rename-so=no
600 make %{?jobs:-j%jobs}
602 pushd %{_builddir}/%{name}-%{version}/build/tizen
603 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
606 pushd %{buildroot}%{_libdir}
607 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
608 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
609 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
615 #######################################################################
616 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
617 # if ivi ||"undefined"
618 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
619 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
620 --enable-shaderbincache=DISABLE --enable-profile=IVI \
621 --enable-tizen-major-version=%{tizen_version_major} \
622 %if 0%{?tizen_version_major} >= 3
625 --enable-videoplayer \
626 %if 0%{?tizen_2_2_compatibility}
627 --with-tizen-2-2-compatibility \
634 %if 0%{?enable_debug}
638 $configure_flags --libdir=%{_libdir} \
639 --enable-rename-so=no
642 make %{?jobs:-j%jobs}
644 pushd %{_builddir}/%{name}-%{version}/build/tizen
645 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
648 pushd %{buildroot}%{_libdir}
649 for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
650 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
652 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
658 #######################################################################
659 # common ( build dali_videoplayer_plugin for common uses )
660 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
661 # if common ||"undefined"
662 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
663 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
664 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
665 --enable-tizen-major-version=%{tizen_version_major} \
666 %if 0%{?tizen_version_major} >= 3
669 --enable-videoplayer \
670 %if 0%{?tizen_2_2_compatibility}
671 --with-tizen-2-2-compatibility \
678 %if 0%{?enable_debug}
682 $configure_flags --libdir=%{_libdir} \
683 --enable-rename-so=no
686 make %{?jobs:-j%jobs}
688 pushd %{_builddir}/%{name}-%{version}/build/tizen
689 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
692 pushd %{buildroot}%{_libdir}
693 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
694 for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
696 mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/
703 %if !0%{?disable_cxx03_build}
704 #######################################################################
706 #######################################################################
708 # Set up the build via configure.
709 #######################################################################
710 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
711 # if mobile || "undefined"
712 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
714 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
715 --enable-shaderbincache=DISABLE --enable-profile=MOBILE \
716 --enable-tizen-major-version=%{tizen_version_major} \
717 %if 0%{?tizen_version_major} >= 3
720 --enable-videoplayer \
721 --enable-cxx03-abi=yes \
722 %if 0%{?tizen_2_2_compatibility}
723 --with-tizen-2-2-compatibility \
730 %if 0%{?enable_debug}
734 $configure_flags --libdir=%{_libdir} \
735 --enable-rename-so=no
738 make %{?jobs:-j%jobs}
740 pushd %{_builddir}/%{name}-%{version}/build/tizen
741 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
744 pushd %{buildroot}%{_libdir}
745 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
746 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
753 #######################################################################
754 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
755 # if tv ||"undefined"
756 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
758 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
759 --enable-shaderbincache=DISABLE --enable-profile=TV \
760 --enable-tizen-major-version=%{tizen_version_major} \
761 %if 0%{?tizen_version_major} >= 3
764 --enable-videoplayer \
765 --enable-cxx03-abi=yes \
766 %if 0%{?tizen_2_2_compatibility}
767 --with-tizen-2-2-compatibility \
774 %if 0%{?enable_debug}
778 $configure_flags --libdir=%{_libdir} \
779 --enable-rename-so=no
782 make %{?jobs:-j%jobs}
784 pushd %{_builddir}/%{name}-%{version}/build/tizen
785 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
788 pushd %{buildroot}%{_libdir}
789 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
790 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
796 #######################################################################
797 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
798 # if wearable || "undefined"
799 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
801 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
802 --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
803 --enable-tizen-major-version=%{tizen_version_major} \
804 %if 0%{?tizen_version_major} >= 3
807 --enable-videoplayer \
808 --enable-cxx03-abi=yes \
809 %if 0%{?tizen_2_2_compatibility}
810 --with-tizen-2-2-compatibility \
817 %if 0%{?enable_debug}
821 $configure_flags --libdir=%{_libdir} \
822 --enable-rename-so=no
825 make %{?jobs:-j%jobs}
827 pushd %{_builddir}/%{name}-%{version}/build/tizen
828 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
831 pushd %{buildroot}%{_libdir}
832 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
833 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
839 #######################################################################
840 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
841 # if ivi ||"undefined"
842 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
844 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
845 --enable-shaderbincache=DISABLE --enable-profile=IVI \
846 --enable-tizen-major-version=%{tizen_version_major} \
847 %if 0%{?tizen_version_major} >= 3
850 --enable-videoplayer \
851 --enable-cxx03-abi=yes \
852 %if 0%{?tizen_2_2_compatibility}
853 --with-tizen-2-2-compatibility \
860 %if 0%{?enable_debug}
864 $configure_flags --libdir=%{_libdir} \
865 --enable-rename-so=no
868 make %{?jobs:-j%jobs}
870 pushd %{_builddir}/%{name}-%{version}/build/tizen
871 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
874 pushd %{buildroot}%{_libdir}
875 for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
876 for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done
882 #######################################################################
883 # common ( build dali_videoplayer_plugin for common uses )
884 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
885 # if common ||"undefined"
886 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
888 %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
889 --enable-shaderbincache=DISABLE --enable-profile=COMMON \
890 --enable-tizen-major-version=%{tizen_version_major} \
891 %if 0%{?tizen_version_major} >= 3
894 --enable-videoplayer \
895 --enable-cxx03-abi=yes \
896 %if 0%{?tizen_2_2_compatibility}
897 --with-tizen-2-2-compatibility \
904 %if 0%{?enable_debug}
908 $configure_flags --libdir=%{_libdir} \
909 --enable-rename-so=no
912 make %{?jobs:-j%jobs}
917 ##############################
919 ##############################
923 pushd %{_builddir}/%{name}-%{version}/build/tizen
924 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
927 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
928 # !unified && (wearable || tv || ivi || mobile)
929 %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile"
930 rm -rf %{buildroot}%{_libdir}/libdali-adap*.so*
933 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
934 # wearable || tv || ivi || mobile || unified
935 %if "%{?profile}" != "common"
936 for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
937 mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/
941 ################################################
943 ###############################################
944 pushd %{buildroot}%{_libdir}
946 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
947 # if common ||"undefined"
948 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
949 rm -rf libdali-adaptor*.so
950 %if !0%{?disable_cxx03_build}
951 ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so
953 ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so
956 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
957 # if wearable || "undefined"
958 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
959 rm -rf libdali-adaptor*.so.wearable
960 %if !0%{?disable_cxx03_build}
961 ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable
963 ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable
966 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
967 # if tv ||"undefined"
968 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
969 rm -rf libdali-adaptor*.so.tv
970 %if !0%{?disable_cxx03_build}
971 ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv
973 ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv
976 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
977 # if ivi ||"undefined"
978 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
979 rm -rf libdali-adaptor*.so.ivi
980 %if !0%{?disable_cxx03_build}
981 ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi
983 ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi
986 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
987 # if mobile || "undefined"
988 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
989 rm -rf libdali-adaptor*.so.mobile
990 %if !0%{?disable_cxx03_build}
991 ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile
993 ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile
997 ##############################
999 # 1 - Pre Install new package
1000 # 2 - Install new package
1001 # 3 - Post install new package
1002 # 4 - Pre uninstall old package
1003 # 5 - Remove files not overwritten by new package
1004 # 6 - Post uninstall old package
1005 ##############################
1010 ##############################
1011 # Post Install new package
1012 ##############################
1017 ##############################
1018 # Pre Uninstall old package
1019 ##############################
1023 ##############################
1024 # Post Uninstall old package
1025 ##############################
1031 %post dali-video-player-plugin
1037 %postun dali-video-player-plugin
1043 ##############################
1045 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1046 # if mobile || "undefined"
1047 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1048 %post profile_mobile
1050 for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1055 %postun profile_mobile
1060 ##############################
1062 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1063 # if tv ||"undefined"
1064 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1067 for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1077 ##############################
1079 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1080 # if wearable || "undefined"
1081 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1082 %post profile_wearable
1084 for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1089 %postun profile_wearable
1094 ##############################
1096 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1097 # if ivi ||"undefined"
1098 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1101 for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1111 %if !0%{?disable_cxx03_build}
1112 ##############################
1114 #############################
1115 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1116 # if mobile || "undefined"
1117 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1118 %post profile_mobile-cxx03
1120 for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done
1125 %postun profile_mobile-cxx03
1130 ##############################
1132 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1133 # if tv ||"undefined"
1134 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1135 %post profile_tv-cxx03
1137 for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done
1142 %postun profile_tv-cxx03
1147 ##############################
1149 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1150 # if wearable || "undefined"
1151 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1152 %post profile_wearable-cxx03
1154 for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done
1159 %postun profile_wearable-cxx03
1164 ##############################
1166 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1167 # if ivi ||"undefined"
1168 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1169 %post profile_ivi-cxx03
1171 for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done
1176 %postun profile_ivi-cxx03
1182 ##############################
1183 # Files in Binary Packages
1184 ##############################
1187 %manifest dali-adaptor.manifest
1188 %defattr(-,root,root,-)
1189 %defattr(-,app,app,-)
1190 %dir %{user_shader_cache_dir}
1194 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1195 # if common ||"undefined"
1196 #%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1197 %defattr(-,root,root,-)
1198 %{_libdir}/libdali-adaptor-cxx11.so.0*
1199 %{_libdir}/libdali-adaptor.so
1200 %exclude %{_libdir}/libdali-adap*.so*.mobile
1201 %exclude %{_libdir}/libdali-adap*.so*.wearable
1202 %exclude %{_libdir}/libdali-adap*.so*.tv
1203 %exclude %{_libdir}/libdali-adap*.so*.ivi
1206 %if !0%{?disable_cxx03_build}
1208 %manifest dali-adaptor.manifest
1209 %defattr(-,root,root,-)
1210 %defattr(-,app,app,-)
1211 %dir %{user_shader_cache_dir}
1214 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1215 # if common ||"undefined"
1216 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1217 %defattr(-,root,root,-)
1218 %{_libdir}/libdali-adaptor.so.0*
1219 %{_libdir}/libdali-adaptor-cxx03.so
1220 %exclude %{_libdir}/libdali-adap*.so*.mobile
1221 %exclude %{_libdir}/libdali-adap*.so*.wearable
1222 %exclude %{_libdir}/libdali-adap*.so*.tv
1223 %exclude %{_libdir}/libdali-adap*.so*.ivi
1227 %files dali-video-player-plugin-cxx03
1228 %manifest dali-adaptor.manifest
1229 %defattr(-,root,root,-)
1230 %{_libdir}/libdali-video-player-plugin.so*
1234 %if 0%{?tizen_version_major} >= 3
1235 %files dali-feedback-plugin-cxx03
1236 %manifest dali-adaptor.manifest
1237 %defattr(-,root,root,-)
1238 %{_libdir}/libdali-feedback-plugin.so*
1239 %{dali_plugin_sound_files}/*
1243 #################################################
1246 %files dali-video-player-plugin
1247 %manifest dali-adaptor.manifest
1248 %defattr(-,root,root,-)
1249 %{_libdir}/libdali-video-player-plugin-cxx11.so*
1253 %if 0%{?tizen_version_major} >= 3
1254 %files dali-feedback-plugin
1255 %manifest dali-adaptor.manifest
1256 %defattr(-,root,root,-)
1257 %{_libdir}/libdali-feedback-plugin-cxx11.so*
1258 %{dali_plugin_sound_files}/*
1261 #################################################
1263 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1264 # if common ||"undefined"
1265 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1266 %files profile_common
1267 # default .so files are housed in the main pkg.
1270 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1271 # if mobile || "undefined"
1272 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1273 %files profile_mobile
1274 %manifest dali-adaptor.manifest
1275 %defattr(-,root,root,-)
1276 %{_libdir}/libdali-adaptor.so.mobile
1277 %{_libdir}/libdali-adaptor-cxx11.so.0*.mobile
1280 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1281 # if tv ||"undefined"
1282 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1284 %manifest dali-adaptor.manifest
1285 %defattr(-,root,root,-)
1286 %{_libdir}/libdali-adaptor.so.tv
1287 %{_libdir}/libdali-adaptor-cxx11.so.0*.tv
1290 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1291 # if wearable || "undefined"
1292 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1293 %files profile_wearable
1294 %manifest dali-adaptor.manifest
1295 %defattr(-,root,root,-)
1296 %{_libdir}/libdali-adaptor.so.wearable
1297 %{_libdir}/libdali-adaptor-cxx11.so.0*.wearable
1300 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1301 # if ivi ||"undefined"
1302 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1304 %manifest dali-adaptor.manifest
1305 %defattr(-,root,root,-)
1306 %{_libdir}/libdali-adaptor.so.ivi
1307 %{_libdir}/libdali-adaptor-cxx11.so.0*.ivi
1312 %defattr(-,root,root,-)
1313 %{dev_include_path}/dali/dali.h
1314 %{dev_include_path}/dali/public-api/*
1315 %{dev_include_path}/dali/devel-api/*
1316 %{dev_include_path}/dali/doc/*
1317 %{_libdir}/pkgconfig/dali-adaptor.pc
1319 %files integration-devel
1320 %defattr(-,root,root,-)
1321 %{dev_include_path}/dali/integration-api/adaptors/*
1322 %{_libdir}/pkgconfig/dali-adaptor-integration.pc
1324 %if !0%{?disable_cxx03_build}
1325 ################################################
1327 ################################################
1329 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1330 # if common ||"undefined"
1331 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1332 %files profile_common-cxx03
1333 # default .so files are housed in the main pkg.
1336 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1337 # if mobile || "undefined"
1338 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1339 %files profile_mobile-cxx03
1340 %manifest dali-adaptor.manifest
1341 %defattr(-,root,root,-)
1342 %{_libdir}/libdali-adaptor-cxx03.so.mobile
1343 %{_libdir}/libdali-adaptor.so.0*mobile
1346 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1347 # if tv ||"undefined"
1348 %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
1349 %files profile_tv-cxx03
1350 %manifest dali-adaptor.manifest
1351 %defattr(-,root,root,-)
1352 %{_libdir}/libdali-adaptor-cxx03.so.tv
1353 %{_libdir}/libdali-adaptor.so.0*.tv
1356 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1357 # if wearable || "undefined"
1358 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
1359 %files profile_wearable-cxx03
1360 %manifest dali-adaptor.manifest
1361 %defattr(-,root,root,-)
1362 %{_libdir}/libdali-adaptor-cxx03.so.wearable
1363 %{_libdir}/libdali-adaptor.so.0*.wearable
1366 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
1367 # if ivi ||"undefined"
1368 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
1369 %files profile_ivi-cxx03
1370 %manifest dali-adaptor.manifest
1371 %defattr(-,root,root,-)
1372 %{_libdir}/libdali-adaptor-cxx03.so.ivi
1373 %{_libdir}/libdali-adaptor.so.0*.ivi
1378 %defattr(-,root,root,-)
1379 %{dev_include_path}/dali/dali.h
1380 %{dev_include_path}/dali/public-api/*
1381 %{dev_include_path}/dali/devel-api/*
1382 %{dev_include_path}/dali/doc/*
1383 %{_libdir}/pkgconfig/dali-adaptor-cxx03.pc
1385 %files integration-devel-cxx03
1386 %defattr(-,root,root,-)
1387 %{dev_include_path}/dali/integration-api/adaptors/*
1388 %{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc