summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSemun Lee <semun.lee@samsung.com>2017-08-21 12:22:39 +0900
committerSemun Lee <semun.lee@samsung.com>2017-08-21 13:51:30 +0900
commit5b2f3b634543ed019457c7154c5751ef02770c27 (patch)
tree4d375edda60ae9bfedb7259dc07614c7b965ef98 /packaging
parent13a14f5977d5d6f21cd71ba830c46661cec0eef5 (diff)
downloadbuilding-blocks-5b2f3b634543ed019457c7154c5751ef02770c27.tar.gz
building-blocks-5b2f3b634543ed019457c7154c5751ef02770c27.tar.bz2
building-blocks-5b2f3b634543ed019457c7154c5751ef02770c27.zip
Add tizen feature macro for Widget app building block
Change-Id: I2a4954299cf826393b88f2fb795fd4a308f9d687 Signed-off-by: Semun Lee <semun.lee@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/building-blocks.spec1
-rwxr-xr-xpackaging/domain-apis.inc6
2 files changed, 7 insertions, 0 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec
index 6cec9a7..2d5fa9c 100644
--- a/packaging/building-blocks.spec
+++ b/packaging/building-blocks.spec
@@ -1,6 +1,7 @@
# There are meta packages only.
%define __debug_install_post %{nil}
%define debug_package %{nil}
+%define tizen_feature() sed -i 's#\\\(\\\"%{1}\\\".\\\+>\\\).\\\+\\\(</key>\\\)#\\\1%{2}\\\2#' %{_sysconfdir}/config/model-config.xml;
Name: building-blocks
Version: 0.0.2
diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc
index 774e5a8..7f0a413 100755
--- a/packaging/domain-apis.inc
+++ b/packaging/domain-apis.inc
@@ -184,6 +184,8 @@ Requires: libwidget_viewer_evas
%description sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
This block supports native EFL widget app model
%files sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
+%posttrans sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model
+%tizen_feature tizen.org/feature/shell.appwidget true
%package sub2-domain_API-AppFramework-Notification_API
Summary: Notification API
@@ -192,6 +194,8 @@ Requires: data-provider-master
%description sub2-domain_API-AppFramework-Notification_API
This block supports notification API
%files sub2-domain_API-AppFramework-Notification_API
+%posttrans sub2-domain_API-AppFramework-Notification_API
+%tizen_feature tizen.org/feature/notification true
%package sub2-domain_API-AppFramework-Shortcut_API
Summary: Shortcut API
@@ -208,6 +212,8 @@ Requires: data-provider-master
%description sub2-domain_API-AppFramework-Badge_API
This block supports badge API
%files sub2-domain_API-AppFramework-Badge_API
+%posttrans sub2-domain_API-AppFramework-Badge_API
+%tizen_feature tizen.org/feature/badge true
%package sub2-domain_API-AppFramework-Media_Key_API
Summary: Media Key API