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