source: projects/specs/trunk/O/OpenType-ipaexfont/OpenType-ipaexfont-vl.spec @ 8160

Revision 8160, 3.4 KB checked in by tanakanata, 10 years ago (diff)

only rebuild

Line 
1%define fontname ipaexfont
2%define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
3
4Name:             OpenType-%{fontname}
5Summary:          IPAex Fonts - JIS X 0213:2004 compliant OpenType fonts
6Summary(ja):      IPAex フォント - JIS X 0213:2004に準拠した OpenType フォント
7Version:          2.01
8Release:          2%{?_dist_release}
9License:          IPA Font License v1.0
10Group:            User Interface/X
11URL:              http://ossipedia.ipa.go.jp/ipafont/index.html
12#URL:             http://sourceforge.jp/projects/ipafonts/
13
14Source0:          IPAexfont00201.zip
15
16BuildRoot:        %{_tmppath}/%{name}-%{version}-root
17BuildArch:        noarch
18
19BuildRequires: unzip
20
21Requires: OpenType-%{fontname}-mincho = %{version}
22Requires: OpenType-%{fontname}-gothic = %{version}
23Requires: OpenType-%{fontname}-doc
24
25%description
26IPAex Fonts are JIS X 0213:2004 compliant OpenType fonts
27based on TrueType outlines.
28
29This package is meta package to install Mincho and Gothic.
30
31%description -l ja
32IPAex フォントは、JIS X 0213:2004に準拠した
33TrueType アウトラインベースの OpenType フォントです。
34
35このパッケージは明朝、ゴシック両書体をインストールするためのメタパッケージです。
36
37#-- 明朝
38%package mincho
39Summary: IPAex Fonts (Mincho)
40Summary(ja): IPAex フォント(明朝体)
41Group: User Interface/X
42Requires: OpenType-%{fontname}-doc
43
44%description mincho
45This package includes IPAex Fonts (Mincho).
46
47%description -l ja mincho
48このパッケージには IPAex フォントの明朝体フォントが含まれています。
49
50#-- ゴシック
51%package gothic
52Summary: IPAex Fonts (Gothic)
53Summary(ja): IPAex フォント(ゴシック体)
54Group: User Interface/X
55Requires: OpenType-%{fontname}-doc
56
57%description gothic
58This package includes IPAex Fonts (Gothic).
59
60%description -l ja gothic
61このパッケージには IPAex フォントのゴシック体フォントが含まれています。
62
63%package doc
64Summary: %{name} Fonts Documents
65Summary(ja): %{name} フォントドキュメント
66Group: User Interface/X
67
68%description doc
69This package includes important documents for IPAex Fonts
70includes enduser license.
71
72%description -l ja doc
73このパッケージには IPAex フォントのライセンスを含む
74ドキュメント類が含まれています。
75
76
77%prep
78%setup -q -n IPAexfont00201
79
80%clean
81if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
82    rm -rf ${RPM_BUILD_ROOT}
83fi
84
85%build
86
87%install
88rm -rf %{buildroot}
89
90mkdir -p $RPM_BUILD_ROOT%{_fontdir}
91cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
92
93%post mincho
94%__font_install_post %{_fontdir}
95
96%post gothic
97%__font_install_post %{_fontdir}
98
99%postun mincho
100%__font_install_postun %{_fontdir}
101
102%postun gothic
103%__font_install_postun %{_fontdir}
104
105%files
106
107%files mincho
108%{_fontdir}/ipaexm.ttf
109
110%files gothic
111%{_fontdir}/ipaexg.ttf
112
113%files doc
114%doc IPA_Font_License_Agreement_v1.0.txt Readme_IPAexfont00201.txt
115
116%changelog
117* Sun Jan 12 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.01-2
118- rebuilt with gcc-4.8
119
120* Thu Nov 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.01-1
121- new upstream release
122
123* Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.03-1
124- new upstream release
125
126* Sat Jul 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.02-2
127- fixed document filename
128
129* Thu May 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.02-1
130- new upstream release
131
132* Fri Mar 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.01-1
133- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.