Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
ibus-table-chinese
ibus-table-chinese.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ibus-table-chinese.spec of Package ibus-table-chinese
# # spec file for package ibus-table-chinese # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define ibus_tables_dir %{_datadir}/ibus-table/tables %define ibus_icons_dir %{_datadir}/ibus-table/icons %define createdb ibus-table-createdb Name: ibus-table-chinese Version: 1.4.6 Release: 0 Summary: Various Chinese input method table for IBus framework License: GPL-3.0+ Group: System/I18n/Chinese Summary(zh_CN): 中文码表输入法 Summary(zh_TW): 中文碼表輸入法 Provides: locale(ibus:zh) Url: http://code.google.com/p/ibus/ Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake >= 2.4 BuildRequires: ibus-table-devel >= 1.2 BuildRequires: pkg-config BuildRequires: python BuildArch: noarch Requires: ibus-table >= 1.2 Requires(post): ibus-table >= 1.2 %description ibus-table-chinese 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 Group: System/I18n/Chinese Summary(zh_CN): 行列输入法 Summary(zh_TW): 行列輸入法 Provides: locale(ibus:zh) 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 Group: System/I18n/Chinese Summary(zh_TW): 倉頡輸入法 Summary(zh_CN): 仓颉输入法 Provides: locale(ibus:zh) 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 Group: System/I18n/Chinese Summary(zh_TW): 粵語輸入法 Provides: locale(ibus:zh_TW) 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 Group: System/I18n/Chinese Summary(zh_CN): 轻松输入法 Summary(zh_TW): 輕鬆輸入法 Provides: locale(ibus:zh) 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 Group: System/I18n/Chinese Summary(zh_CN): 二笔输入法 Summary(zh_TW): 二筆輸入法 Provides: locale(ibus:zh) 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 Group: System/I18n/Chinese Summary(zh_CN): 速成输入法 Summary(zh_TW): 速成輸入法 Provides: locale(ibus:zh) 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 Cangjie'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 Group: System/I18n/Chinese Summary(zh_CN): 快速仓颉输入法 Summary(zh_TW): 快速倉頡輸入法 Provides: locale(ibus:zh) 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 Group: System/I18n/Chinese Summary(zh_CN): 笔顺五码输入法 Summary(zh_TW): 筆順五碼輸入法 Provides: locale(ibus:zh) Requires: %{name} = %{version}-%{release} Provides: ibus-table-stroke5 = %{version}-%{release} Obsoletes: ibus-table-stroke5 < 1.3 %description stroke5 Stroke 5 input method. %description -l zh_CN stroke5 笔顺五码。 %description -l zh_TW stroke5 筆順五碼。 %package wu Summary: Wu pronunciation input method Group: System/I18n/Chinese Summary(zh_CN): 上海吳语注音输入法 Summary(zh_TW): 上海吳語注音輸入法 Provides: locale(ibus:zh) 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 Group: System/I18n/Chinese Summary(zh_CN): 海峰五笔输入法 Summary(zh_TW): 海峰五筆輸入法 Provides: locale(ibus:zh) 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 input method Group: System/I18n/Chinese Summary(zh_CN): 极点五笔输入法 Summary(zh_TW): 極點五筆輸入法 Provides: locale(ibus:zh) 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 极点五笔输入法。包含:极点五笔86。 %description -l zh_TW wubi-jidian 極點五筆輸入法。包含:五筆86。 %package yong Summary: YongMa input method Group: System/I18n/Chinese Summary(zh_CN): 永码输入法 Summary(zh_TW): 永碼輸入法 Provides: locale(ibus:zh) 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 -DCMAKE_INSTALL_PREFIX='/usr' %__make VERBOSE=1 %{?_smp_mflags} %install %{?make_install}%{!?make_install:%makeinstall} # We install document using %doc #rm -r $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version} %clean %__rm -rf $RPM_BUILD_ROOT %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 %defattr(-,root,root,-) %dir %{_datadir}/doc/%{name}-%{version} %{_datadir}/doc/%{name}-%{version}/* %files array %defattr(-,root,root,-) %{ibus_icons_dir}/array30.* %{ibus_tables_dir}/array30.db %{ibus_icons_dir}/array30-big.* %{ibus_tables_dir}/array30-big.db %files cangjie %defattr(-,root,root,-) %{ibus_icons_dir}/cangjie3.* %{ibus_tables_dir}/cangjie3.db %{ibus_icons_dir}/cangjie5.* %{ibus_tables_dir}/cangjie5.db %{ibus_icons_dir}/cangjie-big.* %{ibus_tables_dir}/cangjie-big.db %files cantonese %defattr(-,root,root,-) %{ibus_icons_dir}/cantonese.* %{ibus_tables_dir}/cantonese.db %{ibus_icons_dir}/cantonhk.* %{ibus_tables_dir}/cantonhk.db %{ibus_icons_dir}/jyutping.* %{ibus_tables_dir}/jyutping.db %files easy %defattr(-,root,root,-) %{ibus_icons_dir}/easy-big.* %{ibus_tables_dir}/easy-big.db %files erbi %defattr(-,root,root,-) %{ibus_icons_dir}/erbi.* %{ibus_tables_dir}/erbi.db %{ibus_icons_dir}/erbi-qs.* %{ibus_tables_dir}/erbi-qs.db %files quick %defattr(-,root,root,-) %{ibus_icons_dir}/quick3.* %{ibus_tables_dir}/quick3.db %{ibus_icons_dir}/quick5.* %{ibus_tables_dir}/quick5.db %{ibus_icons_dir}/quick-classic.* %{ibus_tables_dir}/quick-classic.db %files scj %defattr(-,root,root,-) %{ibus_icons_dir}/scj6.* %{ibus_tables_dir}/scj6.db %files stroke5 %defattr(-,root,root,-) %{ibus_icons_dir}/stroke5.* %{ibus_tables_dir}/stroke5.db %files wu %defattr(-,root,root,-) %{ibus_icons_dir}/wu.* %{ibus_tables_dir}/wu.db %files wubi-haifeng %defattr(-,root,root,-) %doc tables/wubi-haifeng/COPYING tables/wubi-haifeng/README %{ibus_icons_dir}/wubi-haifeng86.* %{ibus_tables_dir}/wubi-haifeng86.db %files wubi-jidian %defattr(-,root,root,-) %{ibus_icons_dir}/wubi-jidian86.* %{ibus_tables_dir}/wubi-jidian86.db %files yong %defattr(-,root,root,-) %{ibus_icons_dir}/yong.* %{ibus_tables_dir}/yong.db %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor