fcitx-configtool-vl.spec 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. %define ver 0.4.8
  2. %define rel 1
  3. Summary: a GTK based configurae tool for Fcitx
  4. Summary: GTKベースのFcitx設定ツール
  5. Name: fcitx-configtool
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. License: GPLv2
  9. Group: System Environment/Libraries
  10. URL: https://fcitx-im.org
  11. Source0: http://download.fcitx-im.org/fcitx-configtool/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  13. BuildRequires: cmake
  14. BuildRequires: fcitx-devel >= 4.2.8
  15. BuildRequires: gtk3-devel >= 3.4
  16. BuildRequires: iso-codes
  17. Requires: fcitx
  18. Distribution: Vine Linux
  19. Vendor: Project Vine
  20. Packager: iwaim
  21. %description
  22. A GTK based configurae tool for fcitx.
  23. %description -l ja
  24. GTKベースのFcitx設定ツール
  25. %prep
  26. %setup -q
  27. %build
  28. %__mkdir build
  29. pushd build
  30. %cmake ..
  31. make %{?_smp_mflags}
  32. popd
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. pushd build
  36. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  37. popd
  38. %find_lang %{name}
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files -f %{name}.lang
  42. %defattr(-,root,root,-)
  43. %doc README COPYING
  44. %{_bindir}/fcitx-config-gtk3
  45. %changelog
  46. * Fri Nov 8 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.4.8-1
  47. - initial release