From a28dd0b1996d0a7611f795fbd9664b9d95b12dcc Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 16 2013 22:41:14 +0000 Subject: import ibus-table-chinese-1.4.6-2.el7.src.rpm --- diff --git a/.ibus-table-chinese.metadata b/.ibus-table-chinese.metadata new file mode 100644 index 0000000..6a66337 --- /dev/null +++ b/.ibus-table-chinese.metadata @@ -0,0 +1 @@ +c0777087b81a29bc32c86838d214ce31ce3424f6 SOURCES/ibus-table-chinese-1.4.6-Source.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/ibus-table-chinese.spec b/SPECS/ibus-table-chinese.spec new file mode 100644 index 0000000..207a71b --- /dev/null +++ b/SPECS/ibus-table-chinese.spec @@ -0,0 +1,509 @@ +%global message_level 6 +%global ibus_tables_dir %{_datadir}/ibus-table/tables +%global ibus_icons_dir %{_datadir}/ibus-table/icons +%global createdb ibus-table-createdb +Name: ibus-table-chinese +Version: 1.4.6 +Release: 2%{?dist} +Summary: Chinese input tables for IBus +Summary(zh_CN): 中文码表输入法 +Summary(zh_TW): 中文碼表輸入法 +License: GPLv3+ +Group: System Environment/Libraries +URL: http://code.google.com/p/ibus/ +Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz + +BuildRequires: cmake >= 2.6 +BuildRequires: ibus-table-devel >= 1.2 + +BuildArch: noarch +Requires: ibus-table >= 1.2 +Requires(post): ibus-table >= 1.2 +Obsoletes: ibus-table-yinma < 1.3 +Obsoletes: ibus-table-xingma < 1.3 + +%description +ibus-table-chinese is provides the infrastructure for Chinese input methods. +Input tables themselves are in sub-packages. + +%description -l zh_TW +ibus-table-chinese 提供了中文碼表輸入法的基礎架構。 +輸入法本身則在子套件裡。 + +%package array +Summary: Array input methods +Summary(zh_CN): 行列输入法 +Summary(zh_TW): 行列輸入法 +Group: System Environment/Libraries +License: Freely redistributable without restriction +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-array30 = %{version}-%{release} +Obsoletes: ibus-table-array30 < 1.3 + +%description array +Array input method is a free, open-minded character-structured +input method. Includes: +array30: 27489 characters. +array30-big: 27489 characters + Unicode ExtB. + +%description -l zh_TW array +行列輸入法是一套免費授權、具有開放理念的字根式 +中文輸入法,發明人是行列科技負責人廖明德。 + +行列輸入法除了可以輸入繁體中文和簡體中文之外, +亦可輸入Unicode當中的中日韓統一表意文字。 + +包含了: +行列30: 27489 字 +行列30大字集: 27489 字 + Unicode ExtB. + +%package cangjie +Summary: Cangjie based input methods +Summary(zh_TW): 倉頡輸入法 +Summary(zh_CN): 仓颉输入法 +Group: System Environment/Libraries +License: Freely redistributable without restriction +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-cangjie = %{version}-%{release} +Obsoletes: ibus-table-cangjie < 1.3 + +%description cangjie +Cangjie based input methods, includes: +Cangjie3, Canjie5, and Cangjie big tables. + +%description -l zh_TW cangjie +倉頡以及其衍生輸入法,包含: +倉頡三代、倉頡五代以及倉頡大字集。 + +%package cantonese +Summary: Cantonese input methods +Summary(zh_TW): 粵語輸入法 +Group: System Environment/Libraries +License: GPLv2, GPLv3+ and Freely redistributable without restriction +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-cantonese = %{version}-%{release} +Obsoletes: ibus-table-cantonese < 1.3 + +%description cantonese +Cantonese input methods, includes: +Cantonese, Hong-Kong version of Cantonese, +and jyutping. + +%description -l zh_TW cantonese +粵語輸入法。包含: +廣東拼音、港式廣東話、 +以及粵語拼音。 + +%package easy +Summary: Easy input method +Summary(zh_CN): 轻松输入法 +Summary(zh_TW): 輕鬆輸入法 +Group: System Environment/Libraries +License: GPLv2 +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-easy = %{version}-%{release} +Obsoletes: ibus-table-easy < 1.3 + +%description easy +Easy phrase-wise input method. + +%description -l zh_CN easy +轻松大词库 + +%description -l zh_TW easy +輕鬆大詞庫 + +%package erbi +Summary: Erbi input method +Summary(zh_CN): 二笔输入法 +Summary(zh_TW): 二筆輸入法 +Group: System Environment/Libraries +License: GPLv2+ +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-erbi = %{version}-%{release} +Obsoletes: ibus-table-erbi < 1.3 + +%description erbi +Erbi input methods. Includes: +Super Erbi (as erbi) +and Erbi Qin-Song (erbi-qs) + +%description -l zh_CN erbi +包含: +小林子二笔 (erbi) +以及青松二笔 (erbi-qs) + +%description -l zh_TW erbi +包含: +小林子二筆 (erbi) +以及青松二筆 (erbi-qs) + + +%package quick +Summary: Quick-to-learn input methods +Summary(zh_CN): 速成输入法 +Summary(zh_TW): 速成輸入法 +Group: System Environment/Libraries +License: Freely redistributable without restriction +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-quick = %{version}-%{release} +Obsoletes: ibus-table-quick < 1.3 + +%description quick +Quick-to-learn is based on Cangjie input method, +but only need Canjie's first and last word-root +to form a character. + +Includes: +Quick3, Quick5 and Quick-Classic, +and Smart Cangjie 6. + +%description -l zh_TW quick +速成輸入法,又稱簡易輸入法,為倉頡輸入法之簡化版本。 +只取倉頡碼的首尾兩碼,所以一字最長只有兩碼。 + +包含: +速成三代、速成五代以及速成古典版。 + +%package scj +Summary: Smart Cangjie +Summary(zh_CN): 快速仓颉输入法 +Summary(zh_TW): 快速倉頡輸入法 +Group: System Environment/Libraries +License: GPLv3+ +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-cangjie = %{version}-%{release} +Obsoletes: ibus-table-cangjie < 1.3 + +%description scj +Smart Cangjie is an improved Cangjie base input method +which handles Cangjie, Quick, Cantonese, Chinese punctuation, +Japanese, 3000 frequent words by Hong Kong government, +both Traditional and Simplified Chinese. + +This package includes the Smart Cangjie 6. + +%description -l zh_CN scj +快速仓颉输入法第六代(快仓六)是一个多功能和多任务的 +输入法系统。在功能方面,它不但拥有多种不同版本的仓颉 +输入法、速成输入法、广东话输入法、高效率的标点、特殊 +符号和数字编码、日文编码、香港政府三千常用字编码、简 +码和容错码,而且还能够处理繁体和简体文字。在任务方面 +,它不但承袭了传统仓颉的「中文输入、输出、辨识和释义 +」等功能,而且还能肩负起促进「资讯科技教育、母语教育 +和特殊教育」等多重任务。 + +%description -l zh_TW scj +快速倉頡輸入法第六代(快倉六)是一個多功能和多任務的 +輸入法系統。在功能方面,它不但擁有多種不同版本的倉頡 +輸入法、速成輸入法、廣東話輸入法、高效率的標點、特殊 +符號和數字編碼、日文編碼、香港政府三千常用字編碼、簡 +碼和容錯碼,而且還能夠處理繁體和簡體文字。在任務方面 +,它不但承襲了傳統倉頡的「中文輸入、輸出、辨識和釋義 +」等功能,而且還能肩負起促進「資訊科技教育、母語教育 +和特殊教育」等多重任務。 + +%package stroke5 +Summary: Stroke 5 input method +Summary(zh_CN): 笔顺五码输入法 +Summary(zh_TW): 筆順五碼輸入法 +Group: System Environment/Libraries +License: GPLv3+ +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-stroke5 = %{version}-%{release} +Obsoletes: ibus-table-stroke5 < 1.3 +Obsoletes: ibus-table-yinma < 1.3 + +%description stroke5 +Erbi input method. +%description -l zh_CN stroke5 +笔顺五码。 + +%description -l zh_TW stroke5 +筆順五碼。 + +%package wu +Summary: Wu pronunciation input method +Summary(zh_CN): 上海吳语注音输入法 +Summary(zh_TW): 上海吳語注音輸入法 +Group: System Environment/Libraries +License: GPLv2+ +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-wu = %{version}-%{release} +Obsoletes: ibus-table-wu < 1.3 + +%description wu +Wu pronunciation input method. +URL: http://input.foruto.com/wu/ + +%description -l zh_CN wu +上海吳语注音输入法。 +URL: http://input.foruto.com/wu/ + +%description -l zh_TW wu +上海吳語注音輸入法以現代吳語中有代表性的上海吳語(又稱上海話、滬語)的讀音、詞語為基礎。 +本輸入法適用於母語為上海話的用戶,也能作為學習上海話的輔助工具。 +URL: http://input.foruto.com/wu/ + +%package wubi-haifeng +Summary: Haifeng Wubi input method +Summary(zh_CN): 海峰五笔输入法 +Summary(zh_TW): 海峰五筆輸入法 +License: BSD +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-wubi = %{version}-%{release} +Obsoletes: ibus-table-wubi < 1.3 + +%description wubi-haifeng +Haifeng Wubi input methods. Current includes: +Haifeng Wubi 86. + +%description -l zh_CN wubi-haifeng +海峰五笔输入法。包含:海峰五笔86。 + +%description -l zh_TW wubi-haifeng +海峰五筆輸入法。包含:海峰五筆86。 + + +%package wubi-jidian +Summary: Jidian Wubi 86 input method, JiShuang 6.0 +Summary(zh_CN): 极点五笔86输入法 极爽词库 6.0 +Summary(zh_TW): 極點五筆86輸入法 極爽詞庫 6.0 +Group: System Environment/Libraries +License: Freely redistributable without restriction +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-wubi = %{version}-%{release} +Obsoletes: ibus-table-wubi < 1.3 + +%description wubi-jidian +Jidian Wubi input methods. Current includes: +Wubi 86. + +%description -l zh_CN wubi-jidian +使用极爽字库之极点五笔输入法。 + +%description -l zh_TW wubi-jidian +使用極爽字庫極點五筆輸入法 + + +%package yong +Summary: YongMa input method +Summary(zh_CN): 永码输入法 +Summary(zh_TW): 永碼輸入法 +Group: System Environment/Libraries +License: GPLv3 +Requires: %{name} = %{version}-%{release} +Provides: ibus-table-yong = %{version}-%{release} +Obsoletes: ibus-table-yong < 1.3 + +%description yong +YongMa input method. + +%description -l zh_CN yong +永码输入法。 + +%description -l zh_TW yong +永碼輸入法。 + +%prep +%setup -q -n %{name}-%{version}-Source +%{__sed} -i 's/\r//' tables/wubi-haifeng/COPYING + +%build +# $RPM_OPT_FLAGS should be loaded from cmake macro. +%cmake -DMANAGE_MESSAGE_LEVEL=%{message_level} -DCMAKE_FEDORA_ENABLE_FEDORA_BUILD=1 . +%__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 + +%post array +%{createdb} -i -n %{ibus_tables_dir}/array30.db +%{createdb} -i -n %{ibus_tables_dir}/array30-big.db + +%post cangjie +%{createdb} -i -n %{ibus_tables_dir}/cangjie3.db +%{createdb} -i -n %{ibus_tables_dir}/cangjie5.db +%{createdb} -i -n %{ibus_tables_dir}/cangjie-big.db + +%post cantonese +%{createdb} -i -n %{ibus_tables_dir}/cantonese.db +%{createdb} -i -n %{ibus_tables_dir}/cantonhk.db +%{createdb} -i -n %{ibus_tables_dir}/jyutping.db + +%post easy +%{createdb} -i -n %{ibus_tables_dir}/easy-big.db + +%post erbi +%{createdb} -i -n %{ibus_tables_dir}/erbi.db +%{createdb} -i -n %{ibus_tables_dir}/erbi-qs.db + +%post quick +%{createdb} -i -n %{ibus_tables_dir}/quick3.db +%{createdb} -i -n %{ibus_tables_dir}/quick5.db +%{createdb} -i -n %{ibus_tables_dir}/quick-classic.db + +%post scj +%{createdb} -i -n %{ibus_tables_dir}/scj6.db + +%post stroke5 +%{createdb} -i -n %{ibus_tables_dir}/stroke5.db + +%post wu +%{createdb} -i -n %{ibus_tables_dir}/wu.db + +%post wubi-haifeng +%{createdb} -i -n %{ibus_tables_dir}/wubi-haifeng86.db + +%post wubi-jidian +%{createdb} -i -n %{ibus_tables_dir}/wubi-jidian86.db + +%post yong +%{createdb} -i -n %{ibus_tables_dir}/yong.db + + +%files +%doc AUTHORS README ChangeLog COPYING README + +%files array +%{ibus_icons_dir}/array30.* +%verify(not size md5 mtime) %{ibus_tables_dir}/array30.db +%{ibus_icons_dir}/array30-big.* +%verify(not size md5 mtime) %{ibus_tables_dir}/array30-big.db + +%files cangjie +%{ibus_icons_dir}/cangjie3.* +%verify(not size md5 mtime) %{ibus_tables_dir}/cangjie3.db +%{ibus_icons_dir}/cangjie5.* +%verify(not size md5 mtime) %{ibus_tables_dir}/cangjie5.db +%{ibus_icons_dir}/cangjie-big.* +%verify(not size md5 mtime) %{ibus_tables_dir}/cangjie-big.db + +%files cantonese +%{ibus_icons_dir}/cantonese.* +%verify(not size md5 mtime) %{ibus_tables_dir}/cantonese.db +%{ibus_icons_dir}/cantonhk.* +%verify(not size md5 mtime) %{ibus_tables_dir}/cantonhk.db +%{ibus_icons_dir}/jyutping.* +%verify(not size md5 mtime) %{ibus_tables_dir}/jyutping.db + +%files easy +%{ibus_icons_dir}/easy-big.* +%verify(not size md5 mtime) %{ibus_tables_dir}/easy-big.db + +%files erbi +%{ibus_icons_dir}/erbi.* +%verify(not size md5 mtime) %{ibus_tables_dir}/erbi.db +%{ibus_icons_dir}/erbi-qs.* +%verify(not size md5 mtime) %{ibus_tables_dir}/erbi-qs.db + +%files quick +%{ibus_icons_dir}/quick3.* +%verify(not size md5 mtime) %{ibus_tables_dir}/quick3.db +%{ibus_icons_dir}/quick5.* +%verify(not size md5 mtime) %{ibus_tables_dir}/quick5.db +%{ibus_icons_dir}/quick-classic.* +%verify(not size md5 mtime) %{ibus_tables_dir}/quick-classic.db + +%files scj +%{ibus_icons_dir}/scj6.* +%verify(not size md5 mtime) %{ibus_tables_dir}/scj6.db + +%files stroke5 +%{ibus_icons_dir}/stroke5.* +%verify(not size md5 mtime) %{ibus_tables_dir}/stroke5.db + +%files wu +%{ibus_icons_dir}/wu.* +%verify(not size md5 mtime) %{ibus_tables_dir}/wu.db + +%files wubi-haifeng +%doc tables/wubi-haifeng/COPYING tables/wubi-haifeng/README +%{ibus_icons_dir}/wubi-haifeng86.* +%verify(not size md5 mtime) %{ibus_tables_dir}/wubi-haifeng86.db + +%files wubi-jidian +%{ibus_icons_dir}/wubi-jidian86.* +%verify(not size md5 mtime) %{ibus_tables_dir}/wubi-jidian86.db + +%files yong +%{ibus_icons_dir}/yong.* +%{ibus_tables_dir}/yong.db + + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Dec 03 2012 Ding-Yi Chen - 1.4.6-1 +- Fixed IBus Google issue 1126: An error in ChineseTableLicenseAuditing +- Complete LICENSE tag for all of the tables. + +* Mon Nov 26 2012 Ding-Yi Chen - 1.4.5-1 +- Table build scripts has been refactored. +- cmake-fedora is added as submodule. +- Fixed Bug 855250 - Change the default filtering for Quick and Cangjie by + merging maxiaojun's repository +- Fixed Google Issue 1405: failed to build ibus-table-chinese due to missing db files +- Fixed Google issue 1507: Add CJKV Extension C/D support for Array30 +- Merge GitHub Pull request 3: Added the inter punct +- Merge GitHub Pull request 4: Give Cangjie and Quick users 9 candidates per page + +* Fri Sep 07 2012 Ding-Yi Chen - 1.4.0-1 +- Table build scripts has been refactored. +- cmake-fedora is added as submodule. +- Fixed Bug 855250 - Change the default filtering for Quick and Cangjie by + merging maxiaojun's repository +- Fixed Google Issue 1405: failed to build ibus-table-chinese due to missing db files + +* Thu Jul 19 2012 Fedora Release Engineering - 1.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 28 2011 Ding-Yi Chen - 1.3.5-1 +- Merge Caius Chance's branch for DYNAMIC_ADJUST +- Dependency update to cmake-0.8.1 + +* Wed Aug 31 2011 Ding-Yi Chen - 1.3.4-1 +- Fixed Bug 715707 - FTBFS ibus-table-chinese-1.3.0.20110114-2.fc15 +- Fixed Bug 629212 - bad candidate orders in ibus-table-quick +- Merged patch from sagara @ github, which address IBus issue 787 +- Make it compatible with cmake-fedora-0.7.994 +- Move the cmake policies to the front +- Suppress the misleading warning from rpm -V + +* Fri Jan 14 2011 Ding-Yi Chen - 1.3.0.20110114-1 +- Fix Bug 667877: ibus-table-yinma and ibus-table-xingma have been obsoleted. +- Now depends on cmake-fedora + +* Mon Dec 06 2010 Ding-Yi Chen - 1.3.0.20101206-1 +- New tables which was not include in original: + + array30, array30-big, wubi-haifeng +- Table removed from original version because of license issues: + + zhengma, ziranma +- Add package review ID +- Add build tag for el6 + +* Fri Dec 03 2010 Ding-Yi Chen - 1.3.0.20101201-1 +- Support out-of-source build +- Remove ibus-table-chinese-all + +* Wed Jan 06 2010 Caius 'kaio' Chance - 1.3.0.20100527-3 +- Added Quick 3, 5, Classic tables and icons. +- Added Easy (big) table and icon. +- Updated AUTHORS, COPYING, license and its declarations. + +* Mon Aug 31 2009 Caius 'kaio' Chance - 1.3.0.20100527-2 +- Added CangJie (big) table. + +* Wed Aug 19 2008 Yu Yuwei - 1.3.0.20100527-1 +- The first version.