]> git.pld-linux.org Git - packages/fonts-thai-scalable.git/blame - fonts-thai-scalable.spec
- new; covers also thai-ttf package from thailinux
[packages/fonts-thai-scalable.git] / fonts-thai-scalable.spec
CommitLineData
0ae66879
JB
1# TODO: LaTeX deps and files
2#
3# Conditional build:
4%bcond_with latex # build LaTeX fonts
5#
6Summary: Collection of Thai scalable fonts
7Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich
8Name: fonts-thai-scalable
9Version: 0.4.17
10Release: 1
11License: MIT (Waree font), GPL v2+ (the rest)
12Group: Fonts
13Source0: http://linux.thai.net/pub/thailinux/software/thaifonts-scalable/thaifonts-scalable-%{version}.tar.gz
14# Source0-md5: 4cdbb081bf0d180ead5e0f04149ff023
15URL: http://linux.thai.net/projects/thaifonts-scalable
16BuildRequires: fontforge >= 20080110
17%{?with_latex:BuildRequires: afm2tfm, vptovf, kpsewhich, updmap, mktexlsr||texhash, thailatex >= 0.4.6}
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21thaifonts-scalable is a collection of Thai scalable fonts available in
22free licenses. Its goal is to provide fonts that conform to existing
23standards and recommendations, so that it can be a reference
24implementation.
25
26%description -l pl.UTF-8
27thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
28wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
29istniejącymi standardami i rekomendacjami, aby był implementacją
30wzorcową.
31
32%package -n fonts-OTF-thai
33Summary: Collection of OpenType Thai scalable fonts
34Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich w formacie OpenType
35Group: Fonts
36Requires(post,postun): fontpostinst
37
38%description -n fonts-OTF-thai
39thaifonts-scalable is a collection of Thai scalable fonts available in
40free licenses. Its goal is to provide fonts that conform to existing
41standards and recommendations, so that it can be a reference
42implementation.
43
44This package contains fonts in OpenType format.
45
46%description -n fonts-OTF-thai -l pl.UTF-8
47thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
48wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
49istniejącymi standardami i rekomendacjami, aby był implementacją
50wzorcową.
51
52Ten pakiet zawiera fonty w formacie OpenType.
53
54%package -n fonts-TTF-thai
55Summary: Collection of TrueType Thai scalable fonts
56Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich w formacie TrueType
57Group: Fonts
58Requires(post,postun): fontpostinst
59
60%description -n fonts-TTF-thai
61thaifonts-scalable is a collection of Thai scalable fonts available in
62free licenses. Its goal is to provide fonts that conform to existing
63standards and recommendations, so that it can be a reference
64implementation.
65
66This package contains fonts in TrueType format.
67
68%description -n fonts-TTF-thai -l pl.UTF-8
69thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
70wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
71istniejącymi standardami i rekomendacjami, aby był implementacją
72wzorcową.
73
74Ten pakiet zawiera fonty w formacie TrueType.
75
76%package -n fonts-Type1-thai
77Summary: Collection of Type1 Thai scalable fonts
78Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich w formacie Type1
79Group: Fonts
80Requires(post,postun): fontpostinst
81
82%description -n fonts-Type1-thai
83thaifonts-scalable is a collection of Thai scalable fonts available in
84free licenses. Its goal is to provide fonts that conform to existing
85standards and recommendations, so that it can be a reference
86implementation.
87
88This package contains fonts in Type1 format.
89
90%description -n fonts-Type1-thai -l pl.UTF-8
91thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na
92wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z
93istniejącymi standardami i rekomendacjami, aby był implementacją
94wzorcową.
95
96Ten pakiet zawiera fonty w formacie Type1.
97
98%prep
99%setup -q -n thaifonts-scalable-%{version}
100
101%build
102%configure \
103 %{?with_latex:--enable-latex} \
104 --enable-pfb \
105 --enable-otf \
106 --with-otfdir=%{_fontsdir}/OTF \
107 --with-ttfdir=%{_fontsdir}/TTF \
108 --with-type1dir=%{_fontsdir}/Type1
109%{__make}
110
111%install
112rm -rf $RPM_BUILD_ROOT
113
114%{__make} install \
115 DESTDIR=$RPM_BUILD_ROOT
116
117install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
118mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
119mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-scalable $RPM_BUILD_ROOT%{_fontsdir}/Type1
120
121%clean
122rm -rf $RPM_BUILD_ROOT
123
124%files -n fonts-OTF-thai
125%defattr(644,root,root,755)
126%{_fontsdir}/OTF/Garuda*.otf
127%{_fontsdir}/OTF/Kinnari*.otf
128%{_fontsdir}/OTF/Loma*.otf
129%{_fontsdir}/OTF/Norasi*.otf
130%{_fontsdir}/OTF/Purisa*.otf
131%{_fontsdir}/OTF/Sawasdee*.otf
132%{_fontsdir}/OTF/Tlwg*.otf
133%{_fontsdir}/OTF/Umpush*.otf
134%{_fontsdir}/OTF/Waree*.otf
135
136%files -n fonts-TTF-thai
137%defattr(644,root,root,755)
138%doc AUTHORS COPYING ChangeLog* NEWS README TODO
139%{_fontsdir}/TTF/Garuda*.ttf
140%{_fontsdir}/TTF/Kinnari*.ttf
141%{_fontsdir}/TTF/Loma*.ttf
142%{_fontsdir}/TTF/Norasi*.ttf
143%{_fontsdir}/TTF/Purisa*.ttf
144%{_fontsdir}/TTF/Sawasdee*.ttf
145%{_fontsdir}/TTF/Tlwg*.ttf
146%{_fontsdir}/TTF/Umpush*.ttf
147%{_fontsdir}/TTF/Waree*.ttf
148/etc/fonts/conf.avail/64-ttf-thai-tlwg.conf
149/etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf
150
151%files -n fonts-Type1-thai
152%defattr(644,root,root,755)
153%doc AUTHORS COPYING ChangeLog* NEWS README TODO
154%{_fontsdir}/Type1/Garuda*.pfb
155%{_fontsdir}/Type1/Kinnari*.pfb
156%{_fontsdir}/Type1/Loma*.pfb
157%{_fontsdir}/Type1/Norasi*.pfb
158%{_fontsdir}/Type1/Purisa*.pfb
159%{_fontsdir}/Type1/Sawasdee*.pfb
160%{_fontsdir}/Type1/Tlwg*.pfb
161%{_fontsdir}/Type1/Umpush*.pfb
162%{_fontsdir}/Type1/Waree*.pfb
163%{_fontsdir}/Type1/fonts.scale.thai-scalable
164%{_fontsdir}/Type1/afm/Garuda*.afm
165%{_fontsdir}/Type1/afm/Kinnari*.afm
166%{_fontsdir}/Type1/afm/Loma*.afm
167%{_fontsdir}/Type1/afm/Norasi*.afm
168%{_fontsdir}/Type1/afm/Purisa*.afm
169%{_fontsdir}/Type1/afm/Sawasdee*.afm
170%{_fontsdir}/Type1/afm/Tlwg*.afm
171%{_fontsdir}/Type1/afm/Umpush*.afm
172%{_fontsdir}/Type1/afm/Waree*.afm
This page took 0.627465 seconds and 4 git commands to generate.