1 | Summary: a GTK based configurae tool for Fcitx |
---|
2 | Summary(ja): GTKベースのFcitx設定ツール |
---|
3 | Name: fcitx-configtool |
---|
4 | Version: 0.4.10 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: localization |
---|
7 | Distribution: Vine Linux |
---|
8 | Vendor: Project Vine |
---|
9 | Packager: iwaim |
---|
10 | |
---|
11 | License: GPLv2 |
---|
12 | URL: https://fcitx-im.org |
---|
13 | Source0: https://download.fcitx-im.org/fcitx-configtool/%{name}-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
16 | BuildRequires: cmake |
---|
17 | BuildRequires: fcitx-devel >= 4.2.8 |
---|
18 | BuildRequires: gtk3-devel >= 3.4 |
---|
19 | BuildRequires: gtk2-devel >= 2.24 |
---|
20 | BuildRequires: unique-devel |
---|
21 | BuildRequires: iso-codes |
---|
22 | Requires: fcitx |
---|
23 | Requires: fcitx-configtool-gtk2 |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | A GTK based configure tool for fcitx. |
---|
28 | |
---|
29 | %description -l ja |
---|
30 | GTKベースのFcitx設定ツール |
---|
31 | |
---|
32 | %package gtk2 |
---|
33 | Summary: a GTK3 based configurae tool for Fcitx |
---|
34 | Summary(ja): GTK2ベースのFcitx設定ツール |
---|
35 | Requires: fcitx-configtool = %{version} |
---|
36 | %description gtk2 |
---|
37 | A GTK2 based configure tool for fcitx. |
---|
38 | %description -l ja gtk2 |
---|
39 | GTK2ベースのFcitx設定ツール |
---|
40 | |
---|
41 | %package gtk3 |
---|
42 | Summary: a GTK3 based configurae tool for Fcitx |
---|
43 | Summary(ja): GTK3ベースのFcitx設定ツール |
---|
44 | Requires: fcitx-configtool = %{version} |
---|
45 | %description gtk3 |
---|
46 | A GTK3 based configure tool for fcitx. |
---|
47 | %description -l ja gtk3 |
---|
48 | GTK3ベースのFcitx設定ツール |
---|
49 | |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | |
---|
54 | %build |
---|
55 | %__mkdir build |
---|
56 | pushd build |
---|
57 | %cmake .. \ |
---|
58 | -DENABLE_GTK2=On \ |
---|
59 | -DENABLE_GTK3=On |
---|
60 | make %{?_smp_mflags} |
---|
61 | popd |
---|
62 | |
---|
63 | %install |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | pushd build |
---|
66 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
67 | popd |
---|
68 | |
---|
69 | %find_lang %{name} |
---|
70 | |
---|
71 | %clean |
---|
72 | rm -rf $RPM_BUILD_ROOT |
---|
73 | |
---|
74 | %files -f %{name}.lang |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %doc README COPYING |
---|
77 | |
---|
78 | %files gtk2 |
---|
79 | %{_bindir}/fcitx-config-gtk |
---|
80 | |
---|
81 | %files gtk3 |
---|
82 | %{_bindir}/fcitx-config-gtk3 |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.10-1 |
---|
86 | - new upstream release. |
---|
87 | |
---|
88 | * Wed Jun 04 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.4.8-2 |
---|
89 | - build gtk2 and gtk3 version |
---|
90 | - add fcitx-configtool-gtk[23] subpackage. |
---|
91 | |
---|
92 | * Fri Nov 8 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.4.8-1 |
---|
93 | - initial release |
---|
94 | |
---|