]> git.pld-linux.org Git - packages/fonts-thai-arundina.git/blame - fonts-thai-arundina.spec
- updated to 0.3.2
[packages/fonts-thai-arundina.git] / fonts-thai-arundina.spec
CommitLineData
739cf922
JB
1#
2# Conditional build:
3%bcond_without latex # LaTeX fonts
4#
9876208a
JB
5Summary: Thai Arundina scalable fonts
6Summary(pl.UTF-8): Tajskie fonty skalowalne Arundina
739cf922 7Name: fonts-thai-arundina
71bc8a18 8Version: 0.3.2
f00b697f 9Release: 1
739cf922
JB
10License: MIT-like
11Group: Fonts
71bc8a18
JB
12Source0: https://linux.thai.net/pub/thailinux/software/thaifonts-arundina/fonts-arundina-%{version}.tar.xz
13# Source0-md5: 3a9d44730a9724e6e7a0ed17eff25c17
f00b697f 14URL: https://linux.thai.net/projects/thaifonts-arundina
71bc8a18
JB
15BuildRequires: fontforge >= 20170731
16BuildRequires: python3 >= 1:3.7
17BuildRequires: python3-fontforge >= 20170731
18BuildRequires: rpmbuild(macros) >= 1.751
6b2ab531 19BuildRequires: tar >= 1:1.22
71bc8a18 20BuildRequires: xorg-app-mkfontscale
6b2ab531 21BuildRequires: xz
739cf922 22%if %{with latex}
71bc8a18 23# afm2tfm, vptovf, updmap-sys, mktexlsr
739cf922
JB
24BuildRequires: texlive
25BuildRequires: thailatex >= 0.4.6
26%endif
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Arundina fonts were created under SIPA's initiation, aiming at
31Bitstream Vera / Dejavu compatibility. They were then further modified
32by TLWG for certain aspects:
33 - Latin glyph size compatiblity,
34 - OpenType conformance.
35
36%description -l pl.UTF-8
37Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
38fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
39TLWG pod następującym kątem:
40 - zgodność rozmiaru z glifami łacińskimi,
41 - zgodność z OpenType.
42
43%package -n fonts-TTF-thai-arundina
9876208a
JB
44Summary: TrueType Thai Arundina fonts
45Summary(pl.UTF-8): Tajskie fonty Arundina w formacie TrueType
739cf922
JB
46Group: Fonts
47Requires(post,postun): fontpostinst
48
49%description -n fonts-TTF-thai-arundina
50Arundina fonts were created under SIPA's initiation, aiming at
51Bitstream Vera / Dejavu compatibility. They were then further modified
52by TLWG for certain aspects:
53 - Latin glyph size compatiblity,
54 - OpenType conformance.
55
56This package contains fonts in TrueType format.
57
58%description -n fonts-TTF-thai-arundina -l pl.UTF-8
59Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
60fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
61TLWG pod następującym kątem:
62 - zgodność rozmiaru z glifami łacińskimi,
63 - zgodność z OpenType.
64
65Ten pakiet zawiera fonty w formacie TrueType.
66
67%package -n fonts-Type1-thai-arundina
9876208a
JB
68Summary: Type1 Thai Arundina fonts
69Summary(pl.UTF-8): Tajskie fonty Arundina w formacie Type1
739cf922
JB
70Group: Fonts
71Requires(post,postun): fontpostinst
72
73%description -n fonts-Type1-thai-arundina
74Arundina fonts were created under SIPA's initiation, aiming at
75Bitstream Vera / Dejavu compatibility. They were then further modified
76by TLWG for certain aspects:
77 - Latin glyph size compatiblity,
78 - OpenType conformance.
79
80This package contains fonts in Type1 format.
81
82%description -n fonts-Type1-thai-arundina -l pl.UTF-8
83Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
84fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
85TLWG pod następującym kątem:
86 - zgodność rozmiaru z glifami łacińskimi,
87 - zgodność z OpenType.
88
89Ten pakiet zawiera fonty w formacie Type1.
90
91%package -n thailatex-fonts-arundina
9876208a
JB
92Summary: Thai Arundina fonts for LaTeX
93Summary(pl.UTF-8): Tajskie fonty Arundina dla LaTeXa
739cf922
JB
94Group: Fonts
95Requires(post,postun): texlive
96Requires: texlive
b082ef11 97Requires: thailatex >= 0.4.7
739cf922
JB
98
99%description -n thailatex-fonts-arundina
100Arundina fonts were created under SIPA's initiation, aiming at
101Bitstream Vera / Dejavu compatibility. They were then further modified
102by TLWG for certain aspects:
103 - Latin glyph size compatiblity,
104 - OpenType conformance.
105
106This package contains LaTeX fonts for use with thailatex.
107
108%description -n thailatex-fonts-arundina -l pl.UTF-8
109Fonty Arundina powstały z inicjatywy SIPA, gdzie celem była zgodność z
110fontami Bitstream Vera / Dejavu. Następnie zostały zmodyfikowane przez
111TLWG pod następującym kątem:
112 - zgodność rozmiaru z glifami łacińskimi,
113 - zgodność z OpenType.
114
115Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex.
116
117%prep
71bc8a18 118%setup -q -n fonts-arundina-%{version}
739cf922
JB
119
120%build
121%configure \
122 %{?with_latex:--enable-latex} \
123 --enable-pfb \
124 --with-ttfdir=%{_fontsdir}/TTF \
125 --with-type1dir=%{_fontsdir}/Type1
126%{__make} %{?with_latex:-j1}
127
128%install
129rm -rf $RPM_BUILD_ROOT
130
131%{__make} install \
3233e07a
JB
132 DESTDIR=$RPM_BUILD_ROOT \
133 fontconfigdir=%{_datadir}/fontconfig/conf.avail
739cf922
JB
134
135install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
6b2ab531 136%{__mv} $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
739cf922
JB
137mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-arundina $RPM_BUILD_ROOT%{_fontsdir}/Type1
138
139%clean
140rm -rf $RPM_BUILD_ROOT
141
142%post -n fonts-TTF-thai-arundina
143fontpostinst TTF
144
145%postun -n fonts-TTF-thai-arundina
146fontpostinst TTF
147
148%post -n fonts-Type1-thai-arundina
149fontpostinst Type1
150
151%postun -n fonts-Type1-thai-arundina
152fontpostinst Type1
153
154%post -n thailatex-fonts-arundina
71bc8a18 155%texhash
739cf922
JB
156
157%postun -n thailatex-fonts-arundina
71bc8a18 158%texhash
739cf922
JB
159
160%files -n fonts-TTF-thai-arundina
161%defattr(644,root,root,755)
162%doc AUTHORS COPYING ChangeLog NEWS README
163%{_fontsdir}/TTF/Arundina*.ttf
71bc8a18 164%{_datadir}/fontconfig/conf.avail/65-arundina.conf
739cf922
JB
165
166%files -n fonts-Type1-thai-arundina
167%defattr(644,root,root,755)
168%doc AUTHORS COPYING ChangeLog NEWS README
169%{_fontsdir}/Type1/Arundina*.pfb
170%{_fontsdir}/Type1/fonts.scale.thai-arundina
171%{_fontsdir}/Type1/afm/Arundina*.afm
172
173%files -n thailatex-fonts-arundina
174%defattr(644,root,root,755)
175%doc AUTHORS COPYING ChangeLog NEWS README
b082ef11
JB
176%{_datadir}/texmf/fonts/afm/public/fonts-arundina
177%{_datadir}/texmf/fonts/enc/dvips/fonts-arundina
178%{_datadir}/texmf/fonts/map/dvips/fonts-arundina
179%{_datadir}/texmf/fonts/tfm/public/fonts-arundina
180%{_datadir}/texmf/fonts/type1/public/fonts-arundina
181%{_datadir}/texmf/fonts/vf/public/fonts-arundina
739cf922 182%{_datadir}/texmf/tex/latex/fonts-arundina
This page took 0.085735 seconds and 4 git commands to generate.