-%files profile_wearable
-
-%post profile_wearable-extension-circle
-pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-circle/
-mkdir -p ../res
-mkdir -p ../bin
-# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade)
-if [ "$1" = "2" ]; then
- rm -Rf ../bin/*
- pushd ../res
- for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done
- popd
-fi
-for FILE in bin/*; do ln -sf "../wearable-circle/${FILE}" ../bin; done
-for FILE in res/*; do ln -sf "../wearable-circle/${FILE}" ../res; done
-popd
-%preun profile_wearable-extension-circle
-# Perform file removal only when uninstalling (0:uninstall / 1:upgrade)
-if [ "$1" = "0" ]; then
- pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator
- rm -Rf bin
- pushd res
- for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done
- popd
- popd
-fi
-%files profile_wearable-extension-circle
-%manifest %{name}.manifest
-%defattr(-,root,root,-)
-%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-circle/*
-
-
-%post profile_wearable-extension-rectangle
-pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-rectangle/