Rev | Line | |
---|
[11027] | 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 | |
---|
| 8 | Summary:Noto Serif CJK JP fonts |
---|
| 9 | Name: OpenType-noto-serif-cjk-jp |
---|
| 10 | Version: %{ver} |
---|
| 11 | Release: %{rel}%{?_dist_release} |
---|
| 12 | Source0: https://noto-website.storage.googleapis.com/pkgs/NotoSerifCJKjp-hinted.zip |
---|
| 13 | License: OFL |
---|
| 14 | Group: User Interface/X |
---|
| 15 | URL: https://www.google.com/get/noto/ |
---|
| 16 | BuildArch: noarch |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: 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.