separate ug package to support osp setting
authorliushuo <shuo0805.liu@samsung.com>
Wed, 3 Apr 2013 03:24:41 +0000 (11:24 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 3 Apr 2013 07:06:58 +0000 (16:06 +0900)
Change-Id: I00de79c9e818e5140b97f6c356b9a572e32e660a

Makefile.am
packaging/isf.spec
ug-isfsetting-efl.manifest [new file with mode: 0644]
ug-isfsetting-efl.xml [new file with mode: 0644]
ug.isfsetting-efl.include [new file with mode: 0644]

index 835a835..afa7ad4 100644 (file)
@@ -59,6 +59,12 @@ pkgconfig_DATA          = isf.pc scim.pc \
 smackdir = /etc/smack/accesses2.d/
 smack_DATA = isf.rule
 
+ugxmldir = /opt/share/packages/
+ugxml_DATA = ug-isfsetting-efl.xml
+
+ugsmackdir = /etc/smack/accesses2.d/
+ugsmack_DATA = ug.isfsetting-efl.include
+
 ACLOCAL_AMFLAGS = -I ism/m4
 
 .PHONY: update-ChangeLog
index a61f3df..83cb31c 100755 (executable)
@@ -38,7 +38,13 @@ Requires:   %{name} = %{version}-%{release}
 %description devel
 This package contains ISF header files for ISE development.
 
+%package -n ug-isfsetting-efl
+Summary:    ISF setting ug
+Group:      Application
+Requires:   %{name} = %{version}-%{release}
 
+%description -n ug-isfsetting-efl
+ISF setting UI Gadget
 
 %prep
 %setup -q
@@ -63,7 +69,7 @@ install -d %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
 install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/user/
 ln -sf ../scim.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/scim.service
 
-%post 
+%post
 /sbin/ldconfig
 mkdir -p /etc/scim/conf
 mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/Helper
@@ -87,7 +93,7 @@ mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
 %{_sysconfdir}/scim/global
 %{_sysconfdir}/scim/config
-%{_datadir}/scim/*.edj
+%{_datadir}/scim/isf_candidate_theme1.edj
 %{_datadir}/scim/icons/*
 %{_datadir}/locale/*
 %{_bindir}/isf-demo-efl
@@ -103,9 +109,8 @@ mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
 %{_libdir}/scim-1.0/scim-launcher
 %{_libdir}/scim-1.0/scim-helper-launcher
 %{_libdir}/libscim-*.so*
-%{_ugdir}/res/locale/*
+%{_ugdir}/res/locale/*/LC_MESSAGES/keyboard-setting-wizard-efl.*
 %{_ugdir}/lib/libug-keyboard-setting-wizard-efl.so
-%{_ugdir}/lib/libug-isfsetting-efl.so
 %{_datadir}/license/%{name}
 
 %files devel
@@ -114,3 +119,15 @@ mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
 %{_libdir}/libscim-*.so
 %{_libdir}/pkgconfig/isf.pc
 %{_libdir}/pkgconfig/scim.pc
+
+%post -n ug-isfsetting-efl
+mkdir -p /usr/ug/bin/
+ln -sf /usr/bin/ug-client /opt/ug/bin/isfsetting-efl
+
+%files -n ug-isfsetting-efl
+%manifest ug-isfsetting-efl.manifest
+/etc/smack/accesses2.d/ug.isfsetting-efl.include
+/opt/share/packages/ug-isfsetting-efl.xml
+%{_ugdir}/lib/libug-isfsetting-efl.so
+%{_ugdir}/res/locale/*/LC_MESSAGES/isfsetting-efl.*
+%{_datadir}/scim/isfsetting.edj
diff --git a/ug-isfsetting-efl.manifest b/ug-isfsetting-efl.manifest
new file mode 100644 (file)
index 0000000..c00c25b
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+        <request>
+                <domain name="_" />
+        </request>
+</manifest>
diff --git a/ug-isfsetting-efl.xml b/ug-isfsetting-efl.xml
new file mode 100644 (file)
index 0000000..4ff905f
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="ug-isfsetting-efl" version="0.1" install-location="internal-only">
+        <label>isfsetting-efl</label>
+        <author email="shuo0805.liu@samsung.com" href="www.samsung.com">Shuo Liu</author>
+        <description>isfsetting Application</description>
+        <ui-application appid="isfsetting-efl" exec="/opt/ug/bin/isfsetting-efl" nodisplay="true" multiple="true" type="capp" taskmanage="false">
+                <icon>ug-isfsetting-efl.png</icon>
+                <label>isfsetting Appcontrol</label>
+                <label xml:lang="en-us">isfsetting</label>
+       </ui-application>
+</manifest>
diff --git a/ug.isfsetting-efl.include b/ug.isfsetting-efl.include
new file mode 100644 (file)
index 0000000..bde91b3
--- /dev/null
@@ -0,0 +1,5 @@
+$1 system::vconf arwxt
+$1 system::homedir arwxt
+$1 sys-assert::core arwxt
+$1 com.samsung.indicator w
+$1 isf rwx