source: projects/specs/trunk/T/TrueType-misaki/TrueType-misaki-vl.spec @ 10187

Revision 10187, 2.9 KB checked in by kudoh, 8 years ago (diff)

new upstream release

Line 
1%define fontname misaki
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Misaki font
6Summary(ja): 美咲フォント
7Version: 20150410
8Release: 1%{?_dist_release}
9License: m plus font license
10Group: User Interface/X
11URL: http://www.geocities.jp/littlimi/misaki.htm
12
13Source0: %{fontname}_ttf_2015-04-10.zip
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17Buildrequires: unzip
18
19Requires: TrueType-%{fontname}-gothic = %{version}
20Requires: TrueType-%{fontname}-mincho = %{version}
21Requires: TrueType-%{fontname}-doc = %{version}
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: kudoh
26
27%description
28Misaki font was originally made for PCE-500 SCRNJP 8×8 bitmap font.
29Now, this font is provided as TrueType font.
30
31%description -l ja
32美咲フォントは元々 PC-E500 SCRNJP 用に作られた
338×8 ビットマップフォントです。
34現在は TrueType フォントとして提供されています。
35
36#-- ゴシック
37%package gothic
38Summary: Misaki gothic Font
39Summary(ja): 美咲フォント(ゴシック体)
40Group: User Interface/X
41Requires: TrueType-misaki-doc
42
43%description gothic
44This package include Misaki gothic TrueType font.
45
46%description -l ja gothic
47このパッケージには美咲フォントゴシック体が含まれています。
48
49#-- 明朝
50%package mincho
51Summary: Misaki mincho Font
52Summary(ja): 美咲フォント(明朝体)
53Group: User Interface/X
54Requires: TrueType-misaki-doc
55
56%description mincho
57This package include Misaki mincho TrueType font.
58
59%description -l ja mincho
60このパッケージには美咲フォント明朝体が含まれています。
61
62%package doc
63Summary: Misaki font documents
64Summary(ja): 美咲フォントドキュメント
65Group: User Interface/X
66
67%description doc
68This package includes important documents for Misaki font
69includes enduser license.
70
71%description -l ja doc
72このパッケージには美咲フォントのライセンスを含む
73ドキュメント類が含まれています。
74
75
76%prep
77%setup -qcT
78%{_bindir}/unzip -oq %{SOURCE0}
79# permission fixed
80chmod -x *.txt
81chmod 644 *.ttf
82
83%clean
84if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
85    rm -rf ${RPM_BUILD_ROOT}
86fi
87
88%build
89
90%install
91rm -rf %{buildroot}
92
93mkdir -p $RPM_BUILD_ROOT%{_fontdir}
94cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
95
96
97%post gothic
98%__font_install_post %{_fontdir}
99
100%post mincho
101%__font_install_post %{_fontdir}
102
103%postun gothic
104%__font_install_postun %{_fontdir}
105
106%postun mincho
107%__font_install_postun %{_fontdir}
108
109%files
110
111%files gothic
112%{_fontdir}/misaki_gothic.ttf
113
114%files mincho
115%{_fontdir}/misaki_mincho.ttf
116
117%files doc
118%doc *.txt
119
120%changelog
121* Tue Apr 19 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 20150410-1
122- new upstream release
123
124* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 20120603-2
125- built with gcc-4.8
126
127* Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120603-1
128- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.