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