source: projects/specs/trunk/T/TrueType-dejavu/TrueType-dejavu-vl.spec @ 9807

Revision 9807, 5.3 KB checked in by kudoh, 5 years ago (diff)

new upstream and security fix

Line 
1%define fontname dejavu
2%define archivename dejavu-fonts-ttf
3%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
4
5Name: TrueType-%{fontname}
6Version: 2.35
7Release: 1%{?_dist_release}
8Summary: The DejaVu fonts are a font family based on the Vera Fonts
9Summary(ja): DejaVu フォントは Vera フォントをベースとしたフォントファミリーです
10
11License: Bitstream Vera and Public Domain
12Group: User Interface/X
13BuildArch: noarch
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15URL: http://sourceforge.net/projects/dejavu/
16Source: %{archivename}-%{version}.tar.bz2
17
18Requires: TrueType-%{fontname}-sans >= %{version}
19Requires: TrueType-%{fontname}-serif >= %{version}
20Requires: TrueType-%{fontname}-sans-mono >= %{version}
21Requires: TrueType-%{fontname}-doc >= %{version}
22BuildRoot: %{_tmppath}/%{name}-%{version}-root
23BuildArch: noarch
24Obsoletes: TrueType-DejaVu
25
26%description
27The DejaVu fonts are a font family
28based on the Vera Fonts (version 1.10).
29
30%description -l ja
31DejaVu Fonts は Bitstream Vera Fonts (version 1.10) を
32ベースにしたフォントファミリです。
33
34このパッケージは DejaVu フォントのメタパッケージです。
35Sans・Serif・Sans-Mono の3書体をインストールします。
36
37
38%package sans
39Summary: DejaVu sans TrueType Fonts
40Summary(ja): DejaVu sans True Type フォント
41Group: User Interface/X
42Requires: TrueType-%{fontname}-doc
43
44%description sans
45This package includes DejaVu sans TrueType fonts.
46
47%description -l ja sans
48このパッケージには DejaVu sans フォントが含まれています。
49
50- DejaVuSans-Bold
51- DejaVuSans-BoldOblique
52- DejaVuSans-ExtraLight
53- DejaVuSans-Oblique
54- DejaVuSans
55- DejaVuSansCondensed-Bold
56- DejaVuSansCondensed-BoldOblique
57- DejaVuSansCondensed-Oblique
58- DejaVuSansCondensed
59
60
61%package serif
62Summary: DejaVu serif TrueType Fonts
63Summary(ja): DejaVu serif True Type フォント
64Group: User Interface/X
65Requires: TrueType-%{fontname}-doc
66
67%description serif
68This package includes DejaVu serif TrueType fonts.
69
70%description -l ja serif
71このパッケージには DejaVu serif フォントが含まれています。
72
73- DejaVuSerif-Bold
74- DejaVuSerif-BoldItalic
75- DejaVuSerif-Italic
76- DejaVuSerif
77- DejaVuSerifCondensed-Bold
78- DejaVuSerifCondensed-BoldItalic
79- DejaVuSerifCondensed-Italic
80- DejaVuSerifCondensed
81
82
83%package sans-mono
84Summary: DejaVu sans-mono TrueType Fonts
85Summary(ja): DejaVu sans-mono True Type フォント
86Group: User Interface/X
87Requires: TrueType-%{fontname}-doc
88
89%description sans-mono
90This package includes DejaVu sans-mono TrueType fonts.
91
92%description -l ja sans-mono
93このパッケージには DejaVu sans-mono フォントが含まれています。
94
95- DejaVuSansMono-Bold
96- DejaVuSansMono-BoldOblique
97- DejaVuSansMono-Oblique
98- DejaVuSansMono
99
100%package doc
101Summary: DejaVu Font Documents
102Summary(ja): DejaVu フォントドキュメント
103Group: User Interface/X
104
105%description doc
106This package includes important documents for DejaVu fonts includes enduser
107license.
108
109%description -l ja doc
110このパッケージには DejaVu フォントのライセンスを含むドキュメント類が含まれています。
111
112
113%prep
114%setup -q -n %{archivename}-%{version}
115mv ttf/*.ttf .
116
117%build
118
119%install
120%{__rm} -rf $RPM_BUILD_ROOT
121
122mkdir -p $RPM_BUILD_ROOT%{_fontdir}
123cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
124
125%clean
126if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
127    rm -rf ${RPM_BUILD_ROOT}
128fi
129
130%post sans
131%__font_install_post %{_fontdir}
132
133%post serif
134%__font_install_post %{_fontdir}
135
136%post sans-mono
137%__font_install_post %{_fontdir}
138
139
140%postun sans
141%__font_install_postun %{_fontdir}
142
143%postun serif
144%__font_install_postun %{_fontdir}
145
146%postun sans-mono
147%__font_install_postun %{_fontdir}
148
149%files
150
151%files sans
152%{_fontdir}/DejaVuSans*.ttf
153
154%files serif
155%{_fontdir}/DejaVuSerif*.ttf
156
157%files sans-mono
158%{_fontdir}/DejaVuSansMono*.ttf
159
160%files doc
161%doc *.txt
162%doc AUTHORS BUGS LICENSE NEWS README
163
164
165%changelog
166* Sat Nov 14 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.35-1
167- new upstream release
168
169* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.34-2
170- built with gcc-4.8
171
172* Sat Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.34-1
173- new upstream release
174
175* Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.33-1
176- new upstream release
177
178* Mon Aug 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.32-1
179- new upstream release
180
181* Sat May 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.31-1
182- new upstream release
183- added Japanase summary, improved summary
184- added Requires: TrueType-%{fontname}-doc in TrueType-%{fontname} package
185
186* Tue Sep 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.30-1
187- new upstream release
188
189* Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-3
190- added Obsoletes: TrueType-DejaVu
191
192* Wed Apr 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-2
193- spec rewrote mostly (compliant to TrueType-IPAfont.spec)
194- renamed package name
195- splitted sans, serif, sans-mono, and doc packages
196- spec in UTF-8
197
198* Thu Mar 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-1
199- new upstream release
200
201* Sat Jan 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-3
202- fixed Summary
203- fixed Lisense
204- modified description -l ja
205
206* Thu Jan 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-2
207- fixed fontdir name
208
209* Wed Dec 31 2008 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-1
210- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.