Name: ibus-chewing Version: 1.0.2.20090302 Release: 1%{?dist} Summary: The Chewing engine for IBus input platform License: GPLv2+ Group: System Environment/Libraries URL: http://code.google.com/p/ibus/ Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext-devel BuildRequires: gtk2-devel BuildRequires: ibus-devel >= 1.1 BuildRequires: cmake BuildRequires: gob2 BuildRequires: libchewing-devel >= 0.3.2-4 BuildRequires: pkgconfig BuildRequires: GConf2-devel Requires: ibus >= 1.1 Requires: libchewing >= 0.3.2-4 Requires: GConf2 Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 %description The Chewing engine for IBus platform. It provides Chinese input method from libchewing. %prep %setup -q -n %{name}-%{version}-Source %build %cmake -DCMAKE_INSTALL_PREFIX=%{_usr} make VERBOSE=1 C_DEFINES="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %pre if [ "$1" -gt 1 ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null || : fi %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schema > /dev/null || : %preun if [ "$1" -eq 0 ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schema > /dev/null || : fi %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS README ChangeLog NEWS COPYING %{_libexecdir}/ibus-engine-chewing %{_datadir}/%{name} %{_datadir}/ibus/component/chewing.xml %config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schema %changelog * Mon Mar 02 2009 Ding-Yi Chen - 1.0.2.20090302-1 - Required gconf2 -> GConf2. - Fix RPM install issues. * Fri Feb 27 2009 Ding-Yi Chen - 1.0.1.20090227-1 - Setting shows/hides KBType, selKeys, and various settings. - Add gconf schema. - Fix some memory leaking checked. - Move some function to cmake_modules. - Fix Google code issue 281 * Tue Feb 24 2009 Fedora Release Engineering - 0.1.1.20081023-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 18 2009 Ding-Yi Chen - 1.0.0.20090220-1 - First working version for IBus C * Wed Jan 28 2009 Ding-Yi Chen - 1.0.0.20090128-1 - Fix the binding with libchewing 0.3.2. * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.1.1.20081023-2 - Rebuild for Python 2.6 * Thu Oct 23 2008 Huang Peng - 0.1.1.20080923-1 - Update to 0.1.1.20080923. * Wed Sep 17 2008 Huang Peng - 0.1.1.20080917-1 - Update to 0.1.1.20080917. * Tue Sep 16 2008 Huang Peng - 0.1.1.20080916-1 - Update to 0.1.1.20080916. * Mon Sep 09 2008 Huang Peng - 0.1.1.20080901-1 - Update to 0.1.1.20080901. * Fri Aug 15 2008 Huang Peng - 0.1.1.20081023-1 - The first version.