X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-adaptor.spec;h=6744227fd29741d7307b3311449cbc90b675955d;hb=8c53bf7b84836a546cf5a624bbc1be100da9982d;hp=b65cf09168721d03cc367c516f5f2e5ac34db45a;hpb=09fb734a941cd5a0dbf8e5dc6c5eb6c7b90df951;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index b65cf09..6744227 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -19,7 +19,7 @@ Name: dali-adaptor Summary: The DALi Tizen Adaptor -Version: 1.2.38 +Version: 1.2.39 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-3-Clause and MIT @@ -49,19 +49,20 @@ BuildRequires: pkgconfig(libtzplatform-config) %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" BuildRequires: pkgconfig(capi-appfw-watch-application) BuildRequires: pkgconfig(appcore-watch) +BuildRequires: pkgconfig(screen_connector_provider) %endif BuildRequires: pkgconfig(gles20) BuildRequires: pkgconfig(glesv2) - +BuildRequires: dali-devel-cxx03 +BuildRequires: dali-integration-devel-cxx03 +BuildRequires: dali-devel +BuildRequires: dali-integration-devel BuildRequires: pkgconfig BuildRequires: gawk -BuildRequires: pkgconfig(screen_connector_provider) BuildRequires: giflib-devel BuildRequires: pkgconfig(fontconfig) BuildRequires: libjpeg-turbo-devel -BuildRequires: dali-devel -BuildRequires: dali-integration-devel BuildRequires: pkgconfig(vconf) BuildRequires: tts-devel BuildRequires: pkgconfig(dlog) @@ -98,8 +99,9 @@ BuildRequires: pkgconfig(ecore-wayland) BuildRequires: pkgconfig(libtbm) # tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0 +#BuildRequires: pkgconfig(tpkp-curl) +BuildRequires: pkgconfig(tpkp-curl-cxx03) BuildRequires: pkgconfig(tpkp-curl) - ####### BUILDING FOR X11####### %else BuildRequires: pkgconfig(egl) @@ -118,8 +120,7 @@ BuildRequires: pkgconfig(capi-system-system-settings) # for feedback plugin BuildRequires: pkgconfig(mm-sound) -BuildRequires: pkgconfig(deviced) -BuildRequires: libfeedback-devel +BuildRequires: pkgconfig(feedback) # for videoplayer Plugin BuildRequires: pkgconfig(capi-media-player) @@ -133,6 +134,14 @@ Recommends: %{name}-profile_common = %{version}-%{release} The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core platform abstraction and application shell +%package cxx03 +Summary: The DALi Tizen Adaptor DALi Tizen Adaptor with cxx03 abi +Provides: %{name}-cxx03 = %{version}-%{release} + +%description cxx03 +The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core +platform abstraction and application shell + ########################################### # Dali adapter for profiles ########################################### @@ -141,7 +150,6 @@ platform abstraction and application shell # if mobile || "undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %package profile_mobile -%define dali_feedback_plugin_mobile 0 Summary: The DALi Tizen Adaptor for mobile Provides: %{name}-compat = %{version}-%{release} Conflicts: %{name}-profile_tv @@ -156,7 +164,6 @@ The DALi Tizen Adaptor for mobile. # if tv ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" %package profile_tv -%define dali_feedback_plugin_tv 0 Summary: The DALi Tizen Adaptor for tv Provides: %{name}-compat = %{version}-%{release} Conflicts: %{name}-profile_mobile @@ -171,7 +178,6 @@ The DALi Tizen Adaptor for tv. # if wearable || "undefined" %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %package profile_wearable -%define dali_feedback_plugin_wearable 0 Summary: The DALi Tizen Adaptor for wearable Provides: %{name}-compat = %{version}-%{release} Conflicts: %{name}-profile_mobile @@ -186,7 +192,6 @@ The DALi Tizen Adaptor for wearable. # if ivi ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" %package profile_ivi -%define dali_feedback_plugin_ivi 0 Summary: The DALi Tizen Adaptor for ivi Provides: %{name}-compat = %{version}-%{release} Conflicts: %{name}-profile_mobile @@ -202,7 +207,6 @@ The DALi Tizen Adaptor for ivi. %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" # Currently Tizen Common we use does not have wayland extensions like xdg-shell %package profile_common -%define dali_feedback_plugin_common 0 %define tizen_2_2_compatibility 0 Summary: The DALi Tizen Adaptor for common Provides: %{name}-compat = %{version}-%{release} @@ -214,6 +218,85 @@ Conflicts: %{name}-profile_ivi The DALi Tizen Adaptor for common. %endif + +########################################### +# Dali adapter for profiles for cxx03 ABI +########################################### + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if mobile || "undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%package profile_mobile-cxx03 +Summary: The DALi Tizen Adaptor for mobile +Provides: %{name}-cxx03-compat = %{version}-%{release} +Conflicts: %{name}-profile_tv-cxx03 +Conflicts: %{name}-profile_wearable-cxx03 +Conflicts: %{name}-profile_ivi-cxx03 +Conflicts: %{name}-profile_common-cxx03 +%description profile_mobile-cxx03 +The DALi Tizen Adaptor for mobile. +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if tv ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +%package profile_tv-cxx03 +Summary: The DALi Tizen Adaptor for tv +Provides: %{name}-cxx03-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile-cxx03 +Conflicts: %{name}-profile_wearable-cxx03 +Conflicts: %{name}-profile_ivi-cxx03 +Conflicts: %{name}-profile_common-cxx03 +%description profile_tv-cxx03 +The DALi Tizen Adaptor for tv. +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if wearable || "undefined" +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%package profile_wearable-cxx03 +Summary: The DALi Tizen Adaptor for wearable +Provides: %{name}-cxx03-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile-cxx03 +Conflicts: %{name}-profile_tv-cxx03 +Conflicts: %{name}-profile_ivi-cxx03 +Conflicts: %{name}-profile_common-cxx03 +%description profile_wearable-cxx03 +The DALi Tizen Adaptor for wearable. +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if ivi ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" +%package profile_ivi-cxx03 +Summary: The DALi Tizen Adaptor for ivi +Provides: %{name}-cxx03-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile-cxx03 +Conflicts: %{name}-profile_wearable-cxx03 +Conflicts: %{name}-profile_tv-cxx03 +Conflicts: %{name}-profile_common-cxx03 +%description profile_ivi-cxx03 +The DALi Tizen Adaptor for ivi. +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if common ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +# Currently Tizen Common we use does not have wayland extensions like xdg-shell +%package profile_common-cxx03 +%define tizen_2_2_compatibility 0 +Summary: The DALi Tizen Adaptor for common +Provides: %{name}-cxx03-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile-cxx03 +Conflicts: %{name}-profile_wearable-cxx03 +Conflicts: %{name}-profile_tv-cxx03 +Conflicts: %{name}-profile_ivi-cxx03 +%description profile_common-cxx03 +The DALi Tizen Adaptor for common. +%endif + + + ############################## # devel ############################## @@ -237,6 +320,31 @@ Requires: %{name} = %{version}-%{release} %description integration-devel Integration development package for the Adaptor - headers for integrating with an adaptor library. + +############################## +# devel cxx03 +############################## +%package devel-cxx03 +Summary: Development components for the DALi Tizen Adaptor +Group: Development/Building +Requires: %{name}-cxx03 = %{version}-%{release} +Requires: %{name}-integration-devel-cxx03 = %{version}-%{release} + +%description devel-cxx03 +Development components for the DALi Tizen Adaptor - public headers and package configs + +############################## +# integration-devel cxx03 +############################## +%package integration-devel-cxx03 +Summary: Integration development package for the Adaptor +Group: Development/Building +Requires: %{name}-cxx03 = %{version}-%{release} + +%description integration-devel-cxx03 +Integration development package for the Adaptor - headers for integrating with an adaptor library. + + ############################## # Dali Feedback Plugin ############################## @@ -245,108 +353,45 @@ Integration development package for the Adaptor - headers for integrating with a Summary: Plugin to play haptic and audio feedback for Dali Group: System/Libraries Requires: %{name} = %{version}-%{release} -Requires: %{name}-dali-feedback-plugin-compat = %{version}-%{release} -Recommends: %{name}-dali-feedback-plugin-profile_common = %{version}-%{release} %description dali-feedback-plugin eedback plugin to play haptic and audio feedback for Dali -# This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if mobile || "undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" -%package dali-feedback-plugin-profile_mobile -Summary: Plugin to play haptic and audio feedback for Dali profile mobile. -Group: System/Libraries -%if 0%{?dali_feedback_plugin_mobile} -Provides: %{name}-dali-feedback-plugin-compat = %{version}-%{release} -Conflicts: %{name}-dali-feedback-plugin-profile_ivi -Conflicts: %{name}-dali-feedback-plugin-profile_wearable -Conflicts: %{name}-dali-feedback-plugin-profile_tv -Conflicts: %{name}-dali-feedback-plugin-profile_common -%endif -%description dali-feedback-plugin-profile_mobile -Feedback plugin to play haptic and audio feedback for Dali profile mobile. -%endif - -# This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if tv ||"undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" -%package dali-feedback-plugin-profile_tv -Summary: Plugin to play haptic and audio feedback for Dali profile tv. -Group: System/Libraries -%if 0%{?dali_feedback_plugin_tv} -Provides: %{name}-dali-feedback-plugin-compat = %{version}-%{release} -Conflicts: %{name}-dali-feedback-plugin-profile_ivi -Conflicts: %{name}-dali-feedback-plugin-profile_wearable -Conflicts: %{name}-dali-feedback-plugin-profile_mobile -Conflicts: %{name}-dali-feedback-plugin-profile_common -%endif -%description dali-feedback-plugin-profile_tv -Feedback plugin to play haptic and audio feedback for Dali profile tv. -%endif +############################## +# Dali VideoPlayer Plugin +############################## +%if %{with wayland} -# This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if wearable || "undefined" -%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" -%package dali-feedback-plugin-profile_wearable -Summary: Plugin to play haptic and audio feedback for Dali profile wearable. +%package dali-video-player-plugin +Summary: Plugin to play a video file for Dali Group: System/Libraries -%if 0%{?dali_feedback_plugin_wearable} -Provides: %{name}-dali-feedback-plugin-compat = %{version}-%{release} -Conflicts: %{name}-dali-feedback-plugin-profile_ivi -Conflicts: %{name}-dali-feedback-plugin-profile_tv -Conflicts: %{name}-dali-feedback-plugin-profile_mobile -Conflicts: %{name}-dali-feedback-plugin-profile_common -%endif -%description dali-feedback-plugin-profile_wearable -Feedback plugin to play haptic and audio feedback for Dali profile wearable. +%description dali-video-player-plugin +VideoPlayer plugin to play a video file for Dali %endif -# This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if ivi ||"undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" -%package dali-feedback-plugin-profile_ivi -Summary: Plugin to play haptic and audio feedback for Dali profile ivi. -Group: System/Libraries -%if 0%{?dali_feedback_plugin_ivi} -Provides: %{name}-dali-feedback-plugin-compat = %{version}-%{release} -Conflicts: %{name}-dali-feedback-plugin-profile_wearable -Conflicts: %{name}-dali-feedback-plugin-profile_tv -Conflicts: %{name}-dali-feedback-plugin-profile_mobile -Conflicts: %{name}-dali-feedback-plugin-profile_common -%endif -%description dali-feedback-plugin-profile_ivi -Feedback plugin to play haptic and audio feedback for Dali profile ivi. -%endif +############################## +# Dali Feedback Plugin cxx03 +############################## -# This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if common ||"undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" -%package dali-feedback-plugin-profile_common -Summary: Plugin to play haptic and audio feedback for Dali profile common. +%package dali-feedback-plugin-cxx03 +Summary: Plugin to play haptic and audio feedback for Dali Group: System/Libraries -%if 0%{?dali_feedback_plugin_common} -Provides: %{name}-dali-feedback-plugin-compat = %{version}-%{release} -Conflicts: %{name}-dali-feedback-plugin-profile_wearable -Conflicts: %{name}-dali-feedback-plugin-profile_tv -Conflicts: %{name}-dali-feedback-plugin-profile_mobile -Conflicts: %{name}-dali-feedback-plugin-profile_ivi -%endif -%description dali-feedback-plugin-profile_common -Feedback plugin to play haptic and audio feedback for Dali profile common. -%endif +Requires: %{name}-cxx03 = %{version}-%{release} +%description dali-feedback-plugin-cxx03 +eedback plugin to play haptic and audio feedback for Dali ############################## # Dali VideoPlayer Plugin ############################## %if %{with wayland} -%package dali-video-player-plugin +%package dali-video-player-plugin-cxx03 Summary: Plugin to play a video file for Dali Group: System/Libraries -%description dali-video-player-plugin +%description dali-video-player-plugin-cxx03 VideoPlayer plugin to play a video file for Dali %endif + ############################## # Preparation ############################## @@ -372,7 +417,7 @@ VideoPlayer plugin to play a video file for Dali %endif %define user_shader_cache_dir %{dali_data_ro_dir}/core/shaderbin/ -%define dali_plugin_sound_files %{dali_data_ro_dir}/plugins/sounds/ +%define dali_plugin_sound_files /plugins/sounds/ %define dev_include_path %{_includedir} ############################## @@ -413,7 +458,7 @@ TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TI %endif # Default to GLES 2.0 if not specified. -%{!?target_gles_version: %define target_gles_version 20} +%define target_gles_version 20 #--enable-efl=no \ # only affects dali-adaptor-uv #--enable-appfw=yes \ # affects both dali-adaptor & dali-adaptor-uv @@ -424,15 +469,14 @@ TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TI # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if mobile || "undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" + %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=MOBILE \ -%if 0%{?dali_feedback_plugin_mobile} --enable-feedback \ -%endif + --enable-videoplayer \ %if 0%{?tizen_2_2_compatibility} --with-tizen-2-2-compatibility \ %endif - --enable-videoplayer \ %if %{with wayland} --enable-efl=no \ %else @@ -454,26 +498,26 @@ popd pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done -%if 0%{?dali_feedback_plugin_mobile} -for FILE in libdali-feedback-plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done -%endif +for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/ popd +make clean + %endif ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if tv ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" + %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ - --enable-shaderbincache=ENABLE --enable-profile=TV \ -%if 0%{?dali_feedback_plugin_tv} + --enable-shaderbincache=DISABLE --enable-profile=TV \ --enable-feedback \ -%endif + --enable-videoplayer \ %if 0%{?tizen_2_2_compatibility} --with-tizen-2-2-compatibility \ %endif - --enable-videoplayer \ %if %{with wayland} --enable-efl=no \ %else @@ -495,22 +539,21 @@ popd pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done -%if 0%{?dali_feedback_plugin_tv} -for FILE in libdali-feedback-plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done -%endif +for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/ popd +make clean %endif ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if wearable || "undefined" %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" + %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \ -%if 0%{?dali_feedback_plugin_wearable} --enable-feedback \ -%endif --enable-videoplayer \ %if 0%{?tizen_2_2_compatibility} --with-tizen-2-2-compatibility \ @@ -536,26 +579,115 @@ popd pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done -%if 0%{?dali_feedback_plugin_wearable} -for FILE in libdali-feedback-plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done -%endif +for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/ popd +make clean %endif ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if ivi ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" + %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=IVI \ -%if 0%{?dali_feedback_plugin_ivi} --enable-feedback \ + --enable-videoplayer \ +%if 0%{?tizen_2_2_compatibility} + --with-tizen-2-2-compatibility \ +%endif +%if %{with wayland} + --enable-efl=no \ +%else + --enable-efl=yes \ %endif +%if 0%{?enable_debug} + --enable-debug \ +%endif + --enable-appfw=yes \ + --with-libuv=/usr/include/node/ \ + $configure_flags --libdir=%{_libdir} + +# Build. +make %{?jobs:-j%jobs} + +pushd %{_builddir}/%{name}-%{version}/build/tizen +%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}" +popd + +pushd %{buildroot}%{_libdir} +for FILE in libdali-adaptor*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done +for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done + +mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/ +popd + +make clean +%endif + +####################################################################### +# common ( build dali_videoplayer_plugin for common uses ) +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if common ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" + +%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ + --enable-shaderbincache=DISABLE --enable-profile=COMMON \ + --enable-feedback \ + --enable-videoplayer \ %if 0%{?tizen_2_2_compatibility} --with-tizen-2-2-compatibility \ %endif +%if %{with wayland} + --enable-efl=no \ +%else + --enable-efl=yes \ +%endif +%if 0%{?enable_debug} + --enable-debug \ +%endif + --enable-appfw=yes \ + --with-libuv=/usr/include/node/ \ + $configure_flags --libdir=%{_libdir} + +# Build. +make %{?jobs:-j%jobs} + +pushd %{_builddir}/%{name}-%{version}/build/tizen +%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}" +popd + +pushd %{buildroot}%{_libdir} +for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +for FILE in libdali-*plugin*-cxx11.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done + +mv pkgconfig/dali-adaptor*pc %{_builddir}/%{name}-%{version}/build/tizen/ +popd + +make clean + +%endif + +####################################################################### +#BUILD for cxx03 ABI +####################################################################### + +# Set up the build via configure. +####################################################################### +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if mobile || "undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" + +%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ + --enable-shaderbincache=DISABLE --enable-profile=MOBILE \ + --enable-feedback \ --enable-videoplayer \ + --enable-cxx03-abi=yes \ +%if 0%{?tizen_2_2_compatibility} + --with-tizen-2-2-compatibility \ +%endif %if %{with wayland} --enable-efl=no \ %else @@ -576,12 +708,132 @@ pushd %{_builddir}/%{name}-%{version}/build/tizen popd pushd %{buildroot}%{_libdir} -for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done -%if 0%{?dali_feedback_plugin_ivi} -for FILE in libdali-feedback-plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done +for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done +for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +popd + +make clean + %endif + +####################################################################### +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if tv ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" + +%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ + --enable-shaderbincache=DISABLE --enable-profile=TV \ + --enable-feedback \ + --enable-videoplayer \ + --enable-cxx03-abi=yes \ +%if 0%{?tizen_2_2_compatibility} + --with-tizen-2-2-compatibility \ +%endif +%if %{with wayland} + --enable-efl=no \ +%else + --enable-efl=yes \ +%endif +%if 0%{?enable_debug} + --enable-debug \ +%endif + --enable-appfw=yes \ + --with-libuv=/usr/include/node/ \ + $configure_flags --libdir=%{_libdir} + +# Build. +make %{?jobs:-j%jobs} + +pushd %{_builddir}/%{name}-%{version}/build/tizen +%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}" popd +pushd %{buildroot}%{_libdir} +for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done +for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +popd + +make clean +%endif + +####################################################################### +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if wearable || "undefined" +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" + +%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ + --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \ + --enable-feedback \ + --enable-videoplayer \ + --enable-cxx03-abi=yes \ +%if 0%{?tizen_2_2_compatibility} + --with-tizen-2-2-compatibility \ +%endif +%if %{with wayland} + --enable-efl=no \ +%else + --enable-efl=yes \ +%endif +%if 0%{?enable_debug} + --enable-debug \ +%endif + --enable-appfw=yes \ + --with-libuv=/usr/include/node/ \ + $configure_flags --libdir=%{_libdir} + +# Build. +make %{?jobs:-j%jobs} + +pushd %{_builddir}/%{name}-%{version}/build/tizen +%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}" +popd + +pushd %{buildroot}%{_libdir} +for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done +for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +popd + +make clean +%endif + +####################################################################### +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if ivi ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" + +%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ + --enable-shaderbincache=DISABLE --enable-profile=IVI \ + --enable-feedback \ + --enable-videoplayer \ + --enable-cxx03-abi=yes \ +%if 0%{?tizen_2_2_compatibility} + --with-tizen-2-2-compatibility \ +%endif +%if %{with wayland} + --enable-efl=no \ +%else + --enable-efl=yes \ +%endif +%if 0%{?enable_debug} + --enable-debug \ +%endif + --enable-appfw=yes \ + --with-libuv=/usr/include/node/ \ + $configure_flags --libdir=%{_libdir} + +# Build. +make %{?jobs:-j%jobs} + +pushd %{_builddir}/%{name}-%{version}/build/tizen +%make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}" +popd + +pushd %{buildroot}%{_libdir} +for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done +for FILE in libdali-*plugin.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE"; done +popd + +make clean %endif ####################################################################### @@ -589,12 +841,12 @@ popd # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if common ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" + %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=COMMON \ -%if 0%{?dali_feedback_plugin_common} --enable-feedback \ -%endif --enable-videoplayer \ + --enable-cxx03-abi=yes \ %if 0%{?tizen_2_2_compatibility} --with-tizen-2-2-compatibility \ %endif @@ -612,8 +864,8 @@ popd # Build. make %{?jobs:-j%jobs} -%endif +%endif ############################## # Installation @@ -628,18 +880,59 @@ pushd %{_builddir}/%{name}-%{version}/build/tizen # !unified && (wearable || tv || ivi || mobile) %if "%{?profile}" == "wearable" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "mobile" rm -rf %{buildroot}%{_libdir}/libdali-adap*.so* -rm -rf %{buildroot}%{_libdir}/libdali-feedback-plugin.so* %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # wearable || tv || ivi || mobile || unified %if "%{?profile}" != "common" for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done +mv dali-adaptor*.pc %{buildroot}%{_libdir}/pkgconfig/ %endif popd -mkdir -p %{buildroot}/usr/share/license -cp -af %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name} +################################################ +#rename +############################################### +pushd %{buildroot}%{_libdir} + +rm -rf libdali-adaptor*.so +ln -s libdali-adaptor.so.0.0.0 libdali-adaptor-cxx03.so +ln -s libdali-adaptor-cxx11.so.0.0.0 libdali-adaptor.so +ln -s libdali-adaptor-uv.so.0.0.0 libdali-adaptor-uv-cxx03.so +ln -s libdali-adaptor-uv-cxx11.so.0.0.0 libdali-adaptor-uv.so + +#%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +rm -rf libdali-adaptor*.so.wearable +ln -s libdali-adaptor.so.0.0.*.wearable libdali-adaptor-cxx03.so.wearable +ln -s libdali-adaptor-cxx11.so.0.0.*.wearable libdali-adaptor.so.wearable +ln -s libdali-adaptor-uv.so.0.0.*.wearable libdali-adaptor-uv-cxx03.so.wearable +ln -s libdali-adaptor-uv-cxx11.so.0.0.*.wearable libdali-adaptor-uv.so.wearable +#%endif + +#%if "%{?profile}" != "wearable" && "%{?profile}" == "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +rm -rf libdali-adaptor*.so.tv +ln -s libdali-adaptor.so.0.0.*.tv libdali-adaptor-cxx03.so.tv +ln -s libdali-adaptor-cxx11.so.0.0.*.tv libdali-adaptor.so.tv +ln -s libdali-adaptor-uv.so.0.0.*.tv libdali-adaptor-uv-cxx03.so.tv +ln -s libdali-adaptor-uv-cxx11.so.0.0.*.tv libdali-adaptor-uv.so.tv +#%endif + +#%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" == "ivi" && "%{?profile}" != "mobile" +rm -rf libdali-adaptor*.so.ivi +ln -s libdali-adaptor.so.0.0.*.ivi libdali-adaptor-cxx03.so.ivi +ln -s libdali-adaptor-cxx11.so.0.0.*.ivi libdali-adaptor.so.ivi +ln -s libdali-adaptor-uv.so.0.0.*.ivi libdali-adaptor-uv-cxx03.so.ivi +ln -s libdali-adaptor-uv-cxx11.so.0.0.*.ivi libdali-adaptor-uv.so.ivi +#%endif + +#%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" == "mobile" +rm -rf libdali-adaptor*.so.mobile +ln -s libdali-adaptor.so.0.0.*.mobile libdali-adaptor-cxx03.so.mobile +ln -s libdali-adaptor-cxx11.so.0.0.*.mobile libdali-adaptor.so.mobile +ln -s libdali-adaptor-uv.so.0.0.*.mobile libdali-adaptor-uv-cxx03.so.mobile +ln -s libdali-adaptor-uv-cxx11.so.0.0.*.mobile libdali-adaptor-uv.so.mobile +#%endif +popd ############################## # Upgrade order: @@ -687,7 +980,8 @@ exit 0 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %post profile_mobile pushd %{_libdir} -for FILE in libdali-adap*.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done +for FILE in libdali-adaptor-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done +for FILE in libdali-adaptor-uv-cxx11.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done popd /sbin/ldconfig exit 0 @@ -695,118 +989,134 @@ exit 0 %postun profile_mobile /sbin/ldconfig exit 0 +%endif + +############################## -%if 0%{?dali_feedback_plugin_mobile} -%post dali-feedback-plugin-profile_mobile +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if tv ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +%post profile_tv pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done +for FILE in libdali-adaptor-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done +for FILE in libdali-adaptor-uv-cxx11.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done popd /sbin/ldconfig exit 0 -%endif -%if 0%{?dali_feedback_plugin_mobile} -%postun dali-feedback-plugin-profile_mobile +%postun profile_tv /sbin/ldconfig exit 0 %endif -%endif ############################## # This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if tv ||"undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" -%post profile_tv +# if wearable || "undefined" +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%post profile_wearable pushd %{_libdir} -for FILE in libdali-adap*.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done +for FILE in libdali-adaptor-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done +for FILE in libdali-adaptor-uv-cxx11.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done popd /sbin/ldconfig exit 0 -%postun profile_tv +%postun profile_wearable /sbin/ldconfig exit 0 +%endif + +############################## -%if 0%{?dali_feedback_plugin_tv} -%post dali-feedback-plugin-profile_tv +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if ivi ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" +%post profile_ivi pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done +for FILE in libdali-adaptor-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done +for FILE in libdali-adaptor-uv-cxx11.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done popd /sbin/ldconfig exit 0 -%endif -%if 0%{?dali_feedback_plugin_tv} -%postun dali-feedback-plugin-profile_tv +%postun profile_ivi /sbin/ldconfig exit 0 %endif -%endif ############################## - +#cxx03 ABI +############################# # This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if wearable || "undefined" -%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" -%post profile_wearable +# if mobile || "undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%post profile_mobile-cxx03 pushd %{_libdir} -for FILE in libdali-adap*.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done +for FILE in libdali-adaptor.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done +for FILE in libdali-adaptor-uv.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done popd /sbin/ldconfig exit 0 -%postun profile_wearable +%postun profile_mobile-cxx03 /sbin/ldconfig exit 0 +%endif -%if 0%{?dali_feedback_plugin_wearable} -%post dali-feedback-plugin-profile_wearable +############################## + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if tv ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +%post profile_tv-cxx03 pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done +for FILE in libdali-adaptor.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done +for FILE in libdali-adaptor-uv.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done popd /sbin/ldconfig exit 0 -%endif -%if 0%{?dali_feedback_plugin_wearable} -%postun dali-feedback-plugin-profile_wearable +%postun profile_tv-cxx03 /sbin/ldconfig exit 0 %endif -%endif ############################## # This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if ivi ||"undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" -%post profile_ivi +# if wearable || "undefined" +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%post profile_wearable-cxx03 pushd %{_libdir} -for FILE in libdali-adap*.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done +for FILE in libdali-adaptor.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done +for FILE in libdali-adaptor-uv.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done popd /sbin/ldconfig exit 0 -%postun profile_ivi +%postun profile_wearable-cxx03 /sbin/ldconfig exit 0 +%endif + +############################## -%if 0%{?dali_feedback_plugin_ivi} -%post dali-feedback-plugin-profile_ivi +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if ivi ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" +%post profile_ivi-cxx03 pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done +for FILE in libdali-adaptor.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done +for FILE in libdali-adaptor-uv.so*.ivi; do ln -sf "$FILE" "${FILE%.ivi}"; done popd /sbin/ldconfig exit 0 -%endif -%if 0%{?dali_feedback_plugin_ivi} -%postun dali-feedback-plugin-profile_ivi +%postun profile_ivi-cxx03 /sbin/ldconfig exit 0 %endif -%endif ############################## @@ -819,12 +1129,36 @@ exit 0 %defattr(-,app,app,-) %dir %{user_shader_cache_dir} %{_bindir}/* -%{_datadir}/license/%{name} +%license LICENSE # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if common ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" %defattr(-,root,root,-) -%{_libdir}/libdali-adap*.so* +%{_libdir}/libdali-adaptor-cxx11.so.0* +%{_libdir}/libdali-adaptor-uv-cxx11.so.0* +%{_libdir}/libdali-adaptor.so +%{_libdir}/libdali-adaptor-uv.so +%exclude %{_libdir}/libdali-adap*.so*.mobile +%exclude %{_libdir}/libdali-adap*.so*.wearable +%exclude %{_libdir}/libdali-adap*.so*.tv +%exclude %{_libdir}/libdali-adap*.so*.ivi +%endif + +%files cxx03 +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%defattr(-,app,app,-) +%dir %{user_shader_cache_dir} +%{_bindir}/* +%license LICENSE +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if common ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +%defattr(-,root,root,-) +%{_libdir}/libdali-adaptor.so.0* +%{_libdir}/libdali-adaptor-uv.so.0* +%{_libdir}/libdali-adaptor-cxx03.so +%{_libdir}/libdali-adaptor-uv-cxx03.so %exclude %{_libdir}/libdali-adap*.so*.mobile %exclude %{_libdir}/libdali-adap*.so*.wearable %exclude %{_libdir}/libdali-adap*.so*.tv @@ -832,40 +1166,43 @@ exit 0 %endif %if %{with wayland} -%files dali-video-player-plugin +%files dali-video-player-plugin-cxx03 %manifest dali-adaptor.manifest %defattr(-,root,root,-) %{_libdir}/libdali-video-player-plugin.so* +%license LICENSE %endif -%files dali-feedback-plugin -# This is for backward-compatibility. This does not deteriorate 4.0 Configurability -# if common ||"undefined" -%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" -%if 0%{?dali_feedback_plugin_common} +%files dali-feedback-plugin-cxx03 %manifest dali-adaptor.manifest %defattr(-,root,root,-) %{_libdir}/libdali-feedback-plugin.so* -%exclude %{_libdir}/libdali-feedback-plugin.so*.mobile -%exclude %{_libdir}/libdali-feedback-plugin.so*.wearable -%exclude %{_libdir}/libdali-feedback-plugin.so*.tv -%exclude %{_libdir}/libdali-feedback-plugin.so*.ivi -%endif +%{dali_plugin_sound_files}/* + +################################################# +# cxx03 plugins +################################################# +%if %{with wayland} +%files dali-video-player-plugin +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%{_libdir}/libdali-video-player-plugin-cxx11.so* +%license LICENSE %endif +%files dali-feedback-plugin +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%{_libdir}/libdali-feedback-plugin-cxx11.so* +%{dali_plugin_sound_files}/* + +################################################# + # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if common ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" %files profile_common # default .so files are housed in the main pkg. - -%if 0%{?dali_feedback_plugin_common} -%files dali-feedback-plugin-profile_common -# default .so files are housed in the main pkg. -%manifest dali-adaptor.manifest -%defattr(-,root,root,-) -%{dali_plugin_sound_files}/* -%endif %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -874,15 +1211,10 @@ exit 0 %files profile_mobile %manifest dali-adaptor.manifest %defattr(-,root,root,-) -%{_libdir}/libdali-adap*.so*.mobile - -%if 0%{?dali_feedback_plugin_mobile} -%files dali-feedback-plugin-profile_mobile -%manifest dali-adaptor.manifest -%defattr(-,root,root,-) -%{_libdir}/libdali-feedback-plugin.so*.mobile -%{dali_plugin_sound_files}/* -%endif +%{_libdir}/libdali-adaptor.so.mobile +%{_libdir}/libdali-adaptor-uv.so.mobile +%{_libdir}/libdali-adaptor-cxx11.so.0*.mobile +%{_libdir}/libdali-adaptor-uv-cxx11.so.0*.mobile %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -891,15 +1223,10 @@ exit 0 %files profile_tv %manifest dali-adaptor.manifest %defattr(-,root,root,-) -%{_libdir}/libdali-adap*.so*.tv - -%if 0%{?dali_feedback_plugin_tv} -%files dali-feedback-plugin-profile_tv -%manifest dali-adaptor.manifest -%defattr(-,root,root,-) -%{_libdir}/libdali-feedback-plugin.so*.tv -%{dali_plugin_sound_files}/* -%endif +%{_libdir}/libdali-adaptor.so.tv +%{_libdir}/libdali-adaptor-uv.so.tv +%{_libdir}/libdali-adaptor-cxx11.so.0*.tv +%{_libdir}/libdali-adaptor-uv-cxx11.so.0*.tv %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -908,15 +1235,10 @@ exit 0 %files profile_wearable %manifest dali-adaptor.manifest %defattr(-,root,root,-) -%{_libdir}/libdali-adap*.so*.wearable - -%if 0%{?dali_feedback_plugin_wearable} -%files dali-feedback-plugin-profile_wearable -%manifest dali-adaptor.manifest -%defattr(-,root,root,-) -%{_libdir}/libdali-feedback-plugin.so*.wearable -%{dali_plugin_sound_files}/* -%endif +%{_libdir}/libdali-adaptor.so.wearable +%{_libdir}/libdali-adaptor-uv.so.wearable +%{_libdir}/libdali-adaptor-cxx11.so.0*.wearable +%{_libdir}/libdali-adaptor-uv-cxx11.so.0*.wearable %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -925,15 +1247,10 @@ exit 0 %files profile_ivi %manifest dali-adaptor.manifest %defattr(-,root,root,-) -%{_libdir}/libdali-adap*.so*.ivi - -%if 0%{?dali_feedback_plugin_ivi} -%files dali-feedback-plugin-profile_ivi -%manifest dali-adaptor.manifest -%defattr(-,root,root,-) -%{_libdir}/libdali-feedback-plugin.so*.ivi -%{dali_plugin_sound_files}/* -%endif +%{_libdir}/libdali-adaptor.so.ivi +%{_libdir}/libdali-adaptor-uv.so.ivi +%{_libdir}/libdali-adaptor-cxx11.so.0*.ivi +%{_libdir}/libdali-adaptor-uv-cxx11.so.0*.ivi %endif @@ -950,3 +1267,78 @@ exit 0 %defattr(-,root,root,-) %{dev_include_path}/dali/integration-api/adaptors/* %{_libdir}/pkgconfig/dali-adaptor-integration.pc + + +################################################ +# cxx03 ABI +################################################ + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if common ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +%files profile_common-cxx03 +# default .so files are housed in the main pkg. +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if mobile || "undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%files profile_mobile-cxx03 +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%{_libdir}/libdali-adaptor-cxx03.so.mobile +%{_libdir}/libdali-adaptor-uv-cxx03.so.mobile +%{_libdir}/libdali-adaptor.so.0*mobile +%{_libdir}/libdali-adaptor-uv.so.0*mobile +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if tv ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" +%files profile_tv-cxx03 +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%{_libdir}/libdali-adaptor-cxx03.so.tv +%{_libdir}/libdali-adaptor-uv-cxx03.so.tv +%{_libdir}/libdali-adaptor.so.0*.tv +%{_libdir}/libdali-adaptor-uv.so.0*.tv +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if wearable || "undefined" +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%files profile_wearable-cxx03 +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%{_libdir}/libdali-adaptor-cxx03.so.wearable +%{_libdir}/libdali-adaptor-uv-cxx03.so.wearable +%{_libdir}/libdali-adaptor.so.0*.wearable +%{_libdir}/libdali-adaptor-uv.so.0*.wearable +%endif + +# This is for backward-compatibility. This does not deteriorate 4.0 Configurability +# if ivi ||"undefined" +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" +%files profile_ivi-cxx03 +%manifest dali-adaptor.manifest +%defattr(-,root,root,-) +%{_libdir}/libdali-adaptor-cxx03.so.ivi +%{_libdir}/libdali-adaptor-uv-cxx03.so.ivi +%{_libdir}/libdali-adaptor.so.0*.ivi +%{_libdir}/libdali-adaptor-uv.so.0*.ivi +%endif + + +%files devel-cxx03 +%defattr(-,root,root,-) +%{dev_include_path}/dali/dali.h +%{dev_include_path}/dali/public-api/* +%{dev_include_path}/dali/devel-api/* +%{dev_include_path}/dali/doc/* +%{_libdir}/pkgconfig/dali-adaptor-cxx03.pc +%{_libdir}/pkgconfig/dali-adaptor-uv-cxx03.pc + +%files integration-devel-cxx03 +%defattr(-,root,root,-) +%{dev_include_path}/dali/integration-api/adaptors/* +%{_libdir}/pkgconfig/dali-adaptor-integration-cxx03.pc