Browse Source

new: OpenType-noto-serif-cjk-jp

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11027 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 7 years ago
parent
commit
dde0b92bbb
1 changed files with 53 additions and 0 deletions
  1. 53 0
      O/OpenType-noto-serif-cjk-jp/OpenType-noto-serif-cjk-jp-vl.spec

+ 53 - 0
O/OpenType-noto-serif-cjk-jp/OpenType-noto-serif-cjk-jp-vl.spec

@@ -0,0 +1,53 @@
+%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
+