forked from rinleit/ibus-teni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathibus-teni.spec
96 lines (77 loc) · 2.99 KB
/
ibus-teni.spec
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#
# Teni-IME - A Vietnamese Input method editor
# Copyright (C) 2018 Nguyen Cong Hoang <[email protected]>
# This file is part of Teni-IME.
#
# Teni-IME is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Teni-IME is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Teni-IME. If not, see <http://www.gnu.org/licenses/>.
#
#release info -----------------------------------------------------------------
%define engine_name teni
%define package_name ibus-%{engine_name}
%define version 1.2.1
#install directories ----------------------------------------------------------
%define engine_dir /usr/share/%{package_name}
%define ibus_dir /usr/share/ibus
%define ibus_cpn_dir /usr/share/ibus/component
%define usr_lib_dir /usr/lib
#package info -----------------------------------------------------------------
Name: ibus-%{engine_name}
Version: %{version}
Release: 1
Summary: A Vietnamese IME for IBus
License: GPL-3.0
Group: System/Localization
URL: https://github.com/teni-ime/ibus-teni
Packager: Nguyen Cong Hoang <[email protected]>
BuildRequires: go
Requires: ibus
Provides: locale(ibus:vi)
Source0: %{package_name}-%{version}.tar.gz
%description
A Vietnamese IME for IBus using Teni-IME
Bộ gõ tiếng Việt cho IBus sử dụng Teni-IME
%global debug_package %{nil}
%prep
%setup
%build
make build
%install
make DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%doc README.md LICENSE MAINTAINERS
%dir %{ibus_dir}
%dir %{ibus_cpn_dir}
%dir %{engine_dir}
%{engine_dir}/*
%{ibus_dir}/component/%{engine_name}.xml
%{usr_lib_dir}/ibus-engine-%{engine_name}
%clean
cd ..
rm -rf %{package_name}-%{version}
rm -rf %{buildroot}
%changelog
* Tue Aug 21 2018 Nguyen Cong Hoang <[email protected]> - 1.2.1
- Sửa lỗi khôi phục phím w, [, ] trên kiểu gõ Telex
- Bổ sung danh sách từ tiếng Việt: xịn
* Fri Aug 17 2018 Nguyen Cong Hoang <[email protected]> - 1.2.0
- Thêm kiểu gõ Telex (cho phép gõ nhanh bằng w, [,])
- Sửa lỗi mất gợi ý khi gõ trên thanh địa chỉ của Chrome
* Thu Aug 9 2018 Nguyen Cong Hoang <[email protected]> - 1.1.0
- Thêm xử lý nhanh chóng khôi phục phím khi gõ từ không có trong tiếng Việt
- Sửa lỗi mất space khi gõ trên Dropbox Paper
* Sun Jul 29 2018 Nguyen Cong Hoang <[email protected]> - 1.0.0
- Phiên bản hoàn thiện chính thức: ibus-teni v1.0.0
* Fri Jun 22 2018 Nguyen Cong Hoang <[email protected]> - 0.1
- Phiên bản chính thức đầu tiên: ibus-teni v0.1