-
Notifications
You must be signed in to change notification settings - Fork 0
/
fcitx5-array.spec
63 lines (55 loc) · 1.69 KB
/
fcitx5-array.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
#
# spec file for package fcitx5-array
#
Name: fcitx5-array
Version: 0.9.3
Release: 0
Summary: Array 30 input method engine for Fcitx5
License: GPL-2.0-or-later and LGPL-2.1-or-later
URL: https://github.com/ray2501/fcitx5-ray2501
Source: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: fcitx5-devel
BuildRequires: fcitx5-chinese-addons-devel
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
%if 0%{?suse_version} || 0%{?sle_version} || 0%{?mandriva_version}
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel >= 3.0
%endif
BuildRequires: fmt-devel
Requires: fcitx5
Provides: fcitx-array = %{version}
Obsoletes: fcitx-array < %{version}
%description
Array 30 input method engine for Fcitx5 project.
%prep
%setup -q
%build
%cmake ..
%make_build
%install
%cmake_install
%find_lang %{name}
%files -f %{name}.lang
%license LICENSES
%doc README.md
%defattr(-,root,root,-)
%{_fcitx5_libdir}/libassociation.so
%{_fcitx5_addondir}/association.conf
%{_fcitx5_libdir}/array.so
%{_fcitx5_addondir}/array.conf
%{_fcitx5_imconfdir}/array.conf
%{_fcitx5_imconfdir}/array.conf
%{_fcitx5_datadir}/array
%{_fcitx5_datadir}/array/array.db
%{_fcitx5_datadir}/data/AssociatedPhrases.mb
%{_datadir}/icons/hicolor/*/apps/org.fcitx.Fcitx5.fcitx-ibusarray*
%{_datadir}/icons/hicolor/*/apps/fcitx-ibusarray*
%{_datadir}/icons/hicolor/*/apps/org.fcitx.Fcitx5.fcitx-association-active*
%{_datadir}/icons/hicolor/*/apps/fcitx-association-active*
%{_datadir}/icons/hicolor/*/apps/org.fcitx.Fcitx5.fcitx-association-inactive*
%{_datadir}/icons/hicolor/*/apps/fcitx-association-inactive*
%changelog