]> git.pld-linux.org Git - packages/fonts-thai-arundina.git/blob - fonts-thai-arundina.spec
- updated to 0.3.2
[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.2.2
9 Release:        1
10 License:        MIT-like
11 Group:          Fonts
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
18 BuildRequires:  xz
19 %if %{with latex}
20 BuildRequires:  texlive
21 BuildRequires:  thailatex >= 0.4.6
22 %endif
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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.
31
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.
38
39 %package -n fonts-TTF-thai-arundina
40 Summary:        TrueType Thai Arundina fonts
41 Summary(pl.UTF-8):      Tajskie fonty Arundina w formacie TrueType
42 Group:          Fonts
43 Requires(post,postun):  fontpostinst
44
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.
51
52 This package contains fonts in TrueType format.
53
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.
60
61 Ten pakiet zawiera fonty w formacie TrueType.
62
63 %package -n fonts-Type1-thai-arundina
64 Summary:        Type1 Thai Arundina fonts
65 Summary(pl.UTF-8):      Tajskie fonty Arundina w formacie Type1
66 Group:          Fonts
67 Requires(post,postun):  fontpostinst
68
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.
75
76 This package contains fonts in Type1 format.
77
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.
84
85 Ten pakiet zawiera fonty w formacie Type1.
86
87 %package -n thailatex-fonts-arundina
88 Summary:        Thai Arundina fonts for LaTeX
89 Summary(pl.UTF-8):      Tajskie fonty Arundina dla LaTeXa
90 Group:          Fonts
91 Requires(post,postun):  texlive
92 Requires:       texlive
93 Requires:       thailatex >= 0.4.7
94
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.
101
102 This package contains LaTeX fonts for use with thailatex.
103
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.
110
111 Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex.
112
113 %prep
114 %setup -q -n fonts-sipa-arundina-%{version}
115
116 %build
117 %configure \
118         %{?with_latex:--enable-latex} \
119         --enable-pfb \
120         --with-ttfdir=%{_fontsdir}/TTF \
121         --with-type1dir=%{_fontsdir}/Type1
122 %{__make} %{?with_latex:-j1}
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126
127 %{__make} install \
128         DESTDIR=$RPM_BUILD_ROOT \
129         fontconfigdir=%{_datadir}/fontconfig/conf.avail
130
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
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %post   -n fonts-TTF-thai-arundina
139 fontpostinst TTF
140
141 %postun -n fonts-TTF-thai-arundina
142 fontpostinst TTF
143
144 %post   -n fonts-Type1-thai-arundina
145 fontpostinst Type1
146
147 %postun -n fonts-Type1-thai-arundina
148 fontpostinst Type1
149
150 %post   -n thailatex-fonts-arundina
151 umask 022
152 %{_bindir}/texhash
153
154 %postun -n thailatex-fonts-arundina
155 umask 022
156 %{_bindir}/texhash
157
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
163
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
170
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
This page took 0.06961 seconds and 3 git commands to generate.