190537a
Name:       ibus-chewing
8459989
Version:    1.2.0.20090818
8459989
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
23bd312
BuildRequires:  cmake >= 2.4
d453452
BuildRequires:  gob2
d453452
BuildRequires:  libchewing-devel >= 0.3.2-4
190537a
BuildRequires:  pkgconfig
d453452
BuildRequires:  GConf2-devel
a854b69
BuildRequires:  libXtst-devel
d453452
Requires:   ibus >= 1.1
d453452
Requires:  libchewing >= 0.3.2-4
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
8459989
# $RPM_OPT_FLAGS should be  loaded from cmake macro.
8459989
%cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo .
8459989
make VERBOSE=1  %{?_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
717232b
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
054f499
[ -r %{_sysconfdir}/gconf/schemas/%{name}.schemas ] &&
4396501
gconftool-2 --makefile-uninstall-rule \
4396501
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
054f499
# Upgrading 1.0.2.20090302-1.fc11 or older?
054f499
[ -r %{_sysconfdir}/gconf/schemas/%{name}.schema ] &&
054f499
gconftool-2 --makefile-uninstall-rule \
054f499
%{_sysconfdir}/gconf/schemas/%{name}.schema >/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
8459989
* Tue Aug 18 2009 Ding-Yi Chen <dchen at redhat.com> - 1.2.0.20090818-1
8459989
- Merged 1.2 and 1.1 source code.
8459989
- Addressed Upstream (IBUS Google code) issue 471.
8459989
- Remove libX11 dependency.
8459989
8459989
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090624-2
8459989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8459989
8459989
* Fri Jul 24 2009 Ding-Yi Chen <dchen at redhat.com> - 1.2.0.20090624-1
8459989
- Lookup table now shows the selection key.
8459989
8459989
* Mon Jun 22 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090622-1
8459989
- Update to 1.2.0.20090622.
8459989
717232b
* Fri May 22 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.10.20090523-2
717232b
- Add back the export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
054f499
054f499
* Fri May 22 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.10.20090523-1
717232b
- Applied Lubomir Rintel's patch
717232b
717232b
* Fri May 22 2009 - Ding-Yi Chen <dchen at redhat.com> - 1.0.10.20090522-1
717232b
- Now the 1st down key brings the longest possible phrases.
717232b
  The 2nd down key brings the 2nd longest possible phrases from the back,
717232b
  unlike the previous versions where the cursor stays in the head of longest phrase.
717232b
- Add force lowercase in English mode option.
717232b
- Fix double free issue when destroy ibus-chewing.
717232b
- Hide ibus-chewing-panel when ibus-chewing is focus-out
a639644
58edb21
* Mon May 11 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.9.20090508-1
58edb21
  Now commit is forced when switch of ibus-chewing or current application loses focus.
58edb21
- New ibus-chewing.png is contribute by WM.
58edb21
- input-keyboard.png is no longer needed and removed.
58edb21
- ibus-engine-chewing -v option now need an integer as verbose level.
58edb21
- ibus-chewing.schemas is now generated.
58edb21
- Fix some CMake modules bugs.
58edb21
58edb21
* Tue Apr 28 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.8.20090428-1
9d0a44a
Fix the errors which Funda Wang as pointing out:
58edb21
- Move src/chewing.xml.in to data/
58edb21
- Fixed some typo in next_version targets.
58edb21
- Remove GConf2 package requirement, while add gconftool-2 requirement.
23bd312
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
054f499
* Sun Mar 22 2009 Lubomir Rintel <lkundrak@v3.sk> - 1.0.3.20090311-2
054f499
- Properly reinstall the schema when updating from 1.0.2.20090303-1 or older
054f499
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
23bd312
    - Sync chewing candPerPage and IBusTable->page_size
a854b69
- Sync between IM and keyboard (Experimental)
23bd312
    - 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.
23bd312
23bd312
23bd312
23bd312
a639644
054f499
8459989
8459989