X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-toolkit.spec;h=b46e4ff106a57e5420c7229c73fd7f07dcf4f668;hb=96f01f71e6eb54c86089d9b4e5979a4ba4ce93c2;hp=0414a588bcbfb2bf5ba2041ea442addb25f3747f;hpb=0152617b5b03435c4e7f582577b79f1d56b6ff27;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index 0414a58..b46e4ff 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -1,6 +1,6 @@ Name: dali-toolkit Summary: Dali 3D engine Toolkit -Version: 1.2.55 +Version: 1.2.56 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-3-Clause and MIT @@ -297,19 +297,19 @@ popd %preun resources_480x800 pushd %{dali_toolkit_style_files} mv images ./480x800 -mv *.json ./480x800 +mv dali-toolkit-default-theme.json ./480x800 popd %preun resources_720x1280 pushd %{dali_toolkit_style_files} mv images ./720x1280 -mv *.json ./720x1280 +mv dali-toolkit-default-theme.json ./720x1280 popd %preun resources_1920x1080 pushd %{dali_toolkit_style_files} mv images ./1920x1080 -mv *.json ./1920x1080 +mv dali-toolkit-default-theme.json ./1920x1080 popd ############################## @@ -320,19 +320,31 @@ popd exit 0 %postun resources_480x800 -pushd %{dali_toolkit_style_files} -rm -rf * -popd +case "$1" in + 0) + pushd %{dali_toolkit_style_files} + rm -rf * + popd + ;; +esac %postun resources_720x1280 -pushd %{dali_toolkit_style_files} -rm -rf * -popd +case "$1" in + 0) + pushd %{dali_toolkit_style_files} + rm -rf * + popd + ;; +esac %postun resources_1920x1080 -pushd %{dali_toolkit_style_files} -rm -rf * -popd +case "$1" in + 0) + pushd %{dali_toolkit_style_files} + rm -rf * + popd + ;; +esac ############################## # Files in Binary Packages