1 |
Name: chewing-editor |
2 |
Summary: Cross platform chewing user phrase editor |
3 |
Version: 0.1.0 |
4 |
Release: %mkrel 1 |
5 |
Group: System/Internationalization |
6 |
License: GPLv2 |
7 |
Source0: https://github.com/chewing/chewing-editor/releases/download/v%{version}/%{name}-%{version}.tar.gz |
8 |
URL: http://chewing.im |
9 |
BuildRequires: cmake |
10 |
BuildRequires: libchewing-devel |
11 |
BuildRequires: qt5core-devel |
12 |
BuildRequires: qt5gui-devel |
13 |
BuildRequires: qt5widgets-devel |
14 |
BuildRequires: qttools5 |
15 |
Requires: libchewing |
16 |
|
17 |
%description |
18 |
chewing-editor is a cross platform chewing user phrase editor. |
19 |
It provides a easy way to manage user phrase. With it, user can |
20 |
customize their user phrase to increase input performance. |
21 |
|
22 |
%prep |
23 |
%setup -q |
24 |
|
25 |
%build |
26 |
%cmake |
27 |
%make |
28 |
|
29 |
%install |
30 |
%make_install -C build |
31 |
|
32 |
#remove invalid desktop file version |
33 |
sed -i '/Version/d' %{buildroot}%{_datadir}/applications/%{name}.desktop |
34 |
|
35 |
%files |
36 |
%doc COPYING README.md |
37 |
%{_bindir}/%{name} |
38 |
%{_datadir}/applications/%{name}.desktop |
39 |
%{_iconsdir}/hicolor/256/apps/%{name}.png |
40 |
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
41 |
%{_datadir}/man/man1/%{name}.1.xz |