[7970] | 1 | Summary: a GTK based configurae tool for Fcitx |
---|
[8501] | 2 | Summary(ja): GTKベースのFcitx設定ツール |
---|
[7970] | 3 | Name: fcitx-configtool |
---|
[12453] | 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 | |
---|
[7970] | 11 | License: GPLv2 |
---|
| 12 | URL: https://fcitx-im.org |
---|
[12453] | 13 | Source0: https://download.fcitx-im.org/fcitx-configtool/%{name}-%{version}.tar.xz |
---|
| 14 | |
---|
[7970] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
| 16 | BuildRequires: cmake |
---|
| 17 | BuildRequires: fcitx-devel >= 4.2.8 |
---|
| 18 | BuildRequires: gtk3-devel >= 3.4 |
---|
[8501] | 19 | BuildRequires: gtk2-devel >= 2.24 |
---|
| 20 | BuildRequires: unique-devel |
---|
[7970] | 21 | BuildRequires: iso-codes |
---|
| 22 | Requires: fcitx |
---|
[8501] | 23 | Requires: fcitx-configtool-gtk2 |
---|
[7970] | 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
[8501] | 27 | A GTK based configure tool for fcitx. |
---|
[7970] | 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | GTKベースのFcitx設定ツール |
---|
| 31 | |
---|
[8501] | 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 | |
---|
[7970] | 51 | %prep |
---|
| 52 | %setup -q |
---|
| 53 | |
---|
| 54 | %build |
---|
| 55 | %__mkdir build |
---|
| 56 | pushd build |
---|
[8501] | 57 | %cmake .. \ |
---|
| 58 | -DENABLE_GTK2=On \ |
---|
| 59 | -DENABLE_GTK3=On |
---|
[7970] | 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 |
---|
[8501] | 77 | |
---|
| 78 | %files gtk2 |
---|
| 79 | %{_bindir}/fcitx-config-gtk |
---|
| 80 | |
---|
| 81 | %files gtk3 |
---|
[7970] | 82 | %{_bindir}/fcitx-config-gtk3 |
---|
| 83 | |
---|
| 84 | %changelog |
---|
[12453] | 85 | * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.10-1 |
---|
| 86 | - new upstream release. |
---|
| 87 | |
---|
[8501] | 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 | |
---|
[7970] | 92 | * Fri Nov 8 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.4.8-1 |
---|
| 93 | - initial release |
---|
| 94 | |
---|