source: projects/specs/trunk/T/TrueType-liberation/TrueType-liberation-vl.spec @ 7055

Revision 7055, 8.0 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define fontname liberation
2%define archivename %{name}-%{version}
3%define common_desc \
4The Liberation Fonts are intended to be replacements for the three most \
5commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier \
6New.
7
8%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
9
10Name:             TrueType-%{fontname}
11Summary:          Fonts to replace commonly used Microsoft Windows fonts
12Summary(ja):      一般に使用されている Microsoft Windows のフォントを置換するためのフォント
13Version:          2.00.1
14Release:          1%{?_dist_release}
15License:          OFL
16Group:            User Interface/X
17URL:              https://www.redhat.com/promo/fonts/
18# https://fedorahosted.org/liberation-fonts/
19Source0:          %{fontname}-fonts-ttf-%{version}.tar.gz
20
21Requires:         TrueType-%{fontname}-sans >= %{version}
22Requires:         TrueType-%{fontname}-serif >= %{version}
23Requires:         TrueType-%{fontname}-mono >= %{version}
24Requires:         TrueType-%{fontname}-doc = %{version}
25BuildRoot:        %{_tmppath}/%{name}-%{version}-root
26BuildArch:        noarch
27
28%description
29%common_desc
30
31Meta-package of Liberation fonts which installs Sans, Serif, and Monospace
32families.
33
34%description -l ja
35liberation fonts はマイクロソフトのシステムでよく使用される3つのフォント、
36Times New Roman・Arial・Courier New を置換することが意図されている
37フォントです。
38
39このパッケージは Liberation フォントのメタパッケージです。
40Sans・Serif・Monospace の3書体をインストールします。
41
42%package sans
43Summary: liberation sans TrueType Fonts
44Summary(ja): liberation sans True Type フォント
45Group: User Interface/X
46Requires: TrueType-liberation-doc
47
48%description sans
49This package includes liberation sans TrueType fonts.
50
51%description -l ja sans
52このパッケージには liberation sans フォントが含まれています。
53
54
55%package serif
56Summary: liberation serif TrueType Fonts
57Summary(ja): liberation serif True Type フォント
58Group: User Interface/X
59Requires: TrueType-liberation-doc
60
61%description serif
62This package includes liberation serif TrueType fonts.
63
64%description -l ja serif
65このパッケージには liberation serif フォントが含まれています。
66
67
68%package mono
69Summary: liberation mono TrueType Fonts
70Summary(ja): liberation mono True Type フォント
71Group: User Interface/X
72Requires: TrueType-liberation-doc
73
74%description mono
75This package includes liberation mono TrueType fonts.
76
77%description -l ja mono
78このパッケージには liberation mono フォントが含まれています。
79
80
81%package doc
82Summary: liberation Font Documents
83Summary(ja): liberation フォントドキュメント
84Group: User Interface/X
85
86%description doc
87This package includes important documents for liberation fonts
88includes enduser license.
89
90%description -l ja doc
91このパッケージには liberation フォントのライセンスを含むドキュメント類が含まれています。
92
93
94%prep
95%setup -q -n %{fontname}-fonts-ttf-%{version}
96
97%clean
98if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
99    rm -rf ${RPM_BUILD_ROOT}
100fi
101
102%build
103
104%install
105rm -rf %{buildroot}
106
107mkdir -p $RPM_BUILD_ROOT%{_fontdir}
108cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
109
110%post sans
111%__font_install_post %{_fontdir}
112
113%post serif
114%__font_install_post %{_fontdir}
115
116%post mono
117%__font_install_post %{_fontdir}
118
119
120%postun sans
121%__font_install_postun %{_fontdir}
122
123%postun serif
124%__font_install_postun %{_fontdir}
125
126%postun mono
127%__font_install_postun %{_fontdir}
128
129%files
130
131%files sans
132%{_fontdir}/LiberationSans*.ttf
133
134%files serif
135%{_fontdir}/LiberationSerif-*.ttf
136
137%files mono
138%{_fontdir}/LiberationMono-*.ttf
139
140%files doc
141%doc AUTHORS ChangeLog LICENSE README TODO
142
143%changelog
144* Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.1-1
145- new upstream release
146
147* Mon Jul 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.0-1
148- new upstream release
149- changed License: OFL
150  - because based on croscore fonts version 1.21.0 (original license is OFL)
151
152* Wed Mar 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.2-1
153- new upstream release
154
155* Wed Sep 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.1-1
156- new upstream release
157
158* Wed Jun 01 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.0-1
159- new upstream release
160
161* Thu Jul 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.06.0.20100721-1
162- new upstream release
163- added TODO in %%doc
164
165* Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100621-1
166- new upstream release
167
168* Mon May 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100510-1
169- new upstream release
170- added Requires:  TrueType-%{fontname}-doc = %{version}
171
172* Sun Dec 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.2.20091227-1
173- new upstream release
174
175* Wed Jul 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090721-1
176- new upstream release
177
178* Fri Jul 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090706-1
179- new upstream release
180
181* Tue Apr 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.04.93-1
182- initial build for VineSeed
183
184* Fri Jan 09 2009 Caius Chance <cchance@redhat.com> - 1.04.93-3.fc11
185- Resolves: rhbz#477410 (Convert to new font packaging guidelines.)
186
187* Tue Dec 09 2008 Caius Chance <cchance@redhat.com> - 1.04.93-2.fc11
188- Resolves: rhbz#474522 (Cent sign is not coressed in Sans & Mono.)
189
190* Wed Dec 03 2008 Caius Chance <cchance@redhat.com> - 1.04.93-1.fc11
191- Resolves: rhbz#473481
192  (Blurriness of Greek letter m (U+03BC) in Liberation Sans Regular.)
193
194* Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04.90-1.fc10
195- Resolves: rhbz#258592
196  (Incorrect glyph points and missing hinting instructions for U+0079, U+03BC,
197   U+0431, U+2010..2012.)
198
199* Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04-1.fc10
200- Resolves: rhbz#455717 (Update sources to version 1.04.)
201- Improved .spec file.
202
203* Thu Jun 12 2008 Caius Chance <cchance@redhat.com> - 1.04-0.1.beta2.fc10
204- Updated source version to 1.04.beta2.
205- Removed License.txt and COPYING as already included in sources.
206
207* Thu Apr 10 2008 Caius Chance <cchance@redhat.com> - 1.03-1.fc9
208- Resolves: rhbz#251890 (Exchanged and incomplete glyphs.)
209- Repack source tarball and re-align source version number.
210
211* Mon Mar 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-2
212- correct license tag, license explanation added
213
214* Tue Mar 25 2008 Caius Chance <cchance@redhat.com> - 1.02-1.fc9
215- Resolves: rhbz#240525 (Alignment mismatch of dot accents.)
216
217* Wed Jan 16 2008 Caius Chance <cchance@redhat.com> - 1.01-1.fc9
218- Moved source tarball from cvs to separated storage.
219
220* Mon Jan 14 2008 Caius Chance <cchance@redhat.com> - 1.0-1.fc9
221- Resolves: rhbz#428596 (Liberation fonts need to be updated to latest font.)
222
223* Wed Nov 28 2007 Caius Chance <cchance@redhat.com> - 0.2-4.fc9
224- Resolves: rhbz#367791 (remove 59-liberation-fonts.conf)
225
226* Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-3.fc8
227- add fontdir macro
228- create fonts.dir and fonts.scale (reported by Mark Alford, #245961)
229- add catalogue symlink
230
231* Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-2.fc8
232- update license field to GPLv2
233
234* Thu Jun 14 2007 Caius Chance <cchance@redhat.com> 0.2-1.fc8
235- Updated new source tarball from upstream: '-3' (version 0.2).
236
237* Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-9
238- Bump revision
239
240* Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-8
241- Change the license tag to "GPL + font exception"
242
243* Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-7
244- Correct the source url
245
246* Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-6
247- Incorporate package review feedback
248
249* Fri May 11 2007 Matthias Clasen <mclasen@redhat.com> 0.1-5
250- Bring the package in sync with Fedora packaging standards
251
252* Wed Apr 25 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-4
253- Require fontconfig package for post and postun
254
255* Tue Apr 24 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-3
256- Bump version to fix issue in RHEL4 RHN
257
258* Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-2rhis
259- New license file
260
261* Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-1rhis
262- Inital packaging
Note: See TracBrowser for help on using the repository browser.