# For backward-compatibility and GBM build optimization
# if wearable, "unified". common may be added after efl-ext is unified/refactored.
%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
+%post profile_wearable
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/bin
+mv bt-syspopup.wearable bt-syspopup
+popd
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/edje
+mv custom_popup.edj.wearable custom_popup.edj
+popd
+%preun profile_wearable
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/bin
+mv bt-syspopup bt-syspopup.wearable
+popd
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/edje
+mv custom_popup.edj custom_popup.edj.wearable
+popd
%files profile_wearable
%license LICENSE
%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/bin/bt-syspopup.wearable