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