;Update for ibus-table-1.8.0; Fixed Bug 109380;-b;1099380

This commit is contained in:
Ding-Yi Chen 2014-06-07 20:53:12 +10:00
parent d0faf82d87
commit 64284c8880
3 changed files with 39 additions and 37 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/ibus-table-chinese-1.4.4-Source.tar.gz /ibus-table-chinese-1.4.4-Source.tar.gz
/ibus-table-chinese-1.4.5-Source.tar.gz /ibus-table-chinese-1.4.5-Source.tar.gz
/ibus-table-chinese-1.4.6-Source.tar.gz /ibus-table-chinese-1.4.6-Source.tar.gz
/ibus-table-chinese-1.8.0-Source.tar.gz

View File

@ -3,32 +3,28 @@
%global ibus_icons_dir %{_datadir}/ibus-table/icons %global ibus_icons_dir %{_datadir}/ibus-table/icons
%global createdb ibus-table-createdb %global createdb ibus-table-createdb
Name: ibus-table-chinese Name: ibus-table-chinese
Version: 1.4.6 Version: 1.8.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Chinese input tables for IBus Summary: Chinese input tables for IBus
Summary(zh_CN): 中文码表输入法
Summary(zh_TW): 中文碼表輸入法
License: GPLv3+ License: GPLv3+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/ URL: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz Source0: https://fedorahosted.org/releases/c/m/%{name}/%{name}-%{version}-Source.tar.gz
BuildRequires: cmake >= 2.6 BuildRequires: cmake >= 2.6.2
BuildRequires: ibus-table-devel >= 1.2 BuildRequires: ibus-table-devel >= 1.2.0
Requires: ibus-table >= 1.2.0
BuildArch: noarch
Requires: ibus-table >= 1.2
Requires(post): ibus-table >= 1.2
Obsoletes: ibus-table-yinma < 1.3 Obsoletes: ibus-table-yinma < 1.3
Obsoletes: ibus-table-xingma < 1.3 Obsoletes: ibus-table-xingma < 1.3
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description %description
ibus-table-chinese is provides the infrastructure for Chinese input methods. ibus-table-chinese is provides the infrastructure for Chinese input methods.
Input tables themselves are in sub-packages. Input tables themselves are in subpackages.
%description -l zh_TW
ibus-table-chinese 提供了中文碼表輸入法的基礎架構。
輸入法本身則在子套件裡。
%package array %package array
Summary: Array input methods Summary: Array input methods
@ -79,7 +75,7 @@ Cangjie3, Canjie5, and Cangjie big tables.
Summary: Cantonese input methods Summary: Cantonese input methods
Summary(zh_TW): 粵語輸入法 Summary(zh_TW): 粵語輸入法
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2 and GPLv3+ and Freely redistributable without restriction License: GPLv2, GPLv3+ and Freely redistributable without restriction
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Provides: ibus-table-cantonese = %{version}-%{release} Provides: ibus-table-cantonese = %{version}-%{release}
Obsoletes: ibus-table-cantonese < 1.3 Obsoletes: ibus-table-cantonese < 1.3
@ -286,7 +282,6 @@ Wubi 86.
%description -l zh_TW wubi-jidian %description -l zh_TW wubi-jidian
使用極爽字庫極點五筆輸入法 使用極爽字庫極點五筆輸入法
%package yong %package yong
Summary: YongMa input method Summary: YongMa input method
Summary(zh_CN): 永码输入法 Summary(zh_CN): 永码输入法
@ -315,15 +310,17 @@ YongMa input method.
%cmake -DMANAGE_MESSAGE_LEVEL=%{message_level} -DCMAKE_FEDORA_ENABLE_FEDORA_BUILD=1 . %cmake -DMANAGE_MESSAGE_LEVEL=%{message_level} -DCMAKE_FEDORA_ENABLE_FEDORA_BUILD=1 .
%__make VERBOSE=1 %{?_smp_mflags} %__make VERBOSE=1 %{?_smp_mflags}
%install
%__make install DESTDIR=$RPM_BUILD_ROOT
# We install document using %doc
(cd $RPM_BUILD_ROOT//usr/share/doc/ibus-table-chinese-1.4.6
rm -rf AUTHORS README ChangeLog COPYING README
)
%clean %clean
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# We install document using doc
rm -fr %{buildroot}%{_docdir}/*
%post array %post array
%{createdb} -i -n %{ibus_tables_dir}/array30.db %{createdb} -i -n %{ibus_tables_dir}/array30.db
%{createdb} -i -n %{ibus_tables_dir}/array30-big.db %{createdb} -i -n %{ibus_tables_dir}/array30-big.db
@ -368,9 +365,8 @@ YongMa input method.
%post yong %post yong
%{createdb} -i -n %{ibus_tables_dir}/yong.db %{createdb} -i -n %{ibus_tables_dir}/yong.db
%files %files
%doc AUTHORS README ChangeLog COPYING README %doc
%files array %files array
%{ibus_icons_dir}/array30.* %{ibus_icons_dir}/array30.*
@ -437,10 +433,14 @@ YongMa input method.
%{ibus_icons_dir}/yong.* %{ibus_icons_dir}/yong.*
%{ibus_tables_dir}/yong.db %{ibus_tables_dir}/yong.db
%changelog %changelog
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-3 * Sat Jun 07 2014 Ding-Yi Chen <dchen@redhat.com> - 1.8.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Update for ibus-table-1.8.0
- Fixed Bug 1099380 - The stroke5 table should not use
"AUTO_SELECT = TRUE" but "AUTO_SELECT = FALSE"
* Tue May 27 2014 Mike FABIAN <mfabian@redhat.com> - 1.4.6-3
- bump release number to build against updated ibus-table
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
@ -508,5 +508,6 @@ YongMa input method.
* Mon Aug 31 2009 Caius 'kaio' Chance <k at kaio.me> - 1.3.0.20100527-2 * Mon Aug 31 2009 Caius 'kaio' Chance <k at kaio.me> - 1.3.0.20100527-2
- Added CangJie (big) table. - Added CangJie (big) table.
* Wed Aug 19 2008 Yu Yuwei <acevery@gmail.com> - 1.3.0.20100527-1 * Tue Aug 19 2008 Yu Yuwei <acevery@gmail.com> - 1.3.0.20100527-1
- The first version. - The first version.

View File

@ -1 +1 @@
552dc3e28fbbf52435d3ce41fc09ac35 ibus-table-chinese-1.4.6-Source.tar.gz 4bd95d855a43dbf023dff820a07968c5 ibus-table-chinese-1.8.0-Source.tar.gz