X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-adaptor.spec;h=27ce5ad32c5b5698e4b7a1cfac99f52733d90aea;hb=71f634bea9b141bfaa79342e2b7783c6ec5667ee;hp=ed8457ca552e0adc3383ac806ddc45c7703acd12;hpb=1d2fd6145034bfd55abcf61f008df24f545aa994;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index ed8457c..27ce5ad 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.41 +Version: 1.2.49 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-3-Clause and MIT @@ -37,7 +37,6 @@ Requires: giflib BuildRequires: pkgconfig(libtzplatform-config) %endif - # Get the profile from tizen_profile_name if tizen version is 2.x and tizen_profile_name exists. %if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1} @@ -72,14 +71,10 @@ BuildRequires: pkgconfig(egl) BuildRequires: libcurl-devel BuildRequires: pkgconfig(harfbuzz) BuildRequires: fribidi-devel + BuildRequires: pkgconfig(capi-system-info) BuildRequires: pkgconfig(capi-system-sensor) -# Tizen currently does not have libuv as a separate libuv package -# So we have to look into the uv headers bundled inside node-js -BuildRequires: nodejs-devel - - %if %{with wayland} ####### BUILDING FOR WAYLAND ####### @@ -88,9 +83,6 @@ BuildRequires: pkgconfig(wayland-client) BuildRequires: wayland-devel BuildRequires: wayland-extension-client-devel -# dali-adaptor-uv uses libuv mainloop and has its own wayland client (it needs wayland-client headers). -BuildRequires: libxkbcommon-devel - # dali-adaptor uses ecore mainloop BuildRequires: pkgconfig(ecore-wayland) @@ -113,13 +105,21 @@ BuildRequires: pkgconfig(utilX) # for dali-adaptor BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(elementary) + +%if 0%{?tizen_version_major} == 3 BuildRequires: pkgconfig(capi-appfw-application) +%else +BuildRequires: pkgconfig(appcore-ui) +BuildRequires: pkgconfig(capi-appfw-app-common) +BuildRequires: pkgconfig(capi-appfw-app-control) +%endif BuildRequires: pkgconfig(capi-system-system-settings) # for feedback plugin BuildRequires: pkgconfig(mm-sound) -BuildRequires: pkgconfig(deviced) -BuildRequires: libfeedback-devel +%if 0%{?tizen_version_major} >= 3 +BuildRequires: pkgconfig(feedback) +%endif # for videoplayer Plugin BuildRequires: pkgconfig(capi-media-player) @@ -141,13 +141,12 @@ 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 -Conflicts: %{name}-profile_wearable -Conflicts: %{name}-profile_ivi -Conflicts: %{name}-profile_common +Summary: The DALi Tizen Adaptor for mobile +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_ivi +Conflicts: %{name}-profile_common %description profile_mobile The DALi Tizen Adaptor for mobile. %endif @@ -156,13 +155,12 @@ 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 -Conflicts: %{name}-profile_wearable -Conflicts: %{name}-profile_ivi -Conflicts: %{name}-profile_common +Summary: The DALi Tizen Adaptor for tv +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_ivi +Conflicts: %{name}-profile_common %description profile_tv The DALi Tizen Adaptor for tv. %endif @@ -171,13 +169,12 @@ 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 -Conflicts: %{name}-profile_tv -Conflicts: %{name}-profile_ivi -Conflicts: %{name}-profile_common +Summary: The DALi Tizen Adaptor for wearable +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_ivi +Conflicts: %{name}-profile_common %description profile_wearable The DALi Tizen Adaptor for wearable. %endif @@ -186,13 +183,12 @@ 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 -Conflicts: %{name}-profile_wearable -Conflicts: %{name}-profile_tv -Conflicts: %{name}-profile_common +Summary: The DALi Tizen Adaptor for ivi +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_common %description profile_ivi The DALi Tizen Adaptor for ivi. %endif @@ -202,14 +198,13 @@ 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} -Conflicts: %{name}-profile_mobile -Conflicts: %{name}-profile_wearable -Conflicts: %{name}-profile_tv -Conflicts: %{name}-profile_ivi +Summary: The DALi Tizen Adaptor for common +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_ivi %description profile_common The DALi Tizen Adaptor for common. %endif @@ -240,100 +235,12 @@ Integration development package for the Adaptor - headers for integrating with a ############################## # Dali Feedback Plugin ############################## - %package dali-feedback-plugin 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 - -# 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. -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. -%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 - -# 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. -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 +Feedback plugin to play haptic and audio feedback for Dali ############################## # Dali VideoPlayer Plugin @@ -372,7 +279,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} ############################## @@ -393,6 +300,11 @@ CXXFLAGS+=" -DWAYLAND" configure_flags="--enable-wayland" %endif +# Use this conditional when Tizen version is 4.x or greater +%if 0%{?tizen_version_major} >= 4 +CXXFLAGS+=" -DOVER_TIZEN_VERSION_4" +%endif + %if 0%{?tizen_2_2_compatibility} CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY" CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY" @@ -413,26 +325,24 @@ 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} - -#--enable-efl=no \ # only affects dali-adaptor-uv -#--enable-appfw=yes \ # affects both dali-adaptor & dali-adaptor-uv -#--with-libuv=/usr/include/node/ \ # only affects dali-adaptor-uv +%define target_gles_version 20 # 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 \ -%if 0%{?dali_feedback_plugin_mobile} + --enable-tizen-major-version=%{tizen_version_major} \ +%if 0%{?tizen_version_major} >= 3 --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 @@ -442,7 +352,6 @@ TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TI --enable-debug \ %endif --enable-appfw=yes \ - --with-libuv=/usr/include/node/ \ $configure_flags --libdir=%{_libdir} # Build. @@ -454,26 +363,27 @@ 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 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-tizen-major-version=%{tizen_version_major} \ +%if 0%{?tizen_version_major} >= 3 --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 @@ -483,7 +393,6 @@ popd --enable-debug \ %endif --enable-appfw=yes \ - --with-libuv=/usr/include/node/ \ $configure_flags --libdir=%{_libdir} # Build. @@ -495,20 +404,20 @@ 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 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-tizen-major-version=%{tizen_version_major} \ +%if 0%{?tizen_version_major} >= 3 --enable-feedback \ %endif --enable-videoplayer \ @@ -524,7 +433,6 @@ popd --enable-debug \ %endif --enable-appfw=yes \ - --with-libuv=/usr/include/node/ \ $configure_flags --libdir=%{_libdir} # Build. @@ -536,26 +444,26 @@ 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 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-tizen-major-version=%{tizen_version_major} \ +%if 0%{?tizen_version_major} >= 3 --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 @@ -565,7 +473,6 @@ popd --enable-debug \ %endif --enable-appfw=yes \ - --with-libuv=/usr/include/node/ \ $configure_flags --libdir=%{_libdir} # Build. @@ -577,11 +484,9 @@ 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 -%endif popd +make clean %endif ####################################################################### @@ -589,9 +494,11 @@ 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-tizen-major-version=%{tizen_version_major} \ +%if 0%{?tizen_version_major} >= 3 --enable-feedback \ %endif --enable-videoplayer \ @@ -607,11 +514,11 @@ popd --enable-debug \ %endif --enable-appfw=yes \ - --with-libuv=/usr/include/node/ \ $configure_flags --libdir=%{_libdir} # Build. make %{?jobs:-j%jobs} + %endif @@ -624,11 +531,11 @@ rm -rf %{buildroot} pushd %{_builddir}/%{name}-%{version}/build/tizen %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}" + # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # !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 @@ -638,9 +545,6 @@ for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done %endif popd -mkdir -p %{buildroot}/usr/share/license -cp -af %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name} - ############################## # Upgrade order: # 1 - Pre Install new package @@ -655,15 +559,21 @@ cp -af %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{ exit 0 ############################## -# Post, Preun, Postun Install new package +# Post Install new package ############################## %post /sbin/ldconfig exit 0 +############################## +# Pre Uninstall old package +############################## %preun exit 0 +############################## +# Post Uninstall old package +############################## %postun /sbin/ldconfig exit 0 @@ -680,6 +590,7 @@ exit 0 exit 0 %endif + ############################## # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -695,21 +606,6 @@ exit 0 %postun profile_mobile /sbin/ldconfig exit 0 - -%if 0%{?dali_feedback_plugin_mobile} -%post dali-feedback-plugin-profile_mobile -pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.mobile; do ln -sf "$FILE" "${FILE%.mobile}"; done -popd -/sbin/ldconfig -exit 0 -%endif - -%if 0%{?dali_feedback_plugin_mobile} -%postun dali-feedback-plugin-profile_mobile -/sbin/ldconfig -exit 0 -%endif %endif ############################## @@ -727,21 +623,6 @@ exit 0 %postun profile_tv /sbin/ldconfig exit 0 - -%if 0%{?dali_feedback_plugin_tv} -%post dali-feedback-plugin-profile_tv -pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.tv; do ln -sf "$FILE" "${FILE%.tv}"; done -popd -/sbin/ldconfig -exit 0 -%endif - -%if 0%{?dali_feedback_plugin_tv} -%postun dali-feedback-plugin-profile_tv -/sbin/ldconfig -exit 0 -%endif %endif ############################## @@ -759,21 +640,6 @@ exit 0 %postun profile_wearable /sbin/ldconfig exit 0 - -%if 0%{?dali_feedback_plugin_wearable} -%post dali-feedback-plugin-profile_wearable -pushd %{_libdir} -for FILE in libdali-feedback-plugin.so*.wearable; do ln -sf "$FILE" "${FILE%.wearable}"; done -popd -/sbin/ldconfig -exit 0 -%endif - -%if 0%{?dali_feedback_plugin_wearable} -%postun dali-feedback-plugin-profile_wearable -/sbin/ldconfig -exit 0 -%endif %endif ############################## @@ -791,21 +657,6 @@ exit 0 %postun profile_ivi /sbin/ldconfig exit 0 - -%if 0%{?dali_feedback_plugin_ivi} -%post dali-feedback-plugin-profile_ivi -pushd %{_libdir} -for FILE in libdali-feedback-plugin.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 -/sbin/ldconfig -exit 0 -%endif %endif @@ -819,7 +670,8 @@ 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" @@ -836,21 +688,15 @@ exit 0 %manifest dali-adaptor.manifest %defattr(-,root,root,-) %{_libdir}/libdali-video-player-plugin.so* +%license LICENSE %endif +%if 0%{?tizen_version_major} >= 3 %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} %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}/* %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -858,14 +704,6 @@ exit 0 %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 @@ -875,14 +713,6 @@ exit 0 %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 %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -892,14 +722,6 @@ exit 0 %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 %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -909,14 +731,6 @@ exit 0 %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 %endif # This is for backward-compatibility. This does not deteriorate 4.0 Configurability @@ -926,14 +740,6 @@ exit 0 %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 %endif @@ -944,7 +750,6 @@ exit 0 %{dev_include_path}/dali/devel-api/* %{dev_include_path}/dali/doc/* %{_libdir}/pkgconfig/dali-adaptor.pc -%{_libdir}/pkgconfig/dali-adaptor-uv.pc %files integration-devel %defattr(-,root,root,-)