fcitx-configtool-vl.spec 2.0 KB

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