Blame SPECS/ibus-table.spec

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