]> git.pld-linux.org Git - packages/fonts-thai-scalable.git/blob - fonts-thai-scalable.spec
- package LaTeX fonts for thailatex; make rules incompatible with -jN
[packages/fonts-thai-scalable.git] / fonts-thai-scalable.spec
1 #
2 # Conditional build:
3 %bcond_without  latex   # LaTeX fonts
4 #
5 Summary:        Collection of Thai scalable fonts
6 Summary(pl.UTF-8):      Kolekcja skalowalnych fontów tajskich
7 Name:           fonts-thai-scalable
8 Version:        0.4.17
9 Release:        1
10 License:        MIT (Waree font), GPL v2+ (the rest)
11 Group:          Fonts
12 Source0:        http://linux.thai.net/pub/thailinux/software/thaifonts-scalable/thaifonts-scalable-%{version}.tar.gz
13 # Source0-md5:  4cdbb081bf0d180ead5e0f04149ff023
14 URL:            http://linux.thai.net/projects/thaifonts-scalable
15 BuildRequires:  fontforge >= 20080110
16 %if %{with latex}
17 BuildRequires:  texlive
18 BuildRequires:  thailatex >= 0.4.6
19 %endif
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 thaifonts-scalable is a collection of Thai scalable fonts available in
24 free licenses. Its goal is to provide fonts that conform to existing
25 standards and recommendations, so that it can be a reference
26 implementation.
27
28 %description -l pl.UTF-8
29 thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
30 wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
31 istniejącymi standardami i rekomendacjami, aby był implementacją
32 wzorcową.
33
34 %package -n fonts-OTF-thai
35 Summary:        Collection of OpenType Thai scalable fonts
36 Summary(pl.UTF-8):      Kolekcja skalowalnych fontów tajskich w formacie OpenType
37 Group:          Fonts
38 Requires(post,postun):  fontpostinst
39
40 %description -n fonts-OTF-thai
41 thaifonts-scalable is a collection of Thai scalable fonts available in
42 free licenses. Its goal is to provide fonts that conform to existing
43 standards and recommendations, so that it can be a reference
44 implementation.
45
46 This package contains fonts in OpenType format.
47
48 %description -n fonts-OTF-thai -l pl.UTF-8
49 thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
50 wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
51 istniejącymi standardami i rekomendacjami, aby był implementacją
52 wzorcową.
53
54 Ten pakiet zawiera fonty w formacie OpenType.
55
56 %package -n fonts-TTF-thai
57 Summary:        Collection of TrueType Thai scalable fonts
58 Summary(pl.UTF-8):      Kolekcja skalowalnych fontów tajskich w formacie TrueType
59 Group:          Fonts
60 Requires(post,postun):  fontpostinst
61
62 %description -n fonts-TTF-thai
63 thaifonts-scalable is a collection of Thai scalable fonts available in
64 free licenses. Its goal is to provide fonts that conform to existing
65 standards and recommendations, so that it can be a reference
66 implementation.
67
68 This package contains fonts in TrueType format.
69
70 %description -n fonts-TTF-thai -l pl.UTF-8
71 thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
72 wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
73 istniejącymi standardami i rekomendacjami, aby był implementacją
74 wzorcową.
75
76 Ten pakiet zawiera fonty w formacie TrueType.
77
78 %package -n fonts-Type1-thai
79 Summary:        Collection of Type1 Thai scalable fonts
80 Summary(pl.UTF-8):      Kolekcja skalowalnych fontów tajskich w formacie Type1
81 Group:          Fonts
82 Requires(post,postun):  fontpostinst
83
84 %description -n fonts-Type1-thai
85 thaifonts-scalable is a collection of Thai scalable fonts available in
86 free licenses. Its goal is to provide fonts that conform to existing
87 standards and recommendations, so that it can be a reference
88 implementation.
89
90 This package contains fonts in Type1 format.
91
92 %description -n fonts-Type1-thai -l pl.UTF-8
93 thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
94 wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
95 istniejącymi standardami i rekomendacjami, aby był implementacją
96 wzorcową.
97
98 Ten pakiet zawiera fonty w formacie Type1.
99
100 %package -n thailatex-fonts
101 Summary:        Collection of Thai scalable fonts for LaTeX
102 Summary(pl.UTF-8):      Kolekcja skalowalnych fontów tajskich dla LaTeXa
103 Group:          Fonts
104 Requires(post,postun):  texlive
105 Requires:       texlive
106 Requires:       thailatex >= 0.4.6
107
108 %description -n thailatex-fonts
109 thaifonts-scalable is a collection of Thai scalable fonts available in
110 free licenses. Its goal is to provide fonts that conform to existing
111 standards and recommendations, so that it can be a reference
112 implementation.
113
114 This package contains LaTeX fonts for use with thailatex.
115
116 %description -n thailatex-fonts -l pl.UTF-8
117 thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
118 wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
119 istniejącymi standardami i rekomendacjami, aby był implementacją
120 wzorcową.
121
122 Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex.
123
124 %prep
125 %setup -q -n thaifonts-scalable-%{version}
126
127 %build
128 %configure \
129         %{?with_latex:--enable-latex} \
130         --enable-pfb \
131         --enable-otf \
132         --with-otfdir=%{_fontsdir}/OTF \
133         --with-ttfdir=%{_fontsdir}/TTF \
134         --with-type1dir=%{_fontsdir}/Type1
135 %{__make} %{?with_latex:-j1}
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139
140 %{__make} install \
141         DESTDIR=$RPM_BUILD_ROOT
142
143 install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
144 mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
145 mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-scalable $RPM_BUILD_ROOT%{_fontsdir}/Type1
146
147 %clean
148 rm -rf $RPM_BUILD_ROOT
149
150 %post   -n fonts-OTF-thai
151 fontpostinst OTF
152
153 %postun -n fonts-OTF-thai
154 fontpostinst OTF
155
156 %post   -n fonts-TTF-thai
157 fontpostinst TTF
158
159 %postun -n fonts-TTF-thai
160 fontpostinst TTF
161
162 %post   -n fonts-Type1-thai
163 fontpostinst Type1
164
165 %postun -n fonts-Type1-thai
166 fontpostinst Type1
167
168 %post   -n thailatex-fonts
169 umask 022
170 %{_bindir}/texhash
171
172 %postun -n thailatex-fonts
173 umask 022
174 %{_bindir}/texhash
175
176 %files -n fonts-OTF-thai
177 %defattr(644,root,root,755)
178 %doc AUTHORS COPYING ChangeLog NEWS README TODO
179 %{_fontsdir}/OTF/Garuda*.otf
180 %{_fontsdir}/OTF/Kinnari*.otf
181 %{_fontsdir}/OTF/Loma*.otf
182 %{_fontsdir}/OTF/Norasi*.otf
183 %{_fontsdir}/OTF/Purisa*.otf
184 %{_fontsdir}/OTF/Sawasdee*.otf
185 %{_fontsdir}/OTF/Tlwg*.otf
186 %{_fontsdir}/OTF/Umpush*.otf
187 %{_fontsdir}/OTF/Waree*.otf
188
189 %files -n fonts-TTF-thai
190 %defattr(644,root,root,755)
191 %doc AUTHORS COPYING ChangeLog ChangeLog.thai-ttf NEWS README TODO
192 %{_fontsdir}/TTF/Garuda*.ttf
193 %{_fontsdir}/TTF/Kinnari*.ttf
194 %{_fontsdir}/TTF/Loma*.ttf
195 %{_fontsdir}/TTF/Norasi*.ttf
196 %{_fontsdir}/TTF/Purisa*.ttf
197 %{_fontsdir}/TTF/Sawasdee*.ttf
198 %{_fontsdir}/TTF/Tlwg*.ttf
199 %{_fontsdir}/TTF/Umpush*.ttf
200 %{_fontsdir}/TTF/Waree*.ttf
201 /etc/fonts/conf.avail/64-ttf-thai-tlwg.conf
202 /etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf
203
204 %files -n fonts-Type1-thai
205 %defattr(644,root,root,755)
206 %doc AUTHORS COPYING ChangeLog NEWS README TODO
207 %{_fontsdir}/Type1/Garuda*.pfb
208 %{_fontsdir}/Type1/Kinnari*.pfb
209 %{_fontsdir}/Type1/Loma*.pfb
210 %{_fontsdir}/Type1/Norasi*.pfb
211 %{_fontsdir}/Type1/Purisa*.pfb
212 %{_fontsdir}/Type1/Sawasdee*.pfb
213 %{_fontsdir}/Type1/Tlwg*.pfb
214 %{_fontsdir}/Type1/Umpush*.pfb
215 %{_fontsdir}/Type1/Waree*.pfb
216 %{_fontsdir}/Type1/fonts.scale.thai-scalable
217 %{_fontsdir}/Type1/afm/Garuda*.afm
218 %{_fontsdir}/Type1/afm/Kinnari*.afm
219 %{_fontsdir}/Type1/afm/Loma*.afm
220 %{_fontsdir}/Type1/afm/Norasi*.afm
221 %{_fontsdir}/Type1/afm/Purisa*.afm
222 %{_fontsdir}/Type1/afm/Sawasdee*.afm
223 %{_fontsdir}/Type1/afm/Tlwg*.afm
224 %{_fontsdir}/Type1/afm/Umpush*.afm
225 %{_fontsdir}/Type1/afm/Waree*.afm
226
227 %files -n thailatex-fonts
228 %defattr(644,root,root,755)
229 %doc AUTHORS COPYING ChangeLog NEWS README TODO
230 %{_datadir}/texmf/fonts/afm/public/tlwg
231 %{_datadir}/texmf/fonts/map/dvips/tlwg
232 # dirs should belogin to texlive?
233 %dir %{_datadir}/texmf/fonts/tfm
234 %dir %{_datadir}/texmf/fonts/tfm/public
235 %{_datadir}/texmf/fonts/tfm/public/tlwg
236 %dir %{_datadir}/texmf/fonts/type1
237 %dir %{_datadir}/texmf/fonts/type1/public
238 %{_datadir}/texmf/fonts/type1/public/tlwg
239 %dir %{_datadir}/texmf/fonts/vf
240 %dir %{_datadir}/texmf/fonts/vf/public
241 %{_datadir}/texmf/fonts/vf/public/tlwg
242 %{_datadir}/texmf/tex/latex/fonts-tlwg
This page took 0.071153 seconds and 4 git commands to generate.