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