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+=" ${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 ln -sf %{_libdir}/ecore_imf/modules/wayland/v-1.16/module.so %{_libdir}/ecore_imf/modules/wayland/v-1.16/libwltextinputmodule.so
131 %postun -p /sbin/ldconfig
135 %manifest %{name}.manifest
136 %defattr(-,root,root,-)
138 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
139 %{_sysconfdir}/scim/global
140 %{_sysconfdir}/scim/config
141 %{_datadir}/scim/isf_candidate_theme1.edj
142 %{_datadir}/scim/icons/*
143 %{_bindir}/isf-demo-efl
144 %{_bindir}/isf-panel-efl
147 %{_libdir}/ecore_imf/modules/*/*/*.so
148 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
149 %{_libdir}/scim-1.0/1.4.0/PanelAgent/*.so
150 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
151 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
152 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
153 %{_libdir}/scim-1.0/scim-launcher
154 %{_libdir}/scim-1.0/scim-helper-launcher
155 %{_libdir}/libscim-*.so*
157 %{TZ_SYS_ETC}/dump.d/module.d/*
160 %defattr(-,root,root,-)
161 %{_includedir}/scim-1.0/*
162 %{_libdir}/libscim-*.so
163 %{_libdir}/pkgconfig/isf.pc
164 %{_libdir}/pkgconfig/scim.pc
166 %post -n org.tizen.isf-kbd-mode-changer
167 mkdir -p %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer
169 %files -n org.tizen.isf-kbd-mode-changer
170 %manifest org.tizen.isf-kbd-mode-changer.manifest
171 %{TZ_SYS_RO_PACKAGES}/org.tizen.isf-kbd-mode-changer.xml