fcitx-anthy-vl.spec 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %define ver 0.2.0
  2. %define rel 1
  3. Summary: Anthy Wrapper for Fcitx
  4. Name: fcitx-anthy
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: GPLv2+
  8. Group: System Environment/Libraries
  9. URL: https://fcitx-im.org/
  10. Source0: http://download.fcitx-im.org/fcitx-anthy/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  12. BuildRequires: cmake
  13. BuildRequires: anthy-devel
  14. BuildRequires: fcitx-devel
  15. Requires: fcitx
  16. Distribution: Vine Linux
  17. Vendor: Project Vine
  18. Packager: iwaim
  19. %description
  20. Anthy Wrapper for Fcitx. Ported from scim-anthy.
  21. %prep
  22. %setup -q
  23. %build
  24. %__mkdir build
  25. pushd build
  26. %cmake ..
  27. make
  28. popd
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. pushd build
  32. make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
  33. popd
  34. %{find_lang} %{name}
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files -f %{name}.lang
  38. %defattr(-,root,root,-)
  39. %doc README AUTHORS COPYING
  40. %{_libdir}/fcitx
  41. %{_datadir}/fcitx
  42. %{_datadir}/icons/hicolor/*/status/fcitx*.png
  43. %{_datadir}/icons/hicolor/*/status/fcitx*.svg
  44. %changelog
  45. * Tue Nov 5 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.2.0-1
  46. - initial release