1 Name: ise-engine-sunpinyin
2 Summary: Chinese Pinyin ISE
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: gettext-tools
10 BuildRequires: pkgconfig(isf)
11 BuildRequires: pkgconfig(glib-2.0)
12 BuildRequires: pkgconfig(sqlite3)
13 BuildRequires: pkgconfig(ecore)
14 Requires(post): /sbin/ldconfig
15 Requires(postun): /sbin/ldconfig
19 Chinese Pinyin Engine ISE and it has been supported by Input Service Framework(ISF).
22 Summary: ise-engine-sunpinyin header files
23 Group: Development/Libraries
26 This package contains Chinese Pinyin engine ISE header files and static libraries for Soft ISE development.
33 %configure --disable-static
39 execstack -c %{buildroot}%{_libdir}/scim-1.0/1.4.0/IMEngine/ise-engine-sunpinyin.so
40 mkdir -p %{buildroot}%{_datadir}/license
41 install -m0644 %{_builddir}/%{buildsubdir}/LGPL.LICENSE %{buildroot}%{_datadir}/license/%{name}
42 cat %{_builddir}/%{buildsubdir}/OPENSOLARIS.LICENSE >> %{buildroot}%{_datadir}/license/%{name}
44 %define __debug_install_post \
45 %{_rpmconfigdir}/find-debuginfo.sh %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"\
48 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
53 %defattr(-,root,root,-)
54 %{_datadir}/scim/icons/sunpinyin_logo.png
56 %{_datadir}/scim/ise-engine-sunpinyin/*
57 %{_libdir}/scim-1.0/1.4.0/IMEngine/ise-engine-sunpinyin.so
58 %{_libdir}/libsunpinyin*.so
59 %{_datadir}/license/%{name}
62 %defattr(-,root,root,-)
64 %{_libdir}/pkgconfig/sunpinyin-2.0.pc