3 %bcond_without latex # LaTeX fonts
5 Summary: Thai Arundina scalable fonts
6 Summary(pl.UTF-8): Tajskie fonty skalowalne Arundina
7 Name: fonts-thai-arundina
12 Source0: https://linux.thai.net/pub/thailinux/software/thaifonts-arundina/fonts-sipa-arundina-%{version}.tar.xz
13 # Source0-md5: c3c793156cb64e698fb16d280614e31d
14 URL: https://linux.thai.net/projects/thaifonts-arundina
15 BuildRequires: fontforge >= 20080110
16 BuildRequires: xorg-app-mkfontscale
17 BuildRequires: tar >= 1:1.22
20 BuildRequires: texlive
21 BuildRequires: thailatex >= 0.4.6
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Arundina fonts were created under SIPA's initiation, aiming at
27 Bitstream Vera / Dejavu compatibility. They were then further modified
28 by TLWG for certain aspects:
29 - Latin glyph size compatiblity,
30 - OpenType conformance.
32 %description -l pl.UTF-8
33 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
34 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
35 TLWG pod następującym kątem:
36 - zgodność rozmiaru z glifami łacińskimi,
37 - zgodność z OpenType.
39 %package -n fonts-TTF-thai-arundina
40 Summary: TrueType Thai Arundina fonts
41 Summary(pl.UTF-8): Tajskie fonty Arundina w formacie TrueType
43 Requires(post,postun): fontpostinst
45 %description -n fonts-TTF-thai-arundina
46 Arundina fonts were created under SIPA's initiation, aiming at
47 Bitstream Vera / Dejavu compatibility. They were then further modified
48 by TLWG for certain aspects:
49 - Latin glyph size compatiblity,
50 - OpenType conformance.
52 This package contains fonts in TrueType format.
54 %description -n fonts-TTF-thai-arundina -l pl.UTF-8
55 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
56 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
57 TLWG pod następującym kątem:
58 - zgodność rozmiaru z glifami łacińskimi,
59 - zgodność z OpenType.
61 Ten pakiet zawiera fonty w formacie TrueType.
63 %package -n fonts-Type1-thai-arundina
64 Summary: Type1 Thai Arundina fonts
65 Summary(pl.UTF-8): Tajskie fonty Arundina w formacie Type1
67 Requires(post,postun): fontpostinst
69 %description -n fonts-Type1-thai-arundina
70 Arundina fonts were created under SIPA's initiation, aiming at
71 Bitstream Vera / Dejavu compatibility. They were then further modified
72 by TLWG for certain aspects:
73 - Latin glyph size compatiblity,
74 - OpenType conformance.
76 This package contains fonts in Type1 format.
78 %description -n fonts-Type1-thai-arundina -l pl.UTF-8
79 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
80 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
81 TLWG pod następującym kątem:
82 - zgodność rozmiaru z glifami łacińskimi,
83 - zgodność z OpenType.
85 Ten pakiet zawiera fonty w formacie Type1.
87 %package -n thailatex-fonts-arundina
88 Summary: Thai Arundina fonts for LaTeX
89 Summary(pl.UTF-8): Tajskie fonty Arundina dla LaTeXa
91 Requires(post,postun): texlive
93 Requires: thailatex >= 0.4.7
95 %description -n thailatex-fonts-arundina
96 Arundina fonts were created under SIPA's initiation, aiming at
97 Bitstream Vera / Dejavu compatibility. They were then further modified
98 by TLWG for certain aspects:
99 - Latin glyph size compatiblity,
100 - OpenType conformance.
102 This package contains LaTeX fonts for use with thailatex.
104 %description -n thailatex-fonts-arundina -l pl.UTF-8
105 Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
106 fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
107 TLWG pod następującym kątem:
108 - zgodność rozmiaru z glifami łacińskimi,
109 - zgodność z OpenType.
111 Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex.
114 %setup -q -n fonts-sipa-arundina-%{version}
118 %{?with_latex:--enable-latex} \
120 --with-ttfdir=%{_fontsdir}/TTF \
121 --with-type1dir=%{_fontsdir}/Type1
122 %{__make} %{?with_latex:-j1}
125 rm -rf $RPM_BUILD_ROOT
128 DESTDIR=$RPM_BUILD_ROOT \
129 fontconfigdir=%{_datadir}/fontconfig/conf.avail
131 install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
132 %{__mv} $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
133 mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-arundina $RPM_BUILD_ROOT%{_fontsdir}/Type1
136 rm -rf $RPM_BUILD_ROOT
138 %post -n fonts-TTF-thai-arundina
141 %postun -n fonts-TTF-thai-arundina
144 %post -n fonts-Type1-thai-arundina
147 %postun -n fonts-Type1-thai-arundina
150 %post -n thailatex-fonts-arundina
154 %postun -n thailatex-fonts-arundina
158 %files -n fonts-TTF-thai-arundina
159 %defattr(644,root,root,755)
160 %doc AUTHORS COPYING ChangeLog NEWS README
161 %{_fontsdir}/TTF/Arundina*.ttf
162 %{_datadir}/fontconfig/conf.avail/65-sipa-arundina.conf
164 %files -n fonts-Type1-thai-arundina
165 %defattr(644,root,root,755)
166 %doc AUTHORS COPYING ChangeLog NEWS README
167 %{_fontsdir}/Type1/Arundina*.pfb
168 %{_fontsdir}/Type1/fonts.scale.thai-arundina
169 %{_fontsdir}/Type1/afm/Arundina*.afm
171 %files -n thailatex-fonts-arundina
172 %defattr(644,root,root,755)
173 %doc AUTHORS COPYING ChangeLog NEWS README
174 %{_datadir}/texmf/fonts/afm/public/fonts-arundina
175 %{_datadir}/texmf/fonts/enc/dvips/fonts-arundina
176 %{_datadir}/texmf/fonts/map/dvips/fonts-arundina
177 %{_datadir}/texmf/fonts/tfm/public/fonts-arundina
178 %{_datadir}/texmf/fonts/type1/public/fonts-arundina
179 %{_datadir}/texmf/fonts/vf/public/fonts-arundina
180 %{_datadir}/texmf/tex/latex/fonts-arundina