OpenType-noto-sans-cjk-jp-vl.spec 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %define ver 20170310
  2. %define rel 1
  3. %define fontname noto-sans-cjk-jp
  4. %define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
  5. Summary:Noto Sans CJK JP fonts
  6. Name: OpenType-noto-sans-cjk-jp
  7. Version: %{ver}
  8. Release: %{rel}%{?_dist_release}
  9. Source0: https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip
  10. License: OFL
  11. Group: User Interface/X
  12. URL: https://www.google.com/get/noto/
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: iwaim
  18. %description
  19. %{summary}
  20. %prep
  21. %setup -q -T -a 0 -c
  22. %build
  23. %install
  24. %{__rm} -rf ${RPM_BUILD_ROOT}
  25. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir}
  26. %{__install} -m0644 *.otf ${RPM_BUILD_ROOT}%{_fontdir}
  27. %clean
  28. %{__rm} -rf ${RPM_BUILD_ROOT}
  29. %post
  30. %__font_install_post %{_fontdir}
  31. %postun
  32. %__font_install_postun %{_fontdir}
  33. %files
  34. %defattr(-,root,root)
  35. %doc README LICENSE_OFL.txt
  36. %{_fontdir}
  37. %changelog
  38. * Thu Apr 13 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 20170310-1
  39. - initial build for Vine Linux