1 %global __provides_exclude_from ^(.*\\.(wearable|tv|mobile|ivi))$
5 Summary: Input Service Framework
8 Group: Graphics & UI Framework/Input
10 Source0: %{name}-%{version}.tar.gz
11 Source100: %{name}.conf
12 Source200: engine-loader.service
13 Source300: org.tizen.engine-loader.service
14 Source400: engine-loader.conf
15 BuildRequires: edje-bin
16 BuildRequires: gettext-tools
17 BuildRequires: pkgconfig(elementary)
18 BuildRequires: pkgconfig(vconf)
20 BuildRequires: pkgconfig(ecore-wl2)
21 BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
22 BuildRequires: pkgconfig(text-client)
23 BuildRequires: pkgconfig(input-method-client)
25 BuildRequires: pkgconfig(ecore-x)
26 BuildRequires: pkgconfig(x11)
27 BuildRequires: pkgconfig(tts)
29 BuildRequires: pkgconfig(eina)
30 BuildRequires: pkgconfig(ecore)
31 BuildRequires: pkgconfig(evas)
32 BuildRequires: pkgconfig(edje)
33 BuildRequires: pkgconfig(dlog)
34 BuildRequires: pkgconfig(glib-2.0)
35 BuildRequires: pkgconfig(efl-extension)
36 BuildRequires: pkgconfig(libtzplatform-config)
37 BuildRequires: pkgconfig(pkgmgr-info)
38 BuildRequires: pkgconfig(sqlite3)
39 BuildRequires: pkgconfig(aul)
40 BuildRequires: pkgconfig(capi-appfw-app-control)
41 BuildRequires: pkgconfig(capi-appfw-app-common)
42 BuildRequires: pkgconfig(capi-appfw-service-application)
43 BuildRequires: pkgconfig(cynara-client)
44 BuildRequires: pkgconfig(cynara-creds-socket)
45 BuildRequires: pkgconfig(cynara-session)
46 BuildRequires: pkgconfig(capi-appfw-package-manager)
47 BuildRequires: pkgconfig(capi-system-info)
48 BuildRequires: pkgconfig(libsystemd)
49 BuildRequires: pkgconfig(notification)
50 BuildRequires: pkgconfig(gmock)
51 BuildRequires: pkgconfig(gio-2.0)
52 Requires(postun): /sbin/ldconfig
53 Requires: org.tizen.isf-kbd-mode-changer
55 %define APP_PREFIX %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer/bin/
58 Input Service Framewok (ISF) is an input method (IM) platform, and it has been derived from SCIM.
62 Summary: ISF header files
63 Requires: %{name} = %{version}-%{release}
66 This package contains ISF header files for ISE development.
68 %package -n org.tizen.isf-kbd-mode-changer
69 Summary: Keyboard mode changer
70 Group: Graphics & UI Framework/Input
71 Requires: %{name} = %{version}-%{release}
73 %description -n org.tizen.isf-kbd-mode-changer
74 Keyboard mode changer application
77 Summary: Unit test cases for isf
78 Group: Graphics & UI Framework/Input
79 Requires: %{name} = %{version}-%{release}
81 %description unittests
82 Unit test cases for isf
84 %package -n ise-engine-loader
85 Summary: ISE engine loader
86 Group: Graphics & UI Framework/Input
88 Requires: %{name} = %{version}-%{release}
90 %description -n ise-engine-loader
98 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
99 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
100 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
102 export CFLAGS="$CFLAGS -DWAYLAND"
103 export CXXFLAGS="$CXXFLAGS -DWAYLAND"
106 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
107 export CFLAGS="$CFLAGS -fvisibility=hidden ${GC_SECTIONS_FLAGS} -Werror"
108 export CXXFLAGS="$CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden ${GC_SECTIONS_FLAGS} -Werror"
109 export CFLAGS_BASIS="$CFLAGS"
110 export CXXFLAGS_BASIS="$CXXFLAGS"
113 %configure --disable-static \
114 --disable-tray-icon \
115 --disable-filter-sctc \
117 --disable-efl-immodule \
119 --disable-frontend-x11 \
120 --disable-multiwindow-support \
121 --disable-ime-embed-app \
122 --with-ro-app-dir=%{TZ_SYS_RO_APP} \
123 --with-ro-packages-dir=%{TZ_SYS_RO_PACKAGES} \
124 --enable-remote-input
131 mkdir -p %{buildroot}%{_tmpfilesdir}
132 install -m 0644 %SOURCE100 %{buildroot}%{_tmpfilesdir}/%{name}.conf
134 mkdir -p %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
135 cp -af ism/dump/isf_log_dump.sh %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
136 mkdir -p %{buildroot}/etc/scim/conf
137 mkdir -p %{buildroot}/usr/share/upgrade/scripts/
139 mkdir -p %{buildroot}%{_prefix}/lib/systemd/system
140 install -m 0644 %SOURCE200 %{buildroot}%{_unitdir}/engine-loader.service
142 mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
143 install -m 0644 %SOURCE300 %{buildroot}%{_datadir}/dbus-1/system-services/org.tizen.engine-loader.service
145 mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
146 install -m 0644 %SOURCE400 %{buildroot}%{_sysconfdir}/dbus-1/system.d/engine-loader.conf
150 cat scim.lang > isf.lang
155 %postun -p /sbin/ldconfig
159 %manifest %{name}.manifest
160 %defattr(-,root,root,-)
162 %attr(644,root,root) %{_sysconfdir}/profile.d/isf.sh
163 %{_sysconfdir}/scim/global
164 %{_sysconfdir}/scim/config
165 %{_datadir}/scim/icons/*
166 %{_bindir}/isf-demo-efl
167 %{_bindir}/isf-panel-efl
168 %{_libdir}/ecore_imf/modules/*/*/*.so
169 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
170 %{_libdir}/scim-1.0/1.4.0/PanelAgent/*.so
171 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
172 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
173 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
174 %{_libdir}/scim-1.0/scim-helper-launcher
175 %{_libdir}/libscim-*.so.*
176 %{_libdir}/libisf-control.so.*
177 %{_libdir}/libscim_imengine.so.*
178 %{TZ_SYS_RO_ETC}/package-manager/parserlib/category/libimeparser.so
180 %{TZ_SYS_ETC}/dump.d/module.d/*
181 %{_tmpfilesdir}/%{name}.conf
184 %defattr(-,root,root,-)
185 %{_includedir}/scim-1.0/*
186 %{_libdir}/libscim-*.so
187 %{_includedir}/isf-control/*
188 %{_includedir}/scim_imengine/*
189 %{_libdir}/libisf-control.so
190 %{_libdir}/libscim_imengine.so
191 %{_libdir}/pkgconfig/isf.pc
192 %{_libdir}/pkgconfig/scim.pc
193 %{_libdir}/pkgconfig/isf-control.pc
195 %post -n org.tizen.isf-kbd-mode-changer
196 mkdir -p %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer
198 %files -n org.tizen.isf-kbd-mode-changer
199 %manifest org.tizen.isf-kbd-mode-changer.manifest
201 %{TZ_SYS_RO_PACKAGES}/org.tizen.isf-kbd-mode-changer.xml
205 %manifest isf-unittests.manifest
207 %defattr(-,root,root,-)
210 %files -n ise-engine-loader
211 %manifest ise-engine-loader.manifest
213 %attr(0755,ui_fw,ui_fw) %{_bindir}/ise-engine-loader
214 %attr(0644,root,root) %{_unitdir}/engine-loader.service
215 %attr(0644,root,root) %{_datadir}/dbus-1/system-services/org.tizen.engine-loader.service
216 %config %{_sysconfdir}/dbus-1/system.d/engine-loader.conf