1 |
Name: chewing-editor |
2 |
Summary: Cross platform chewing user phrase editor |
3 |
Version: 0.1.1 |
4 |
Release: %mkrel 7 |
5 |
Group: System/Internationalization |
6 |
License: GPLv2 |
7 |
URL: https://chewing.im/ |
8 |
Source0: https://github.com/chewing/chewing-editor/releases/download/v%{version}/%{name}-%{version}.tar.gz |
9 |
Patch0: chewing-editor-0.1.1-fix-build-against-qt-5.11.0.patch |
10 |
BuildRequires: cmake |
11 |
BuildRequires: help2man |
12 |
BuildRequires: pkgconfig(chewing) |
13 |
BuildRequires: pkgconfig(Qt5Core) |
14 |
BuildRequires: pkgconfig(Qt5Gui) |
15 |
BuildRequires: pkgconfig(Qt5Widgets) |
16 |
BuildRequires: qttools5 |
17 |
|
18 |
Requires: libchewing |
19 |
|
20 |
%description |
21 |
chewing-editor is a cross platform chewing user phrase editor. |
22 |
It provides a easy way to manage user phrase. With it, user can |
23 |
customize their user phrase to increase input performance. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
%autopatch -p1 |
28 |
|
29 |
%build |
30 |
%cmake_qt5 |
31 |
%cmake_build |
32 |
|
33 |
%install |
34 |
%cmake_install |
35 |
|
36 |
%files |
37 |
%doc COPYING README.md |
38 |
%{_bindir}/%{name} |
39 |
%{_datadir}/applications/%{name}.desktop |
40 |
%{_iconsdir}/hicolor/256/apps/%{name}.png |
41 |
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
42 |
%{_mandir}/man1/%{name}.1* |