1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- %define ver 1.0
- %define sdate 20170403
- %define rel 1.date%{sdate}
- %define fontname noto-serif-cjk-jp
- %define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
- Summary:Noto Serif CJK JP fonts
- Name: OpenType-noto-serif-cjk-jp
- Version: %{ver}
- Release: %{rel}%{?_dist_release}
- Source0: https://noto-website.storage.googleapis.com/pkgs/NotoSerifCJKjp-hinted.zip
- License: OFL
- Group: User Interface/X
- URL: https://www.google.com/get/noto/
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: iwaim
- %description
- %{summary}
- %prep
- %setup -q -T -a 0 -c
- %build
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir}
- %{__install} -m0644 *.otf ${RPM_BUILD_ROOT}%{_fontdir}
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %post
- %__font_install_post %{_fontdir}
- %postun
- %__font_install_postun %{_fontdir}
- %files
- %defattr(-,root,root)
- %doc README LICENSE_OFL.txt
- %{_fontdir}
- %changelog
- * Thu Apr 13 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 20170310-1
- - initial build for Vine Linux
|