package init

This commit is contained in:
duyyb 2019-12-06 18:00:01 +08:00
parent f908c543b7
commit 16b528d95e
2 changed files with 40 additions and 0 deletions

Binary file not shown.

40
ibus-table-array30.spec Normal file
View File

@ -0,0 +1,40 @@
Name: ibus-table-array30
Version: 1.2.0.20090729
Release: 7
Summary: The Array 30 Chinese input method for IBus framework
License: GPLv2+
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
BuildArch: noarch
BuildRequires: ibus-table >= 1.1 cmake >= 2.4
Requires: ibus-table >= 1.1
%description
bus-table-array30 provides array 30 Chinese input method on IBus Table under IBus framework.
Use ibus-table input method. This version contains more than 70,000 words in Unicode 3.1.
%prep
%autosetup -n %{name}-%{version}-Source -p1
%build
%cmake -DCMAKE_INSTALL_PREFIX='%{_usr}'
%make_build VERBOSE=1 C_DEFINES="$RPM_OPT_FLAGS"
%install
%make_install
%post
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/Array30.db
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc AUTHORS README ChangeLog COPYING INSTALL
%defattr(-,root,root,-)
%{_datadir}/ibus-table/{tables/Array30.db,icons/Array30.png}
%changelog
* Wed Dec 4 2019 duyeyu <duyeyu@huawei.com> - 1.2.0.20090729-7
- Package init