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