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

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