Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
fcitx-table-extra
fcitx-table-extra.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fcitx-table-extra.spec of Package fcitx-table-extra
# # spec file for package fcitx-table-extra # # Copyright (c) 2012 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/ # Name: fcitx-table-extra Version: 0.3.1 Release: 0 Summary: Extra table for Fcitx License: GPL-2.0+ and SUSE-Public-Domain Group: System/I18n/Chinese Url: https://github.com/fcitx/fcitx-table-extra #Source: http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.bz2 # Aleady Fixed Upstream. Will be droped with next major release. # PATCH-FIX-UPSTREAM fix-for-upstream-no-detailed-license.patch [bnc#751808] i@marguerite.su -- add GPL-2.0 license file to source and markup Cangjie3, Cangjie5, Boshiamy, Zhengma in Public Domain BuildRequires: cmake BuildRequires: fcitx-devel BuildRequires: fcitx-table-tools BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: intltool BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Fcitx-table-extra provides extra Chinese tables for Fcitx. %package -n fcitx-table-tw-boshiamy Summary: Boshiamy table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-boshiamy Fcitx Boshiamy table for Traditional Chinese. %package -n fcitx-table-tw-cangjie3 Summary: Tsang Jei 3 table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-cangjie3 Fcitx Tsang Jei (Cang Jie) 3 table for Traditional Chinese. %package -n fcitx-table-tw-cangjie5 Summary: Tsang Jei 5 table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: locale(fcitx-table:zh_SG;) Provides: %{name} = %{version} %description -n fcitx-table-tw-cangjie5 Fcitx Tsang Jei (Cang Jie) 5 table for Traditional Chinese. %package -n fcitx-table-tw-cangjie-large Summary: Tsang Jei large character set table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: locale(fcitx-table:zh_SG;) Provides: %{name} = %{version} %description -n fcitx-table-tw-cangjie-large Fcitx Tsang Jei (Cang Jie) table with large character set for Traditional Chinese. %package -n fcitx-table-tw-smart-cangjie6 Summary: Smart Tsang Jei 6 table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: locale(fcitx-table:zh_SG;) Provides: %{name} = %{version} %description -n fcitx-table-tw-smart-cangjie6 Fcitx Smart Tsang Jei (Fast Cang Jie) 6 table for Traditional Chinese. %package -n fcitx-table-cn-cantonese Summary: Standard Guongdonkwa Penkyampji table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-cn-cantonese Fcitx Guongdonkwa Penkyampji(Cantonese Pinyin) table for Simplified Chinese. Cantonese Pinyin is a table input method, but it's not the pinyin used in Mainland China, but derivative schemes used by overseas Chinese in Hongkong, Kuala Lumpur, Sydney, Auckland, and Vancouver. This standard is released by Education department of Canton Province in 1960s. See: http://en.wikipedia.org/wiki/Guangdong_Romanization for details If you don't know what it is, don't try. %package -n fcitx-table-hk-cantonese Summary: Hong Kong Guongdonkwa Penkyampji table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-hk-cantonese Fcitx Hong Kong Guongdonkwa Penkyampji table for Traditional Chinese. This is Hong Kong derivative of the standard Guongdonkwa Penkyampji schemes. See: http://en.wikipedia.org/wiki/Guangdong_Romanization for details If you don't know what it is, don't try. %package -n fcitx-table-hk-jyutping Summary: Hong Kong jyutping table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-hk-jyutping Fcitx Hong Kong Jyutping table for Traditional Chinese. This is the jyutping schemes released by Hong Kong government in colony era. It's used to convert Chinese person and road names to English, which can be pronounced easily in International Phonetic Alphabet and followed by a native Hongkongnese. But people seldomly use it to type in Chinese. its pronounciation is hard for a native Chinese to learn. And it's a incomplete scheme. See: http://en.wikipedia.org/wiki/Hong_Kong_Government_Cantonese_Romanisation for details If you don't know what it is, don't try. %package -n fcitx-table-hk-stroke5 Summary: Hong Kong 5 stroke input table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-hk-stroke5 Fcitx Hong Kong 5 stroke input table for Traditional Chinese. %package -n fcitx-table-tw-easy-large Summary: Easy table with large character set for Traditional Chinese License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-easy-large Fcitx Easy (Heng Sung) table with large character set for Traditional Chinese. %package -n fcitx-table-tw-quick3 Summary: Quick 3 table for Traditional Chinese License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-quick3 Fcitx Quick (Cuk Sing) 3 table for Traditional Chinese. %package -n fcitx-table-tw-quick5 Summary: Quick 5 table for Traditional Chinese License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-quick5 Fcitx Quick (Cuk Sing) 5 table for Traditional Chinese. %package -n fcitx-table-tw-quick-classic Summary: Quick Classic table for Traditional Chinese License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-quick-classic Fcitx Quick (Cuk Sing) Classic table for Traditional Chinese. %package -n fcitx-table-tw-array30 Summary: Array 30 table for Traditional Chinese License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-array30 Fcitx Array 30 (hang laat 30) table for Traditional Chinese. %package -n fcitx-table-tw-array30-large Summary: Array 30 table with large character set for Traditional Chinese License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-tw-array30-large Fcitx Array 30 (hang laat 30) table with large character set for Traditional Chinese. %package -n fcitx-table-cn-wubi-large Summary: Wubi large character set table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: locale(fcitx-table:zh_CN;) Provides: %{name} = %{version} %description -n fcitx-table-cn-wubi-large Fcitx Wubi (Wu Bi Zi Xing) table with large character set for Simplified Chinese. Wubi in Fcitx is based on wubi x86. %package -n fcitx-table-cn-wu Summary: Wu table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-cn-wu Fcitx Wu table for Simplified Chinese. It's not Wubi, but Shanghainese. Wu is a dialect used in a few provinces in the south end beach of yangtse river. If you don't know what it is, don't try. %package -n fcitx-table-cn-zhengma Summary: Cheng table for Fcitx License: SUSE-Public-Domain Group: System/I18n/Chinese Requires: fcitx-table BuildArch: noarch Provides: %{name} = %{version} %description -n fcitx-table-cn-zhengma Fcitx Cheng (Zheng Ma) table for Simplified Chinese. %package lang Summary: Languages for package %{name} Group: System/Localization Requires: %{name} = %{version} Provides: %{name}-lang-all = %{version} %if 0%{?suse_version} Supplements: packageand(bundle-lang-other:%{name}) %endif BuildArch: noarch %description lang Provides translations to the package %{name} %prep %setup -q %build %{__mkdir} -pv build pushd build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. make %{?_smp_mflags} %install pushd build make DESTDIR=%{buildroot} install popd #fix wrong icon size error %{__mv} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/fcitx-cantonese.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/ %{__mv} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/fcitx-stroke5.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/ %{__mv} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-zhengma.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ %find_lang %{name} %files lang -f %{name}.lang %files -n fcitx-table-tw-boshiamy %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/boshiamy.* %{_datadir}/icons/hicolor/*/apps/fcitx-boshiamy.png %files -n fcitx-table-tw-cangjie3 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/cangjie3.* %files -n fcitx-table-tw-cangjie5 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/cangjie5.* %files -n fcitx-table-tw-cangjie-large %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/cangjie-big.* %files -n fcitx-table-tw-smart-cangjie6 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/scj6.* %{_datadir}/icons/hicolor/*/apps/fcitx-scj6.png %files -n fcitx-table-cn-cantonese %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/cantonese.* %{_datadir}/icons/hicolor/*/apps/fcitx-cantonese.png %files -n fcitx-table-hk-cantonese %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/cantonhk.* %{_datadir}/icons/hicolor/*/apps/fcitx-cantonhk.png %files -n fcitx-table-hk-jyutping %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/jyutping.* %{_datadir}/icons/hicolor/*/apps/fcitx-jyutping.png %files -n fcitx-table-hk-stroke5 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/stroke5.* %{_datadir}/icons/hicolor/*/apps/fcitx-stroke5.png %files -n fcitx-table-tw-easy-large %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/easy-big.* %{_datadir}/icons/hicolor/*/apps/fcitx-easy-big.png %files -n fcitx-table-tw-quick3 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/quick3.* %{_datadir}/icons/hicolor/*/apps/fcitx-quick3.png %files -n fcitx-table-tw-quick5 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/quick5.* %{_datadir}/icons/hicolor/*/apps/fcitx-quick5.png %files -n fcitx-table-tw-quick-classic %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/quick-classic.* %{_datadir}/icons/hicolor/*/apps/fcitx-quick-classic.png %files -n fcitx-table-tw-array30 %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/array30.* %{_datadir}/icons/hicolor/*/apps/fcitx-array30.png %files -n fcitx-table-tw-array30-large %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/array30-big.* %{_datadir}/icons/hicolor/*/apps/fcitx-array30-big.png %files -n fcitx-table-cn-wubi-large %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/wubi-large.* %files -n fcitx-table-cn-wu %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/wu.* %{_datadir}/icons/hicolor/*/apps/fcitx-wu.png %files -n fcitx-table-cn-zhengma %defattr(-,root,root) %dir %{_datadir}/fcitx/table %{_datadir}/fcitx/table/zhengma.* %{_datadir}/icons/hicolor/*/apps/fcitx-zhengma.png %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