2 %define _ugdir %{_usrdir}/ug
5 Summary: Input Service Framework
8 Group: System Environment/Libraries
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: edje-bin
13 BuildRequires: embryo-bin
14 BuildRequires: gettext-tools
15 BuildRequires: pkgconfig(appcore-efl)
16 BuildRequires: pkgconfig(libprivilege-control)
17 BuildRequires: pkgconfig(elementary)
18 BuildRequires: pkgconfig(utilX)
19 BuildRequires: pkgconfig(vconf)
20 BuildRequires: pkgconfig(ui-gadget-1)
21 BuildRequires: pkgconfig(ecore)
22 BuildRequires: pkgconfig(edje)
23 BuildRequires: pkgconfig(x11)
24 BuildRequires: pkgconfig(notification)
25 BuildRequires: pkgconfig(dlog)
26 Requires(post): /sbin/ldconfig /usr/bin/vconftool e17 net-config libmm-sound
27 Requires(postun): /sbin/ldconfig
30 Input Service Framewok (ISF) is an input method (IM) platform, and it has been derived from SCIM.
34 Summary: ISF header files
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 This package contains ISF header files for ISE development.
47 CFLAGS+=" -fvisibility=hidden "; export CFLAGS
48 CXXFLAGS+=" -fvisibility=hidden -fvisibility-inlines-hidden ";export CXXFLAGS
51 %configure --disable-static \
52 --disable-tray-icon --disable-filter-sctc
59 mkdir -p %{buildroot}%{_datadir}/license
60 install -m0644 %{_builddir}/%{buildsubdir}/COPYING %{buildroot}%{_datadir}/license/%{name}
62 install -d %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
63 install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/user/
64 ln -sf ../scim.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/scim.service
68 mkdir -p /etc/scim/conf
69 mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/Helper
70 mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/SetupUI
71 mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
74 /usr/bin/vconftool set -t bool file/private/isf/autocapital_allow 1 -g 6514 || :
75 /usr/bin/vconftool set -t bool file/private/isf/autoperiod_allow 0 -g 6514 || :
76 /usr/bin/vconftool set -t string db/isf/input_language "en_US" -g 5000 || :
78 %postun -p /sbin/ldconfig
82 %manifest %{name}.manifest
83 /etc/smack/accesses2.d/%{name}.rule
84 %defattr(-,root,root,-)
85 %{_libdir}/systemd/user/core-efl.target.wants/scim.service
86 %{_libdir}/systemd/user/scim.service
87 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
88 %{_sysconfdir}/scim/global
89 %{_sysconfdir}/scim/config
90 %{_datadir}/scim/*.edj
91 %{_datadir}/scim/icons/*
93 %{_bindir}/isf-demo-efl
96 %{_bindir}/isf-panel-efl
97 %{_bindir}/isf-query-engines
98 %{_libdir}/*/immodules/*.so
99 %{_libdir}/scim-1.0/1.4.0/IMEngine/socket.so
100 %{_libdir}/scim-1.0/1.4.0/Config/simple.so
101 %{_libdir}/scim-1.0/1.4.0/Config/socket.so
102 %{_libdir}/scim-1.0/1.4.0/FrontEnd/*.so
103 %{_libdir}/scim-1.0/scim-launcher
104 %{_libdir}/scim-1.0/scim-helper-launcher
105 %{_libdir}/libscim-*.so*
106 %{_ugdir}/res/locale/*
107 %{_ugdir}/lib/libug-keyboard-setting-wizard-efl.so
108 %{_ugdir}/lib/libug-isfsetting-efl.so
109 %{_datadir}/license/%{name}
112 %defattr(-,root,root,-)
113 %{_includedir}/scim-1.0/*
114 %{_libdir}/libscim-*.so
115 %{_libdir}/pkgconfig/isf.pc
116 %{_libdir}/pkgconfig/scim.pc