3 Summary: Input Service Framework
6 Group: Graphics & UI Framework/Input
8 Source0: %{name}-%{version}.tar.gz
9 Source1001: isf.manifest
10 BuildRequires: edje-bin
11 BuildRequires: gettext-tools
12 BuildRequires: pkgconfig(appcore-efl)
13 BuildRequires: pkgconfig(elementary)
14 BuildRequires: pkgconfig(vconf)
16 BuildRequires: pkgconfig(ecore-wayland)
17 BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
18 BuildRequires: pkgconfig(text-client)
19 BuildRequires: pkgconfig(input-method-client)
21 BuildRequires: pkgconfig(ecore-x)
22 BuildRequires: pkgconfig(x11)
23 BuildRequires: pkgconfig(tts)
25 BuildRequires: pkgconfig(ecore)
26 BuildRequires: pkgconfig(evas)
27 BuildRequires: pkgconfig(edje)
28 %if "%{?profile}" != "tv"
29 BuildRequires: pkgconfig(notification)
31 BuildRequires: pkgconfig(dlog)
32 BuildRequires: pkgconfig(edbus)
33 BuildRequires: pkgconfig(capi-network-bluetooth)
34 BuildRequires: pkgconfig(feedback)
35 BuildRequires: efl-extension-devel
36 BuildRequires: pkgconfig(libtzplatform-config)
37 BuildRequires: pkgconfig(pkgmgr-info)
38 BuildRequires: pkgconfig(db-util)
39 BuildRequires: pkgconfig(capi-appfw-app-control)
40 BuildRequires: pkgconfig(capi-appfw-application)
41 BuildRequires: pkgconfig(cynara-client)
42 BuildRequires: pkgconfig(cynara-creds-socket)
43 BuildRequires: pkgconfig(cynara-session)
44 BuildRequires: capi-appfw-package-manager-devel
45 Requires(post): /sbin/ldconfig /usr/bin/vconftool
46 Requires(postun): /sbin/ldconfig
47 %if %{without wayland}
48 Requires: org.tizen.isf-kbd-mode-changer
51 %define _optexecdir /opt/usr/devel/usr/bin/
52 %define APP_PREFIX %{_prefix}/apps/org.tizen.isf-kbd-mode-changer/bin/
55 Input Service Framewok (ISF) is an input method (IM) platform, and it has been derived from SCIM.
59 Summary: ISF header files
60 Requires: %{name} = %{version}-%{release}
63 This package contains ISF header files for ISE development.
65 %if %{without wayland}
66 %package -n org.tizen.isf-kbd-mode-changer
67 Summary: isf-kbd-mode-changer
69 Requires: %{name} = %{version}-%{release}
71 %description -n org.tizen.isf-kbd-mode-changer
80 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
81 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
82 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
84 %if "%{profile}" == "wearable"
85 CFLAGS+=" -D_WEARABLE";
86 CXXFLAGS+=" -D_WEARABLE";
89 %if "%{profile}" == "mobile"
91 CXXFLAGS+=" -D_MOBILE";
94 %if "%{profile}" == "tv"
101 CXXFLAGS+=" -DWAYLAND"
104 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
106 CFLAGS+=" -fvisibility=hidden ${GC_SECTIONS_FLAGS} "; export CFLAGS
108 CXXFLAGS+=" -fvisibility=hidden -fvisibility-inlines-hidden ${GC_SECTIONS_FLAGS} ";export CXXFLAGS
111 %configure --disable-static \
112 --disable-tray-icon \
113 --disable-filter-sctc \
115 --disable-efl-immodule \
117 --disable-frontend-x11 \
118 --disable-multiwindow-support \
119 --disable-ime-embed-app
126 mkdir -p %{buildroot}/opt/etc/dump.d/module.d
127 cp -af ism/dump/isf_log_dump.sh %{buildroot}/opt/etc/dump.d/module.d
128 mkdir -p %{buildroot}/etc/scim/conf
129 mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/Helper
130 mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/SetupUI
131 mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
132 mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/PanelAgent
135 cat scim.lang > isf.lang
137 %if "%{?tizen_profile_name}" == "mobile"
138 mkdir -p %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
139 ln -sf %{_prefix}/lib/systemd/user/scim.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
141 ln -sf %{_libdir}/ecore_imf/modules/wayland/v-1.16/module.so %{_libdir}/ecore_imf/modules/wayland/v-1.16/libwltextinputmodule.so
145 %postun -p /sbin/ldconfig
149 %manifest %{name}.manifest
150 %defattr(-,root,root,-)
151 %dir /opt/apps/scim/lib/scim-1.0/1.4.0/Helper
152 %dir /opt/apps/scim/lib/scim-1.0/1.4.0/SetupUI
153 %dir /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
154 %dir /opt/apps/scim/lib/scim-1.0/1.4.0/PanelAgent
156 %{_prefix}/lib/systemd/user/default.target.wants/scim.path
157 %{_prefix}/lib/systemd/user/scim.service
158 %{_prefix}/lib/systemd/user/scim.path
159 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
160 %{_sysconfdir}/scim/global
161 %{_sysconfdir}/scim/config
162 %{_datadir}/scim/isf_candidate_theme1.edj
163 %{_datadir}/scim/icons/*
164 %{_optexecdir}/isf-demo-efl
165 %{_bindir}/isf-panel-efl
169 %{_libdir}/ecore_imf/modules/*/*/*.so
173 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
174 %{_libdir}/scim-1.0/1.4.0/PanelAgent/*.so
175 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
176 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
177 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
178 %{_libdir}/scim-1.0/scim-launcher
179 %{_libdir}/scim-1.0/scim-helper-launcher
180 %{_libdir}/libscim-*.so*
182 /opt/etc/dump.d/module.d/*
185 %defattr(-,root,root,-)
186 %{_includedir}/scim-1.0/*
187 %{_libdir}/libscim-*.so
188 %{_libdir}/pkgconfig/isf.pc
189 %{_libdir}/pkgconfig/scim.pc
191 %if %{without wayland}
192 %post -n org.tizen.isf-kbd-mode-changer
193 mkdir -p /usr/apps/org.tizen.isf-kbd-mode-changer
195 %files -n org.tizen.isf-kbd-mode-changer
196 %manifest org.tizen.isf-kbd-mode-changer.manifest
197 /usr/share/packages/org.tizen.isf-kbd-mode-changer.xml