b385cc
Name:       ibus-table
b385cc
Version:    1.5.0
b385cc
Release:    5%{?dist}
b385cc
Summary:    The Table engine for IBus platform
b385cc
License:    LGPLv2+
b385cc
Group:      System Environment/Libraries
b385cc
URL:        http://code.google.com/p/ibus/
b385cc
Source0:    http://mfabian.fedorapeople.org/ibus-table/%{name}-%{version}.tar.gz
b385cc
Patch1:     ibus-table-1.3.9.20110827-uppercase-umlauts.patch
b385cc
Patch2:     0001-Changes-in-dconf-values-now-get-applied-immediately.patch
b385cc
Patch3:     0001-Make-comments-about-_chinese_mode-clearer.patch
b385cc
Patch4:     0002-Improve-detection-of-simplified-and-traditional-Chin.patch
b385cc
Patch5:     0003-add-engine-chinese_variants.py-to-engine-Makefile.am.patch
b385cc
Patch6:     add-engine-chinese_variants.py-to-engine-Makefile.in.patch
b385cc
Patch7:     0001-Fix-typo-thanks-to-Mathieu-Bridon.patch
b385cc
Patch8:     0002-Add-auto_select-functionality-to-select-the-first-ph.patch
b385cc
Patch9:     0003-Update-cmode-pproperty-in-chinese-mode-only.patch
b385cc
Patch10:    0004-Fall-back-to-auto_select-False-if-neither-dconf-nor-.patch
b385cc
Patch11:    0005-Preedit-needs-to-be-updated-on-page-up-and-page-down.patch
b385cc
Patch12:    0006-Add-man-page-for-ibus-table-createdb.patch
b385cc
Patch13:    0007-prebuilt-files-for-man-page-for-ibus-table-createdb.patch
b385cc
Patch14:    0001-Fix-typo-in-ibus-table-createdb-man-page.patch
b385cc
Patch15:    0002-When-tabcreatedb.py-is-called-without-any-options-pr.patch
b385cc
Patch16:    0008-prebuilt-files-for-man-page-for-ibus-table-createdb.patch
b385cc
b385cc
Requires:       ibus > 1.3.0
b385cc
BuildRequires:  ibus-devel > 1.3.0
b385cc
b385cc
Obsoletes:   ibus-table-additional < 1.2.0.20100111-5
b385cc
b385cc
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b385cc
BuildArch:  noarch
b385cc
b385cc
%description
b385cc
The Table engine for IBus platform.
b385cc
b385cc
%package -n %{name}-devel
b385cc
Summary:        Development files for %{name}
b385cc
Group:          Development/Libraries
b385cc
Requires:       %{name} = %{version}-%{release}, pkgconfig
b385cc
b385cc
%description -n %{name}-devel
b385cc
Development files for %{name}.
b385cc
b385cc
%prep
b385cc
%setup -q
b385cc
%patch1 -p1 -b .uppercase-umlauts
b385cc
%patch2 -p1 -b .apply-dconf-changes
b385cc
%patch3 -p1 -b .make-comments-about-chinese-mode-clearer
b385cc
%patch4 -p1 -b .improve-detection-of-simplified-and-traditional-chinese
b385cc
%patch5 -p1 -b .fix-makefile-am
b385cc
%patch6 -p1 -b .fix-makefile-in
b385cc
%patch7 -p1 -b .fix-typo
b385cc
%patch8 -p1 -b .add-auto-select
b385cc
%patch9 -p1 -b .update-cmode-in-chinese-mode-only
b385cc
%patch10 -p1 -b .fall-back-to-auto-select-false-by-default
b385cc
%patch11 -p1 -b .preedit-needs-to-be-updated-when-paging
b385cc
%patch12 -p1 -b .Add-man-page-for-ibus-table-createdb
b385cc
%patch13 -p1 -b .prebuilt-files-for-man-page-for-ibus-table-createdb
b385cc
%patch14 -p1 -b .Fix-typo-in-ibus-table-createdb-man-page
b385cc
%patch15 -p1 -b .When-tabcreatedb.py-is-called-without-any-options-pr
b385cc
%patch16 -p1 -b .prebuilt-files-for-man-page-for-ibus-table-createdb
b385cc
b385cc
%build
b385cc
%configure --disable-static --disable-additional
b385cc
%__make %{?_smp_mflags}
b385cc
b385cc
%install
b385cc
%__rm -rf $RPM_BUILD_ROOT
b385cc
%__make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pkgconfig
b385cc
b385cc
%find_lang %{name}
b385cc
b385cc
%clean
b385cc
%__rm -rf $RPM_BUILD_ROOT
b385cc
b385cc
b385cc
%files -f %{name}.lang
b385cc
%defattr(-,root,root,-)
b385cc
%doc AUTHORS COPYING README
b385cc
%dir %{_datadir}/%{name}
b385cc
%dir %{_datadir}/%{name}/engine
b385cc
%dir %{_datadir}/%{name}/tables
b385cc
%dir %{_datadir}/%{name}/icons
b385cc
%dir %{_datadir}/%{name}/data
b385cc
%{_datadir}/ibus/component/table.xml
b385cc
%{_datadir}/%{name}/icons/%{name}.svg
b385cc
%{_datadir}/%{name}/icons/full-letter.svg
b385cc
%{_datadir}/%{name}/icons/full-punct.svg
b385cc
%{_datadir}/%{name}/icons/half-letter.svg
b385cc
%{_datadir}/%{name}/icons/half-punct.svg
b385cc
%{_datadir}/%{name}/icons/onechar.svg
b385cc
%{_datadir}/%{name}/icons/phrase.svg
b385cc
%{_datadir}/%{name}/icons/py-mode.svg
b385cc
%{_datadir}/%{name}/icons/tab-mode.svg
b385cc
%{_datadir}/%{name}/icons/chinese.svg
b385cc
%{_datadir}/%{name}/icons/acommit.svg
b385cc
%{_datadir}/%{name}/icons/english.svg
b385cc
%{_datadir}/%{name}/icons/ncommit.svg
b385cc
%{_datadir}/%{name}/icons/cb-mode.svg
b385cc
%{_datadir}/%{name}/icons/sc-mode.svg
b385cc
%{_datadir}/%{name}/icons/scb-mode.svg
b385cc
%{_datadir}/%{name}/icons/tc-mode.svg
b385cc
%{_datadir}/%{name}/icons/tcb-mode.svg
b385cc
%{_datadir}/%{name}/data/pinyin_table.txt.bz2
b385cc
%{_datadir}/%{name}/engine/chinese_variants.py
b385cc
%{_datadir}/%{name}/engine/chinese_variants.pyc
b385cc
%{_datadir}/%{name}/engine/chinese_variants.pyo
b385cc
%{_datadir}/%{name}/engine/factory.py
b385cc
%{_datadir}/%{name}/engine/factory.pyc
b385cc
%{_datadir}/%{name}/engine/factory.pyo
b385cc
%{_datadir}/%{name}/engine/main.py
b385cc
%{_datadir}/%{name}/engine/main.pyc
b385cc
%{_datadir}/%{name}/engine/main.pyo
b385cc
%{_datadir}/%{name}/engine/tabcreatedb.py
b385cc
%{_datadir}/%{name}/engine/tabcreatedb.pyc
b385cc
%{_datadir}/%{name}/engine/tabcreatedb.pyo
b385cc
%{_datadir}/%{name}/engine/tabdict.py
b385cc
%{_datadir}/%{name}/engine/tabdict.pyc
b385cc
%{_datadir}/%{name}/engine/tabdict.pyo
b385cc
%{_datadir}/%{name}/engine/table.py
b385cc
%{_datadir}/%{name}/engine/table.pyc
b385cc
%{_datadir}/%{name}/engine/table.pyo
b385cc
%{_datadir}/%{name}/engine/tabsqlitedb.py
b385cc
%{_datadir}/%{name}/engine/tabsqlitedb.pyc
b385cc
%{_datadir}/%{name}/engine/tabsqlitedb.pyo
b385cc
%{_datadir}/%{name}/tables/template.txt
b385cc
%{_bindir}/%{name}-createdb
b385cc
%{_libexecdir}/ibus-engine-table
b385cc
%{_mandir}/man1/*
b385cc
b385cc
%files devel
b385cc
%defattr(-, root, root, -)
b385cc
%{_datadir}/pkgconfig/%{name}.pc
b385cc
b385cc
%changelog
b385cc
* Fri Jan 24 2014 Mike FABIAN <mfabian@redhat.com> - 1.5.0-5
b385cc
- Resolves: rhbz#1049760 - [ALL LANG] Traceback produced when run ibus-table-createdb from terminal.
b385cc
- When tabcreatedb.py is called without any options, print a usage message. Do not just show a cryptic backtrace.
b385cc
b385cc
* Tue Jan 14 2014 Mike FABIAN <mfabian@redhat.com> - 1.5.0-4
b385cc
- Resolves: rhbz#948454 - Man page scan results for ibus-table
b385cc
b385cc
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.5.0-3
b385cc
- Mass rebuild 2013-12-27
b385cc
b385cc
* Thu Feb 14 2013 Mike FABIAN <mfabian@redhat.com> - 1.5.0-2
b385cc
- Resolves: #911487 - Non-Chinese tables from the ibus-table-other package do not work
b385cc
- Add auto_select functionality to select the first phrase when typing.
b385cc
  Useful for Cyrillic transliteration
b385cc
- Update cmode property in chinese mode only
b385cc
- Fall back to auto_select = False if neither dconf nor the table
b385cc
  have a value for auto_select
b385cc
- Preedit needs to be updated on page-up and page-down
b385cc
b385cc
* Mon Jan 28 2013 Mike FABIAN <mfabian@redhat.com> - 1.5.0-1
b385cc
- update to latest upstream 1.5.0  from Caius ‘kaio’ Chance’s repository
b385cc
- add patches for better simplified/traditional Chinese detection
b385cc
- Resolves: #857967 - simplified/traditional Chinese detection in ibus-table does not work well
b385cc
b385cc
* Thu Jan 10 2013 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20130110-1
b385cc
- Resolves: #513901 ibus-table setup does not store config settings
b385cc
- update to latest upstream 1.4.99.20130110 from Caius ‘kaio’ Chance’s repository, 1.5.0 branch
b385cc
- When detecting the Chinese mode from the environment, also check LC_ALL
b385cc
- Fix typo in self._chinese_mode variable (The typo broke the SC/TC property)
b385cc
- Make cursor in lookup table always visible (became invisible after the port to GObjectIntrospection)
b385cc
- apply changes in values of dconf keys immediately
b385cc
b385cc
* Tue Jan 08 2013 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20130108-1
b385cc
- update to latest upstream 1.4.99.20130108 from Caius ‘kaio’ Chance’s repository, 1.5.0 branch
b385cc
- includes port to GObjectIntrospection now
b385cc
b385cc
* Thu Jan 03 2013 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20130103-1
b385cc
- update to latest upstream 1.4.99.20130103 from Caius ‘kaio’ Chance’s repository, 1.5.0 branch
b385cc
b385cc
* Tue Nov 13 2012 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20121113-1
b385cc
- update to latest upstream 1.4.99.20121113 from Caius ‘kaio’ Chance’s repository, using rel20121101 git tag
b385cc
- remove ibus-table-1.4.99.20120907-improve-chinese-category-check.patch (included upstream)
b385cc
- remove fix-ipa-x-sampa-table-and-phrases-containing-spaces.patch (included upstream)
b385cc
- Fix marking of translatable strings for gettext
b385cc
- update zh_??.po files
b385cc
- Add German translation
b385cc
- Do not fail if the ~/.ibus/byo-tables/ directory does not exist
b385cc
b385cc
* Thu Sep 13 2012 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20120907-3
b385cc
- Resolves: #856903
b385cc
- Fix ipa-x-sampa table and phrases containing spaces in emoji-table
b385cc
  Currently there is a regular expression which filters out several
b385cc
  lines defining valid phrases. The emoji-table for example has phrases
b385cc
  containing spaces which are currently filtered out and the ipa-x-sampa
b385cc
  table has trailing comments which are filtered out as well.
b385cc
b385cc
* Tue Sep 11 2012 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20120907-2
b385cc
- Resolves: #856320
b385cc
- Improve check whether a phrase is simplified or traditional Chinese
b385cc
  The improvement is to ignore all non-Han characters when
b385cc
  doing the check.
b385cc
  This is to avoid classifying a simplified Chinese string as
b385cc
  traditional just because it happens to include some non-Chinese
b385cc
  characters, for example box drawing characters, which cannot be
b385cc
  converted to gb2312 but happen to be convertible to big5hkscs.
b385cc
  This fixes the problem in the emoji-table input method that most
b385cc
  phrases cannot be input at all.
b385cc
b385cc
* Fri Sep 07 2012 Mike FABIAN <mfabian@redhat.com> - 1.4.99.20120907-1
b385cc
- Relates: #855250
b385cc
- see comment#1 in #855250
b385cc
- update to latest upstream 1.4.99.20120907 from Caius 'kaio' Chance's repository
b385cc
- remove ibus-table-1.3.9.20110827-add-some-keys-for-translit.patch (included upstream)
b385cc
- remove ibus-table-1.3.9.20110827-enable-non-ascii.patch (included upstream)
b385cc
b385cc
* Wed Sep 05 2012 Mike FABIAN <mfabian@redhat.com> - 1.3.9.20110827-4
b385cc
- Resolves: #845798
b385cc
- add ibus-table-1.3.9.20110827-add-some-keys-for-translit.patch (from Yuwei YU, upstream)
b385cc
- add ibus-table-1.3.9.20110827-enable-non-ascii.patch  (from Yuwei YU, upstream)
b385cc
- add ibus-table-1.3.9.20110827-uppercase-umlauts.patch to allow uppercase as well in translit
b385cc
b385cc
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9.20110827-3
b385cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b385cc
b385cc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9.20110827-2
b385cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b385cc
b385cc
* Wed Aug 31 2011 Caius 'kaio' Chance - 1.3.9.20110827-1
b385cc
- Updated to upstream. 
b385cc
b385cc
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0.20100621-5
b385cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b385cc
b385cc
* Fri Nov 19 2010 Ding-Yi Chen <dchen@redhat.com> - 1.3.0.20100621-4
b385cc
- Rebuild for ibus-1.4
b385cc
b385cc
* Wed Sep  1 2010 Jens Petersen <petersen@redhat.com> - 1.3.0.20100621-3
b385cc
- remove the redundant post and postun scripts (#625330)
b385cc
b385cc
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 1.3.0.20100621-2
b385cc
- recompiling .py files against Python 2.7 (rhbz#623320)
b385cc
b385cc
* Mon Jun 21 2010 Caius Chance <cchance@redhat.com> - 1.2.0.20100621-1
b385cc
- Updated from upstream which tarball was rebuilt with IBus 1.3.
b385cc
b385cc
* Wed Mar 10 2010 Caius 'kaio' Chance <cchance at redhat.com> - 1.2.0.20100111-7
b385cc
- Add template.txt in files.
b385cc
b385cc
* Wed Mar 10 2010 Caius 'kaio' Chance <cchance at redhat.com> - 1.2.0.20100111-6
b385cc
- Disable -additional.
b385cc
b385cc
* Wed Mar 10 2010 Caius 'kaio' Chance <cchance at redhat.com> - 1.2.0.20100111-5
b385cc
- Remove -additional for obsoletion by ibus-table-latin and ibus-table-code.
b385cc
b385cc
* Mon Feb 15 2010 Caius 'kaio' Chance <cchance at redhat.com> - 1.2.0.20100111-4.fc13
b385cc
- Fixed latex.svg location.
b385cc
b385cc
* Fri Jan 29 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20100111-3.fc13
b385cc
- Split .pc to -devel subpackage.
b385cc
b385cc
* Thu Jan 14 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20100111-2.fc13
b385cc
- Temporary keep files of additional available in ibus-table until 
b385cc
  ibus-table-{code,latin} packages are ready in repository.
b385cc
b385cc
* Mon Jan 11 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20100111-1.fc13
b385cc
- Updated source from upstream.
b385cc
- Migreate tables from ibus-table-additional to ibus-table-latin and ibus-table-code.
b385cc
b385cc
* Wed Jan 06 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090912-3.fc13
b385cc
- Apply parsing equal sign patch.
b385cc
b385cc
* Wed Nov 11 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090912-2.fc13
b385cc
- Fix crashing caused by speedmeter.
b385cc
b385cc
* Fri Sep 04 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090912-1.fc12
b385cc
- Upgraded to upstream source.
b385cc
b385cc
* Fri Sep 04 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090904-1.fc12
b385cc
- Updated source with additional tables separated.
b385cc
b385cc
* Thu Sep 03 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090902-2.fc12
b385cc
- Rebuilt.
b385cc
b385cc
* Wed Sep 02 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090902-1.fc12
b385cc
- Updated source.
b385cc
b385cc
* Tue Aug 04 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090804-1.fc12
b385cc
- Cleaned up unused dcommit contents.
b385cc
b385cc
* Tue Aug 03 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090803-1.fc12
b385cc
- Updated to upstream.
b385cc
b385cc
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090625-3
b385cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b385cc
b385cc
* Wed Jul 01 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090625-2.fc12
b385cc
- Rebuilt.
b385cc
b385cc
* Wed Jul 01 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090625-1.fc12
b385cc
- Updated source from upstream, which released for IBus 1.2 and so on.
b385cc
b385cc
* Wed May 27 2009 Caius 'kaio' Chance <cchance@redhat.com> - 1.1.0.20090527-1.fc12
b385cc
- Updated source from upstream, which with candidate order fix.
b385cc
b385cc
* Mon Mar 16 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090316-1.fc11
b385cc
- Resolves: rhbz#490396
b385cc
- Updated source tarball.
b385cc
- Disabled speedmeter until config option is implemented.
b385cc
b385cc
* Fri Mar  6 2009 Jens Petersen <petersen@redhat.com> - 1.1.0.20090220-5
b385cc
- make pkgconfig noarch with ibus-table-pkgconfig-noarch.patch
b385cc
- fix license field: actually LGPL
b385cc
- drop gettext-devel BR
b385cc
- require ibus > 1.1.0
b385cc
b385cc
* Mon Mar 02 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-4.fc11
b385cc
- Rebuilt.
b385cc
b385cc
* Mon Mar 02 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-3.fc11
b385cc
- Rebuilt.
b385cc
b385cc
* Mon Mar 02 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-2.fc11
b385cc
- Rebuilt.
b385cc
b385cc
* Mon Mar 02 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-1.fc11
b385cc
- Resolves: rhbz#484650
b385cc
- Updated to latest upstream release.
b385cc
- Splitted chinese input methods into modules.
b385cc
b385cc
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.20081014-5
b385cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b385cc
b385cc
* Wed Feb 04 2009 Caius Chance <cchance@redhat.com> - 0.1.1.20081014-4
b385cc
- Resolves: rhbz#466430 rhbz#466844
b385cc
- Added wildcard features.
b385cc
- Added preedit clearance on refocus.
b385cc
b385cc
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081014-3
b385cc
- Rebuild for Python 2.6
b385cc
b385cc
* Mon Dec 1 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081014-2
b385cc
- Modified spec file to own all directories created by ibus-table.
b385cc
b385cc
* Fri Oct 14 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081014-1
b385cc
- Update to 0.1.1.20081014.
b385cc
b385cc
* Mon Sep 01 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
b385cc
- Update to 0.1.1.20080901.
b385cc
b385cc
* Wed Aug 19 2008 Yu Yuwei <acevery@gmail.com> - 0.1.1.20080829-1
b385cc
- The first version.