Line | |
---|
1 | %define ver 1.0 |
---|
2 | %define rel 1 |
---|
3 | |
---|
4 | %define fontname UniHentaiKana |
---|
5 | %define _fontdir %{_datadir}/fonts/OpenType-%{fontname} |
---|
6 | |
---|
7 | Summary: Unicode Hentai-Kana font |
---|
8 | Summary(ja): Unicode変態仮名フォント |
---|
9 | Name: OpenType-UniHentaiKana |
---|
10 | Version: %{ver} |
---|
11 | Release: %{rel}%{?_dist_release} |
---|
12 | Source0: http://wakufactory.jp/densho/font/hentai/UniHentaiKana-Regular.otf |
---|
13 | Source1: http://ipafont.ipa.go.jp/ipa_font_license_v1-html |
---|
14 | License: IPA FONT LICENSE AGREEMENT V1.0 |
---|
15 | Group: User Interface/X |
---|
16 | URL: http://wakufactory.jp/densho/font/hentai/ |
---|
17 | BuildArch: noarch |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: iwaim |
---|
23 | |
---|
24 | %description |
---|
25 | %{summary} |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -T -c %{name}-%{version} |
---|
29 | %{__cp} %SOURCE0 . |
---|
30 | %{__cp} %SOURCE1 . |
---|
31 | |
---|
32 | %build |
---|
33 | |
---|
34 | %install |
---|
35 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
36 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir} |
---|
37 | %{__install} -m0644 *.otf ${RPM_BUILD_ROOT}%{_fontdir} |
---|
38 | |
---|
39 | %clean |
---|
40 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
41 | |
---|
42 | %post |
---|
43 | %__font_install_post %{_fontdir} |
---|
44 | |
---|
45 | %postun |
---|
46 | %__font_install_postun %{_fontdir} |
---|
47 | |
---|
48 | %files |
---|
49 | %defattr(-,root,root) |
---|
50 | %doc ipa_font_license_v1-html |
---|
51 | %{_fontdir} |
---|
52 | |
---|
53 | %changelog |
---|
54 | * Tue Jun 27 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0-1 |
---|
55 | - initial build for Vine Linux |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.