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 BuildRequires: edje-bin
13 BuildRequires: gettext-tools
14 BuildRequires: pkgconfig(elementary)
15 BuildRequires: pkgconfig(vconf)
17 BuildRequires: pkgconfig(ecore-wl2)
18 BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
19 BuildRequires: pkgconfig(text-client)
20 BuildRequires: pkgconfig(input-method-client)
22 BuildRequires: pkgconfig(ecore-x)
23 BuildRequires: pkgconfig(x11)
24 BuildRequires: pkgconfig(tts)
26 BuildRequires: pkgconfig(eina)
27 BuildRequires: pkgconfig(ecore)
28 BuildRequires: pkgconfig(evas)
29 BuildRequires: pkgconfig(edje)
30 BuildRequires: pkgconfig(dlog)
31 BuildRequires: pkgconfig(edbus)
32 BuildRequires: pkgconfig(glib-2.0)
33 BuildRequires: pkgconfig(capi-network-bluetooth)
34 BuildRequires: pkgconfig(efl-extension)
35 BuildRequires: pkgconfig(libtzplatform-config)
36 BuildRequires: pkgconfig(pkgmgr-info)
37 BuildRequires: pkgconfig(db-util)
38 BuildRequires: pkgconfig(aul)
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: pkgconfig(capi-appfw-package-manager)
45 BuildRequires: pkgconfig(capi-system-info)
46 BuildRequires: pkgconfig(libsystemd)
47 BuildRequires: pkgconfig(notification)
48 Requires(postun): /sbin/ldconfig
49 Requires: org.tizen.isf-kbd-mode-changer
51 %define APP_PREFIX %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer/bin/
54 Input Service Framewok (ISF) is an input method (IM) platform, and it has been derived from SCIM.
58 Summary: ISF header files
59 Requires: %{name} = %{version}-%{release}
62 This package contains ISF header files for ISE development.
64 %package -n org.tizen.isf-kbd-mode-changer
65 Summary: Keyboard mode changer
66 Group: Graphics & UI Framework/Input
67 Requires: %{name} = %{version}-%{release}
69 %description -n org.tizen.isf-kbd-mode-changer
70 Keyboard mode changer application
76 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
77 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
78 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
80 export CFLAGS="$CFLAGS -DWAYLAND"
81 export CXXFLAGS="$CXXFLAGS -DWAYLAND"
84 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
85 export CFLAGS="$CFLAGS -fvisibility=hidden ${GC_SECTIONS_FLAGS} -Werror"
86 export CXXFLAGS="$CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden ${GC_SECTIONS_FLAGS} -Werror"
87 export CFLAGS_BASIS="$CFLAGS"
88 export CXXFLAGS_BASIS="$CXXFLAGS"
91 %configure --disable-static \
93 --disable-filter-sctc \
95 --disable-efl-immodule \
97 --disable-frontend-x11 \
98 --disable-multiwindow-support \
99 --disable-ime-embed-app \
100 --with-ro-app-dir=%{TZ_SYS_RO_APP} \
101 --with-ro-packages-dir=%{TZ_SYS_RO_PACKAGES} \
102 --enable-remote-input
109 mkdir -p %{buildroot}%{_tmpfilesdir}
110 install -m 0644 %SOURCE100 %{buildroot}%{_tmpfilesdir}/%{name}.conf
112 mkdir -p %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
113 cp -af ism/dump/isf_log_dump.sh %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
114 mkdir -p %{buildroot}/etc/scim/conf
115 mkdir -p %{buildroot}/usr/share/upgrade/scripts/
119 cat scim.lang > isf.lang
121 ln -sf "module.so" %{_libdir}/ecore_imf/modules/wayland/v-1.20/libwltextinputmodule.so
125 %postun -p /sbin/ldconfig
129 %manifest %{name}.manifest
130 %defattr(-,root,root,-)
132 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
133 %{_sysconfdir}/scim/global
134 %{_sysconfdir}/scim/config
135 %{_datadir}/scim/icons/*
136 %{_bindir}/isf-demo-efl
137 %{_bindir}/isf-panel-efl
138 %{_libdir}/ecore_imf/modules/*/*/*.so
139 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
140 %{_libdir}/scim-1.0/1.4.0/PanelAgent/*.so
141 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
142 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
143 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
144 %{_libdir}/scim-1.0/scim-helper-launcher
145 %{_libdir}/libscim-*.so.*
146 %{TZ_SYS_RO_ETC}/package-manager/parserlib/category/libimeparser.so
148 %{TZ_SYS_ETC}/dump.d/module.d/*
149 %{_tmpfilesdir}/%{name}.conf
152 %defattr(-,root,root,-)
153 %{_includedir}/scim-1.0/*
154 %{_libdir}/libscim-*.so
155 %{_libdir}/pkgconfig/isf.pc
156 %{_libdir}/pkgconfig/scim.pc
158 %post -n org.tizen.isf-kbd-mode-changer
159 mkdir -p %{TZ_SYS_RO_APP}/org.tizen.isf-kbd-mode-changer
161 %files -n org.tizen.isf-kbd-mode-changer
162 %manifest org.tizen.isf-kbd-mode-changer.manifest
164 %{TZ_SYS_RO_PACKAGES}/org.tizen.isf-kbd-mode-changer.xml