190537a
Name:       ibus-chewing
11233f9
Version:    1.0.5.20090330
11233f9
Release:    1%{?dist}
190537a
Summary:    The Chewing engine for IBus input platform
190537a
License:    GPLv2+
190537a
Group:      System Environment/Libraries
190537a
URL:        http://code.google.com/p/ibus/
d453452
Source0:    http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
190537a
190537a
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
190537a
190537a
BuildRequires:  gettext-devel
d453452
BuildRequires:  gtk2-devel
d453452
BuildRequires:  ibus-devel >= 1.1
d453452
BuildRequires:  cmake
d453452
BuildRequires:  gob2
d453452
BuildRequires:  libchewing-devel >= 0.3.2-4
190537a
BuildRequires:  pkgconfig
d453452
BuildRequires:  GConf2-devel
a854b69
BuildRequires:  libX11-devel
a854b69
BuildRequires:  libXtst-devel
d453452
Requires:   ibus >= 1.1
d453452
Requires:  libchewing >= 0.3.2-4
c6c5458
Requires:  GConf2
d453452
Requires(pre): GConf2
d453452
Requires(post): GConf2
d453452
Requires(preun): GConf2
190537a
190537a
%description
190537a
The Chewing engine for IBus platform. It provides Chinese input method from
190537a
libchewing.
190537a
190537a
%prep
d453452
%setup -q -n %{name}-%{version}-Source
190537a
190537a
%build
d453452
%cmake -DCMAKE_INSTALL_PREFIX=%{_usr}
d453452
make VERBOSE=1 C_DEFINES="$RPM_OPT_FLAGS" %{?_smp_mflags}
190537a
190537a
%install
190537a
rm -rf $RPM_BUILD_ROOT
d453452
make install DESTDIR=$RPM_BUILD_ROOT
d453452
%find_lang %{name}
190537a
d453452
%pre
d453452
if [ "$1" -gt 1 ] ; then
c6c5458
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
4396501
gconftool-2 --makefile-uninstall-rule \
4396501
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
d453452
fi
d453452
d453452
%post
c6c5458
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
d453452
gconftool-2 --makefile-install-rule \
a854b69
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
190537a
d453452
%preun
d453452
if [ "$1" -eq 0 ] ; then
c6c5458
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
d453452
gconftool-2 --makefile-uninstall-rule \
a854b69
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
d453452
fi
d453452
190537a
%clean
190537a
rm -rf $RPM_BUILD_ROOT
190537a
190537a
%files -f %{name}.lang
190537a
%defattr(-,root,root,-)
d453452
%doc AUTHORS README ChangeLog NEWS COPYING
d453452
%{_libexecdir}/ibus-engine-chewing
d453452
%{_datadir}/%{name}
d453452
%{_datadir}/ibus/component/chewing.xml
a854b69
%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas
190537a
190537a
%changelog
11233f9
* Mon Mar 30 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.5.20090330-1
11233f9
- Added tooltips.
11233f9
- Revealed the sync caps lock setting.
11233f9
- Fixed Right key bug.
11233f9
- Added CMake policy 0011 as OLD.
11233f9
4396501
* Mon Mar 23 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.4.20090323-2
11233f9
- Fix koji build issues.
4396501
4396501
* Mon Mar 23 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.4.20090323-1
4396501
- Various Settings are now in dialog.
4396501
- Integer settings are now revealed.
4396501
- MakerDialog.gob is now available.
4396501
- Work around of easy symbol input.
4396501
- Fix iBus Google issue 310.
4396501
e961006
a854b69
* Wed Mar 11 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.3.20090311-1
a854b69
- IBus Google issue 305:  ibus-chewing.schema -> ibus-chewing.schemas
a854b69
- IBus Google issue 307:  hardcoded chewing datadir
a854b69
- Sync chewing candPerPage and IBusTable->page_size
a854b69
- Sync between IM and keyboard (Experimental)
a854b69
a854b69
- ibus-chewing.schema -> ibus-chewing.schemas
a854b69
a854b69
* Tue Mar 03 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.2.20090303-1
c6c5458
- Required gconf2 -> GConf2.
c6c5458
- Fix RPM install issues.
c6c5458
d453452
* Fri Feb 27 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.1.20090227-1
d453452
- Setting shows/hides KBType, selKeys, and various settings.
d453452
- Add gconf schema.
d453452
- Fix some memory leaking checked.
d453452
- Move some function to cmake_modules.
d453452
- Fix Google code issue 281
da473be
c6c5458
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.20081023-3
c6c5458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c6c5458
d453452
* Wed Feb 18 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.0.20090220-1
d453452
- First working version for IBus C
7c553b1
d453452
* Wed Jan 28 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.0.20090128-1
d453452
- Fix the binding with libchewing 0.3.2.
870aaf2
c6c5458
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081023-2
c6c5458
- Rebuild for Python 2.6
c6c5458
c6c5458
* Thu Oct 23 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080923-1
c6c5458
- Update to 0.1.1.20080923.
c6c5458
c6c5458
* Wed Sep 17 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080917-1
c6c5458
- Update to 0.1.1.20080917.
c6c5458
c6c5458
* Tue Sep 16 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080916-1
c6c5458
- Update to 0.1.1.20080916.
c6c5458
c6c5458
* Mon Sep 09 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
c6c5458
- Update to 0.1.1.20080901.
c6c5458
d453452
* Fri Aug 15 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20081023-1
190537a
- The first version.