3 Summary: Input Service Framework
6 Group: Graphics & UI Framework/Input
8 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: edje-bin
10 BuildRequires: gettext-tools
11 BuildRequires: pkgconfig(appcore-efl)
12 BuildRequires: pkgconfig(elementary)
13 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(ecore-wayland)
16 BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
17 BuildRequires: pkgconfig(text-client)
18 BuildRequires: pkgconfig(input-method-client)
20 BuildRequires: pkgconfig(ecore-x)
21 BuildRequires: pkgconfig(x11)
22 BuildRequires: pkgconfig(tts)
24 BuildRequires: pkgconfig(ecore)
25 BuildRequires: pkgconfig(evas)
26 BuildRequires: pkgconfig(edje)
27 BuildRequires: pkgconfig(dlog)
28 BuildRequires: pkgconfig(edbus)
29 BuildRequires: pkgconfig(capi-network-bluetooth)
30 BuildRequires: pkgconfig(feedback)
31 BuildRequires: efl-extension-devel
32 BuildRequires: pkgconfig(libtzplatform-config)
33 BuildRequires: pkgconfig(pkgmgr-info)
34 BuildRequires: pkgconfig(db-util)
35 BuildRequires: pkgconfig(capi-appfw-app-control)
36 BuildRequires: pkgconfig(capi-appfw-application)
37 BuildRequires: pkgconfig(cynara-client)
38 BuildRequires: pkgconfig(cynara-creds-socket)
39 BuildRequires: pkgconfig(cynara-session)
40 BuildRequires: capi-appfw-package-manager-devel
41 Requires(postun): /sbin/ldconfig
42 %if "%{?profile}" == "mobile"
43 BuildRequires: pkgconfig(notification)
44 Requires: org.tizen.isf-kbd-mode-changer
47 %define APP_PREFIX %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer/bin/
50 Input Service Framewok (ISF) is an input method (IM) platform, and it has been derived from SCIM.
54 Summary: ISF header files
55 Requires: %{name} = %{version}-%{release}
58 This package contains ISF header files for ISE development.
60 %package -n org.tizen.isf-kbd-mode-changer
61 Summary: isf-kbd-mode-changer
63 Requires: %{name} = %{version}-%{release}
65 %description -n org.tizen.isf-kbd-mode-changer
72 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
73 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
74 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
76 %if "%{profile}" == "wearable"
77 CFLAGS+=" -D_WEARABLE";
78 CXXFLAGS+=" -D_WEARABLE";
81 %if "%{profile}" == "mobile"
83 CXXFLAGS+=" -D_MOBILE";
86 %if "%{profile}" == "tv"
93 CXXFLAGS+=" -DWAYLAND"
96 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
98 CFLAGS+=" -fvisibility=hidden ${GC_SECTIONS_FLAGS} "; export CFLAGS
100 CXXFLAGS+=" -fvisibility=hidden -fvisibility-inlines-hidden ${GC_SECTIONS_FLAGS} ";export CXXFLAGS
103 %configure --disable-static \
104 --disable-tray-icon \
105 --disable-filter-sctc \
107 --disable-efl-immodule \
109 --disable-frontend-x11 \
110 --disable-multiwindow-support \
111 --disable-ime-embed-app \
112 --with-ro-app-dir=%{TZ_SYS_RO_APP} \
113 --with-ro-packages-dir=%{TZ_SYS_RO_PACKAGES}
120 mkdir -p %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
121 cp -af ism/dump/isf_log_dump.sh %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
122 mkdir -p %{buildroot}/etc/scim/conf
125 cat scim.lang > isf.lang
127 %if "%{?profile}" == "mobile"
128 mkdir -p %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
129 ln -sf %{_prefix}/lib/systemd/user/scim.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
131 ln -sf %{_libdir}/ecore_imf/modules/wayland/v-1.16/module.so %{_libdir}/ecore_imf/modules/wayland/v-1.16/libwltextinputmodule.so
135 %postun -p /sbin/ldconfig
139 %manifest %{name}.manifest
140 %defattr(-,root,root,-)
142 %{_prefix}/lib/systemd/user/default.target.wants/scim.path
143 %{_prefix}/lib/systemd/user/scim.service
144 %{_prefix}/lib/systemd/user/scim.path
145 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
146 %{_sysconfdir}/scim/global
147 %{_sysconfdir}/scim/config
148 %{_datadir}/scim/isf_candidate_theme1.edj
149 %{_datadir}/scim/icons/*
150 %{_bindir}/isf-demo-efl
151 %{_bindir}/isf-panel-efl
154 %{_libdir}/ecore_imf/modules/*/*/*.so
155 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
156 %{_libdir}/scim-1.0/1.4.0/PanelAgent/*.so
157 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
158 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
159 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
160 %{_libdir}/scim-1.0/scim-launcher
161 %{_libdir}/scim-1.0/scim-helper-launcher
162 %{_libdir}/libscim-*.so*
164 %{TZ_SYS_ETC}/dump.d/module.d/*
167 %defattr(-,root,root,-)
168 %{_includedir}/scim-1.0/*
169 %{_libdir}/libscim-*.so
170 %{_libdir}/pkgconfig/isf.pc
171 %{_libdir}/pkgconfig/scim.pc
173 %post -n org.tizen.isf-kbd-mode-changer
174 mkdir -p %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer
176 %files -n org.tizen.isf-kbd-mode-changer
177 %manifest org.tizen.isf-kbd-mode-changer.manifest
178 %{TZ_SYS_RO_PACKAGES}/org.tizen.isf-kbd-mode-changer.xml