X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-adaptor.spec;h=456e1413d7e3bd668b2839aeaf89f31757e8eab9;hb=b613d3e9e61fdc4e5e9b7a83d4876e028923b54b;hp=6f6d5f1b5bd77957865c6c1a8fa3b08bb7582aad;hpb=87e0ea3710706cd5443dfce2575ef594b5d400a2;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 6f6d5f1..456e141 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -17,7 +17,7 @@ Name: dali-adaptor Summary: The DALi Tizen Adaptor -Version: 1.4.51 +Version: 1.9.10 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-3-Clause and MIT @@ -30,6 +30,9 @@ Requires: giflib Provides: libdali-adaptor-cxx11.so Provides: libdali-adaptor-cxx11.so.0 Provides: libdali-adaptor-cxx11.so.0.0.0 +Provides: libdali-adaptor.so +Provides: libdali-adaptor.so.0 +Provides: libdali-adaptor.so.0.0.0 %define tizen_platform_config_supported 1 BuildRequires: pkgconfig(libtzplatform-config) @@ -87,8 +90,6 @@ BuildRequires: pkgconfig(ecore-wayland) # dali-adaptor needs tbm_surface in tizen 3.0 wayland BuildRequires: pkgconfig(libtbm) -BuildRequires: pkgconfig(tpkp-curl) - # for dali-adaptor BuildRequires: pkgconfig(appcore-ui) BuildRequires: pkgconfig(appcore-widget-base) @@ -125,6 +126,7 @@ Conflicts: %{name}-profile_tv Conflicts: %{name}-profile_wearable Conflicts: %{name}-profile_ivi Conflicts: %{name}-profile_common +Requires: %{name} %description profile_mobile The DALi Tizen Adaptor for mobile. %endif @@ -139,6 +141,7 @@ Conflicts: %{name}-profile_mobile Conflicts: %{name}-profile_wearable Conflicts: %{name}-profile_ivi Conflicts: %{name}-profile_common +Requires: %{name} %description profile_tv The DALi Tizen Adaptor for tv. %endif @@ -153,6 +156,7 @@ Conflicts: %{name}-profile_mobile Conflicts: %{name}-profile_tv Conflicts: %{name}-profile_ivi Conflicts: %{name}-profile_common +Requires: %{name} %description profile_wearable The DALi Tizen Adaptor for wearable. %endif @@ -167,6 +171,7 @@ Conflicts: %{name}-profile_mobile Conflicts: %{name}-profile_wearable Conflicts: %{name}-profile_tv Conflicts: %{name}-profile_common +Requires: %{name} %description profile_ivi The DALi Tizen Adaptor for ivi. %endif @@ -182,6 +187,7 @@ Conflicts: %{name}-profile_mobile Conflicts: %{name}-profile_wearable Conflicts: %{name}-profile_tv Conflicts: %{name}-profile_ivi +Requires: %{name} %description profile_common The DALi Tizen Adaptor for common. %endif @@ -271,6 +277,10 @@ cmake_flags+=" -DCMAKE_BUILD_TYPE=Debug" cmake_flags+=" -DENABLE_TRACE=ON" %endif +%if 0%{?enable_appfw} +cmake_flags+=" -DUSE_APPFW" +%endif + libtoolize --force cd %{_builddir}/%{name}-%{version}/build/tizen @@ -385,10 +395,10 @@ pushd %{_builddir}/%{name}-%{version}/build/tizen %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" pushd mobile %make_install +%if "%{?profile}" != "mobile" pushd %{buildroot}%{_libdir} -cp libdali-adaptor.so.*.*.* libdali-adaptor.so.mobile +cp libdali-adaptor.so.*.*.* libdali-adaptor.so.mobile # If we're only building this profile, then there's no need to copy the lib popd -%if "%{?profile}" != "mobile" make clean # So that we can gather symbol/size information for only one profile if we're building all profiles %endif popd @@ -398,10 +408,10 @@ popd %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" pushd tv %make_install +%if "%{?profile}" != "tv" pushd %{buildroot}%{_libdir} -cp libdali-adaptor.so.*.*.* libdali-adaptor.so.tv +cp libdali-adaptor.so.*.*.* libdali-adaptor.so.tv # If we're only building this profile, then there's no need to copy the lib popd -%if "%{?profile}" != "tv" make clean # So that we can gather symbol/size information for only one profile if we're building all profiles %endif popd @@ -411,10 +421,10 @@ popd %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" pushd wearable %make_install +%if "%{?profile}" != "wearable" pushd %{buildroot}%{_libdir} -cp libdali-adaptor.so.*.*.* libdali-adaptor.so.wearable +cp libdali-adaptor.so.*.*.* libdali-adaptor.so.wearable # If we're only building this profile, then there's no need to copy the lib popd -%if "%{?profile}" != "wearable" make clean # So that we can gather symbol/size information for only one profile if we're building all profiles %endif popd @@ -424,10 +434,10 @@ popd %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" pushd ivi %make_install +%if "%{?profile}" != "ivi" pushd %{buildroot}%{_libdir} -cp libdali-adaptor.so.*.*.* libdali-adaptor.so.ivi +cp libdali-adaptor.so.*.*.* libdali-adaptor.so.ivi # If we're only building this profile, then there's no need to copy the lib popd -%if "%{?profile}" != "ivi" make clean # So that we can gather symbol/size information for only one profile if we're building all profiles %endif popd @@ -485,11 +495,14 @@ exit 0 ############################## # Mobile Profile Commands # if mobile || "undefined" +# No need to create a symbolic link on install required if only building this profile %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %post profile_mobile +%if "%{?profile}" != "mobile" pushd %{_libdir} ln -sf libdali-adaptor.so.mobile libdali-adaptor.so.0.0.0 popd +%endif /sbin/ldconfig exit 0 @@ -500,11 +513,14 @@ exit 0 ############################## # TV Profile Commands +# No need to create a symbolic link on install required if only building this profile %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" %post profile_tv +%if "%{?profile}" != "tv" pushd %{_libdir} ln -sf libdali-adaptor.so.tv libdali-adaptor.so.0.0.0 popd +%endif /sbin/ldconfig exit 0 @@ -515,11 +531,14 @@ exit 0 ############################## # Wearable Profile Commands +# No need to create a symbolic link on install required if only building this profile %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %post profile_wearable +%if "%{?profile}" != "wearable" pushd %{_libdir} ln -sf libdali-adaptor.so.wearable libdali-adaptor.so.0.0.0 popd +%endif /sbin/ldconfig exit 0 @@ -530,11 +549,14 @@ exit 0 ############################## # IVI Profile Commands +# No need to create a symbolic link on install required if only building this profile %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" %post profile_ivi +%if "%{?profile}" != "ivi" pushd %{_libdir} ln -sf libdali-adaptor.so.ivi libdali-adaptor.so.0.0.0 popd +%endif /sbin/ldconfig exit 0 @@ -595,32 +617,40 @@ exit 0 %files profile_mobile %manifest dali-adaptor.manifest %defattr(-,root,root,-) +%if "%{?profile}" != "mobile" %{_libdir}/libdali-adaptor.so.mobile %endif +%endif # if tv ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" %files profile_tv %manifest dali-adaptor.manifest %defattr(-,root,root,-) +%if "%{?profile}" != "tv" %{_libdir}/libdali-adaptor.so.tv %endif +%endif # if wearable || "undefined" %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" %files profile_wearable %manifest dali-adaptor.manifest %defattr(-,root,root,-) +%if "%{?profile}" != "wearable" %{_libdir}/libdali-adaptor.so.wearable %endif +%endif # if ivi ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" %files profile_ivi %manifest dali-adaptor.manifest %defattr(-,root,root,-) +%if "%{?profile}" != "ivi" %{_libdir}/libdali-adaptor.so.ivi %endif +%endif %files devel %defattr(-,root,root,-)