%define old_ver 1.3.0.20100527 Name: ibus-table-chinese Version: 1.3.0.20100527 Release: 1%{?dist} Summary: Chinese tables for IBus-Table License: GPLv3 Group: System Environment/Libraries URL: http://code.google.com/p/ibus/ Source0: http://ibus-table-cangcan.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: ibus-table >= 1.2.0.20100111-2 BuildRequires: ibus-table-devel >= 1.2.0.20100111-2 Obsoletes: ibus-table-cangjie < %{old_ver} Obsoletes: ibus-table-erbi < %{old_ver} Obsoletes: ibus-table-quick < %{old_ver} Obsoletes: ibus-table-wubi < %{old_ver} Obsoletes: ibus-table-xinhua < %{old_ver} Obsoletes: ibus-table-yong < %{old_ver} Provides: ibus-table-cangjie < %{old_ver} Provides: ibus-table-erbi = %{old_ver} Provides: ibus-table-quick = %{old_ver} Provides: ibus-table-wubi = %{old_ver} Provides: ibus-table-xinhua = %{old_ver} Provides: ibus-table-yong = %{old_ver} %description The package contains Chinese tables for IBus-Table. ## Localized Summary and Descriptions Summary(zh_CN): IBus-Table 中文码表 Summary(zh_TW): IBus-Table 中文碼表 Summary(zh_HK): IBus-Table 中文碼表 %description -l zh_CN 本包含有 IBus-Table 之中文码表。 %description -l zh_TW 此套件包含有 IBus-Table 之中文碼表。 %description -l zh_HK 呢個包有 IBus-Table 嘅中文碼表。 %prep %setup -q %build export IBUS_TABLE_CREATEDB="%{_bindir}/ibus-table-createdb -o" %configure \ --prefix=%{_prefix} \ --disable-static \ --enable-cangjie3 \ --enable-cangjie5 \ --enable-cangjiebig \ --enable-scj6 \ --enable-quick3 \ --enable-quick5 \ --enable-quickclassic \ --enable-easybig \ --enable-cantonese \ --enable-cantonhk \ --enable-jyutping \ --enable-erbi \ --enable-erbiqs \ --enable-stroke5 \ --enable-wu \ --enable-wubi \ --enable-xinhua \ --enable-yong \ --enable-zhengma \ --enable-zhuyin=no \ --enable-zhuyinbig=no \ --enable-ziranma %__make %{?_smp_mflags} %install %__rm -rf %{buildroot} %__make DESTDIR=%{buildroot} NO_INDEX=true INSTALL="install -p" install cd %{buildroot}/%{_datadir}/ibus-table/tables/ %{_bindir}/ibus-table-createdb -i -n cangjie3.db %{_bindir}/ibus-table-createdb -i -n cangjie5.db %{_bindir}/ibus-table-createdb -i -n cangjie-big.db %{_bindir}/ibus-table-createdb -i -n scj6.db %{_bindir}/ibus-table-createdb -i -n quick3.db %{_bindir}/ibus-table-createdb -i -n quick5.db %{_bindir}/ibus-table-createdb -i -n quick-classic.db %{_bindir}/ibus-table-createdb -i -n easy-big.db %{_bindir}/ibus-table-createdb -i -n cantonese.db %{_bindir}/ibus-table-createdb -i -n cantonhk.db %{_bindir}/ibus-table-createdb -i -n jyutping.db %{_bindir}/ibus-table-createdb -i -n erbi.db %{_bindir}/ibus-table-createdb -i -n erbi_qs.db %{_bindir}/ibus-table-createdb -i -n stroke5.db %{_bindir}/ibus-table-createdb -i -n wu.db %{_bindir}/ibus-table-createdb -i -n wubi86.db %{_bindir}/ibus-table-createdb -i -n xinhua-ibus.db %{_bindir}/ibus-table-createdb -i -n yong-ibus.db %{_bindir}/ibus-table-createdb -i -n zhengma.db %{_bindir}/ibus-table-createdb -i -n ziranma.db %clean %__rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_datadir}/ibus-table/tables/*.db %{_datadir}/ibus-table/icons/*.png %{_datadir}/ibus-table/icons/*.svg %changelog * Thu May 27 2010 Caius 'kaio' Chance - 1.3.0.20100527-1 - New package merged from almost all packages of Chinese IBus-Table tables.