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 %if "%{?profile}" == "mobile"
28 BuildRequires: pkgconfig(notification)
30 BuildRequires: pkgconfig(dlog)
31 BuildRequires: pkgconfig(edbus)
32 BuildRequires: pkgconfig(capi-network-bluetooth)
33 BuildRequires: pkgconfig(feedback)
34 BuildRequires: efl-extension-devel
35 BuildRequires: pkgconfig(libtzplatform-config)
36 BuildRequires: pkgconfig(pkgmgr-info)
37 BuildRequires: pkgconfig(db-util)
38 BuildRequires: pkgconfig(capi-appfw-app-control)
39 BuildRequires: pkgconfig(capi-appfw-application)
40 BuildRequires: pkgconfig(cynara-client)
41 BuildRequires: pkgconfig(cynara-creds-socket)
42 BuildRequires: pkgconfig(cynara-session)
43 BuildRequires: capi-appfw-package-manager-devel
44 Requires(postun): /sbin/ldconfig
45 %if %{without wayland}
46 Requires: org.tizen.isf-kbd-mode-changer
49 %define _optexecdir /opt/usr/devel/usr/bin/
50 %define APP_PREFIX %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer/bin/
53 Input Service Framewok (ISF) is an input method (IM) platform, and it has been derived from SCIM.
57 Summary: ISF header files
58 Requires: %{name} = %{version}-%{release}
61 This package contains ISF header files for ISE development.
63 %package -n org.tizen.isf-kbd-mode-changer
64 Summary: isf-kbd-mode-changer
66 Requires: %{name} = %{version}-%{release}
68 %description -n org.tizen.isf-kbd-mode-changer
75 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
76 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
77 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
79 %if "%{profile}" == "wearable"
80 CFLAGS+=" -D_WEARABLE";
81 CXXFLAGS+=" -D_WEARABLE";
84 %if "%{profile}" == "mobile"
86 CXXFLAGS+=" -D_MOBILE";
89 %if "%{profile}" == "tv"
96 CXXFLAGS+=" -DWAYLAND"
99 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
101 CFLAGS+=" -fvisibility=hidden ${GC_SECTIONS_FLAGS} -flto "; export CFLAGS
103 CXXFLAGS+=" -fvisibility=hidden -fvisibility-inlines-hidden ${GC_SECTIONS_FLAGS} -flto ";export CXXFLAGS
106 %configure --disable-static \
107 --disable-tray-icon \
108 --disable-filter-sctc \
110 --disable-efl-immodule \
112 --disable-frontend-x11 \
113 --disable-multiwindow-support \
114 --disable-ime-embed-app \
115 --with-ro-app-dir=%{TZ_SYS_RO_APP} \
116 --with-ro-packages-dir=%{TZ_SYS_RO_PACKAGES}
123 mkdir -p %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
124 cp -af ism/dump/isf_log_dump.sh %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
125 mkdir -p %{buildroot}/etc/scim/conf
128 cat scim.lang > isf.lang
130 %if "%{?tizen_profile_name}" == "mobile"
131 mkdir -p %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
132 ln -sf %{_prefix}/lib/systemd/user/scim.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
134 ln -sf %{_libdir}/ecore_imf/modules/wayland/v-1.16/module.so %{_libdir}/ecore_imf/modules/wayland/v-1.16/libwltextinputmodule.so
138 %postun -p /sbin/ldconfig
142 %manifest %{name}.manifest
143 %defattr(-,root,root,-)
145 %{_prefix}/lib/systemd/user/default.target.wants/scim.path
146 %{_prefix}/lib/systemd/user/scim.service
147 %{_prefix}/lib/systemd/user/scim.path
148 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
149 %{_sysconfdir}/scim/global
150 %{_sysconfdir}/scim/config
151 %{_datadir}/scim/isf_candidate_theme1.edj
152 %{_datadir}/scim/icons/*
153 %{_optexecdir}/isf-demo-efl
154 %{_bindir}/isf-panel-efl
155 %{_libdir}/ecore_imf/modules/*/*/*.so
158 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
159 %{_libdir}/scim-1.0/1.4.0/PanelAgent/*.so
160 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
161 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
162 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
163 %{_libdir}/scim-1.0/scim-launcher
164 %{_libdir}/scim-1.0/scim-helper-launcher
165 %{_libdir}/libscim-*.so*
167 %{TZ_SYS_ETC}/dump.d/module.d/*
170 %defattr(-,root,root,-)
171 %{_includedir}/scim-1.0/*
172 %{_libdir}/libscim-*.so
173 %{_libdir}/pkgconfig/isf.pc
174 %{_libdir}/pkgconfig/scim.pc
176 %post -n org.tizen.isf-kbd-mode-changer
177 mkdir -p %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer
179 %files -n org.tizen.isf-kbd-mode-changer
180 %manifest org.tizen.isf-kbd-mode-changer.manifest
181 %{TZ_SYS_RO_PACKAGES}/org.tizen.isf-kbd-mode-changer.xml