1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Name: @PROJECT_NAME@
Version: @PRJ_VER@
Release: @PRJ_VER_RELEASE@%{?dist}
Summary: @PROJECT_SUMMARY@
Summary(zh_CN): 使用 ibus-table 的行列输入法
Summary(zh_TW): 使用 ibus-table 的行列輸入法
License: GPLv2+
Group: System Environment/Libraries
URL: http://github.com/definite/ibus-table-array30/tree/master
Source0: http://cloud.github.com/downloads/definite/ibus-table-array30/%{name}-%{version}-Source.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: ibus-table >= 1.1
BuildRequires: cmake >= 2.4
Requires: ibus-table >= 1.1
Requires(post): ibus-table >= 1.1
%description
The Array 30 Chinese input method for ibus-table.
It covers more than 70 thousands Chinese characters,
which are listed in unicode 3.1,
%description -l zh_CN
使用 ibus-table 的行列输入法。這个版本包含了Unicode 3.1 約七万多字。
%description -l zh_TW
使用 ibus-table 的行列輸入法。這個版本包含了Unicode 3.1 約七萬餘字。
%prep
%setup -q -n %{name}-%{version}-Source
%build
%cmake -DCMAKE_INSTALL_PREFIX='%{_usr}'
make VERBOSE=1 C_DEFINES="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} INSTALL="install -p" install
%post
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/Array30.db
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog COPYING INSTALL
%{_datadir}/ibus-table/tables/Array30.db
%{_datadir}/ibus-table/icons/Array30.png
%changelog
@RPM_CHANGELOG@
|