OpenType-UniHentaiKana-vl.spec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %define ver 1.0
  2. %define rel 1
  3. %define fontname UniHentaiKana
  4. %define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
  5. Summary: Unicode Hentai-Kana font
  6. Summary(ja): Unicode変態仮名フォント
  7. Name: OpenType-UniHentaiKana
  8. Version: %{ver}
  9. Release: %{rel}%{?_dist_release}
  10. Source0: http://wakufactory.jp/densho/font/hentai/UniHentaiKana-Regular.otf
  11. Source1: http://ipafont.ipa.go.jp/ipa_font_license_v1-html
  12. License: IPA FONT LICENSE AGREEMENT V1.0
  13. Group: User Interface/X
  14. URL: http://wakufactory.jp/densho/font/hentai/
  15. BuildArch: noarch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: iwaim
  20. %description
  21. %{summary}
  22. %prep
  23. %setup -T -c %{name}-%{version}
  24. %{__cp} %SOURCE0 .
  25. %{__cp} %SOURCE1 .
  26. %build
  27. %install
  28. %{__rm} -rf ${RPM_BUILD_ROOT}
  29. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir}
  30. %{__install} -m0644 *.otf ${RPM_BUILD_ROOT}%{_fontdir}
  31. %clean
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %post
  34. %__font_install_post %{_fontdir}
  35. %postun
  36. %__font_install_postun %{_fontdir}
  37. %files
  38. %defattr(-,root,root)
  39. %doc ipa_font_license_v1-html
  40. %{_fontdir}
  41. %changelog
  42. * Tue Jun 27 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0-1
  43. - initial build for Vine Linux