source: projects/specs/trunk/O/OpenType-noto-serif-cjk-jp/OpenType-noto-serif-cjk-jp-vl.spec @ 11027

Revision 11027, 1.0 KB checked in by iwaim, 7 years ago (diff)

new: OpenType?-noto-serif-cjk-jp

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