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

Revision 8178, 8.1 KB checked in by tanakanata, 10 years ago (diff)

only rebuild

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:          2%{?_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* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.00.1-2
145- built with gcc-4.8
146
147* Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.1-1
148- new upstream release
149
150* Mon Jul 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.0-1
151- new upstream release
152- changed License: OFL
153  - because based on croscore fonts version 1.21.0 (original license is OFL)
154
155* Wed Mar 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.2-1
156- new upstream release
157
158* Wed Sep 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.1-1
159- new upstream release
160
161* Wed Jun 01 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.0-1
162- new upstream release
163
164* Thu Jul 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.06.0.20100721-1
165- new upstream release
166- added TODO in %%doc
167
168* Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100621-1
169- new upstream release
170
171* Mon May 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100510-1
172- new upstream release
173- added Requires:  TrueType-%{fontname}-doc = %{version}
174
175* Sun Dec 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.2.20091227-1
176- new upstream release
177
178* Wed Jul 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090721-1
179- new upstream release
180
181* Fri Jul 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090706-1
182- new upstream release
183
184* Tue Apr 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.04.93-1
185- initial build for VineSeed
186
187* Fri Jan 09 2009 Caius Chance <cchance@redhat.com> - 1.04.93-3.fc11
188- Resolves: rhbz#477410 (Convert to new font packaging guidelines.)
189
190* Tue Dec 09 2008 Caius Chance <cchance@redhat.com> - 1.04.93-2.fc11
191- Resolves: rhbz#474522 (Cent sign is not coressed in Sans & Mono.)
192
193* Wed Dec 03 2008 Caius Chance <cchance@redhat.com> - 1.04.93-1.fc11
194- Resolves: rhbz#473481
195  (Blurriness of Greek letter m (U+03BC) in Liberation Sans Regular.)
196
197* Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04.90-1.fc10
198- Resolves: rhbz#258592
199  (Incorrect glyph points and missing hinting instructions for U+0079, U+03BC,
200   U+0431, U+2010..2012.)
201
202* Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04-1.fc10
203- Resolves: rhbz#455717 (Update sources to version 1.04.)
204- Improved .spec file.
205
206* Thu Jun 12 2008 Caius Chance <cchance@redhat.com> - 1.04-0.1.beta2.fc10
207- Updated source version to 1.04.beta2.
208- Removed License.txt and COPYING as already included in sources.
209
210* Thu Apr 10 2008 Caius Chance <cchance@redhat.com> - 1.03-1.fc9
211- Resolves: rhbz#251890 (Exchanged and incomplete glyphs.)
212- Repack source tarball and re-align source version number.
213
214* Mon Mar 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-2
215- correct license tag, license explanation added
216
217* Tue Mar 25 2008 Caius Chance <cchance@redhat.com> - 1.02-1.fc9
218- Resolves: rhbz#240525 (Alignment mismatch of dot accents.)
219
220* Wed Jan 16 2008 Caius Chance <cchance@redhat.com> - 1.01-1.fc9
221- Moved source tarball from cvs to separated storage.
222
223* Mon Jan 14 2008 Caius Chance <cchance@redhat.com> - 1.0-1.fc9
224- Resolves: rhbz#428596 (Liberation fonts need to be updated to latest font.)
225
226* Wed Nov 28 2007 Caius Chance <cchance@redhat.com> - 0.2-4.fc9
227- Resolves: rhbz#367791 (remove 59-liberation-fonts.conf)
228
229* Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-3.fc8
230- add fontdir macro
231- create fonts.dir and fonts.scale (reported by Mark Alford, #245961)
232- add catalogue symlink
233
234* Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-2.fc8
235- update license field to GPLv2
236
237* Thu Jun 14 2007 Caius Chance <cchance@redhat.com> 0.2-1.fc8
238- Updated new source tarball from upstream: '-3' (version 0.2).
239
240* Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-9
241- Bump revision
242
243* Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-8
244- Change the license tag to "GPL + font exception"
245
246* Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-7
247- Correct the source url
248
249* Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-6
250- Incorporate package review feedback
251
252* Fri May 11 2007 Matthias Clasen <mclasen@redhat.com> 0.1-5
253- Bring the package in sync with Fedora packaging standards
254
255* Wed Apr 25 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-4
256- Require fontconfig package for post and postun
257
258* Tue Apr 24 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-3
259- Bump version to fix issue in RHEL4 RHN
260
261* Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-2rhis
262- New license file
263
264* Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-1rhis
265- Inital packaging
Note: See TracBrowser for help on using the repository browser.