3 %bcond_without latex # LaTeX fonts
5 Summary: Collection of Thai scalable fonts
6 Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich
7 Name: fonts-thai-arundina
12 Source0: http://linux.thai.net/pub/thailinux/software/thaifonts-arundina/thaifonts-arundina-%{version}.tar.gz
13 # Source0-md5: ff64b01e060891277ae8a4f7093c4f60
14 URL: http://linux.thai.net/projects/thaifonts-arundina
15 BuildRequires: fontforge >= 20080110
16 BuildRequires: xorg-app-mkfontscale
18 BuildRequires: texlive
19 BuildRequires: thailatex >= 0.4.6
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Arundina fonts were created under SIPA's initiation, aiming at
25 Bitstream Vera / Dejavu compatibility. They were then further modified
26 by TLWG for certain aspects:
27 - Latin glyph size compatiblity,
28 - OpenType conformance.
30 %description -l pl.UTF-8
31 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
32 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
33 TLWG pod następującym kątem:
34 - zgodność rozmiaru z glifami łacińskimi,
35 - zgodność z OpenType.
37 %package -n fonts-TTF-thai-arundina
38 Summary: Collection of TrueType Thai scalable fonts
39 Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich w formacie TrueType
41 Requires(post,postun): fontpostinst
43 %description -n fonts-TTF-thai-arundina
44 Arundina fonts were created under SIPA's initiation, aiming at
45 Bitstream Vera / Dejavu compatibility. They were then further modified
46 by TLWG for certain aspects:
47 - Latin glyph size compatiblity,
48 - OpenType conformance.
50 This package contains fonts in TrueType format.
52 %description -n fonts-TTF-thai-arundina -l pl.UTF-8
53 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
54 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
55 TLWG pod następującym kątem:
56 - zgodność rozmiaru z glifami łacińskimi,
57 - zgodność z OpenType.
59 Ten pakiet zawiera fonty w formacie TrueType.
61 %package -n fonts-Type1-thai-arundina
62 Summary: Collection of Type1 Thai scalable fonts
63 Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich w formacie Type1
65 Requires(post,postun): fontpostinst
67 %description -n fonts-Type1-thai-arundina
68 Arundina fonts were created under SIPA's initiation, aiming at
69 Bitstream Vera / Dejavu compatibility. They were then further modified
70 by TLWG for certain aspects:
71 - Latin glyph size compatiblity,
72 - OpenType conformance.
74 This package contains fonts in Type1 format.
76 %description -n fonts-Type1-thai-arundina -l pl.UTF-8
77 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
78 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
79 TLWG pod następującym kątem:
80 - zgodność rozmiaru z glifami łacińskimi,
81 - zgodność z OpenType.
83 Ten pakiet zawiera fonty w formacie Type1.
85 %package -n thailatex-fonts-arundina
86 Summary: Collection of Thai scalable fonts for LaTeX
87 Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich dla LaTeXa
89 Requires(post,postun): texlive
91 Requires: thailatex >= 0.4.6
93 %description -n thailatex-fonts-arundina
94 Arundina fonts were created under SIPA's initiation, aiming at
95 Bitstream Vera / Dejavu compatibility. They were then further modified
96 by TLWG for certain aspects:
97 - Latin glyph size compatiblity,
98 - OpenType conformance.
100 This package contains LaTeX fonts for use with thailatex.
102 %description -n thailatex-fonts-arundina -l pl.UTF-8
103 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
104 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
105 TLWG pod następującym kątem:
106 - zgodność rozmiaru z glifami łacińskimi,
107 - zgodność z OpenType.
109 Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex.
112 %setup -q -n thaifonts-arundina-%{version}
116 %{?with_latex:--enable-latex} \
118 --with-ttfdir=%{_fontsdir}/TTF \
119 --with-type1dir=%{_fontsdir}/Type1
120 %{__make} %{?with_latex:-j1}
123 rm -rf $RPM_BUILD_ROOT
126 DESTDIR=$RPM_BUILD_ROOT
128 install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
129 mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
130 mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-arundina $RPM_BUILD_ROOT%{_fontsdir}/Type1
133 rm -rf $RPM_BUILD_ROOT
135 %post -n fonts-TTF-thai-arundina
138 %postun -n fonts-TTF-thai-arundina
141 %post -n fonts-Type1-thai-arundina
144 %postun -n fonts-Type1-thai-arundina
147 %post -n thailatex-fonts-arundina
151 %postun -n thailatex-fonts-arundina
155 %files -n fonts-TTF-thai-arundina
156 %defattr(644,root,root,755)
157 %doc AUTHORS COPYING ChangeLog NEWS README
158 %{_fontsdir}/TTF/Arundina*.ttf
160 %files -n fonts-Type1-thai-arundina
161 %defattr(644,root,root,755)
162 %doc AUTHORS COPYING ChangeLog NEWS README
163 %{_fontsdir}/Type1/Arundina*.pfb
164 %{_fontsdir}/Type1/fonts.scale.thai-arundina
165 %{_fontsdir}/Type1/afm/Arundina*.afm
167 %files -n thailatex-fonts-arundina
168 %defattr(644,root,root,755)
169 %doc AUTHORS COPYING ChangeLog NEWS README
170 # shouldn't it be %{_datadir}/texmf/fonts/afm/public/arundina?
171 %{_datadir}/texmf/fonts/afm/public/tlwg/arun*.afm
172 %{_datadir}/texmf/fonts/map/dvips/arundina
173 %{_datadir}/texmf/fonts/tfm/public/arundina
174 %{_datadir}/texmf/fonts/type1/public/arundina
175 %{_datadir}/texmf/fonts/vf/public/arundina
176 %{_datadir}/texmf/tex/latex/fonts-arundina