]> git.pld-linux.org Git - packages/fonts-thai-arundina.git/blob - fonts-thai-arundina.spec
- new
[packages/fonts-thai-arundina.git] / fonts-thai-arundina.spec
1 #
2 # Conditional build:
3 %bcond_without  latex   # LaTeX fonts
4 #
5 Summary:        Collection of Thai scalable fonts
6 Summary(pl.UTF-8):      Kolekcja skalowalnych fontów tajskich
7 Name:           fonts-thai-arundina
8 Version:        0.1.3
9 Release:        1
10 License:        MIT-like
11 Group:          Fonts
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
17 %if %{with latex}
18 BuildRequires:  texlive
19 BuildRequires:  thailatex >= 0.4.6
20 %endif
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
29
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.
36
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
40 Group:          Fonts
41 Requires(post,postun):  fontpostinst
42
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.
49
50 This package contains fonts in TrueType format.
51
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.
58
59 Ten pakiet zawiera fonty w formacie TrueType.
60
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
64 Group:          Fonts
65 Requires(post,postun):  fontpostinst
66
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.
73
74 This package contains fonts in Type1 format.
75
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.
82
83 Ten pakiet zawiera fonty w formacie Type1.
84
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
88 Group:          Fonts
89 Requires(post,postun):  texlive
90 Requires:       texlive
91 Requires:       thailatex >= 0.4.6
92
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.
99
100 This package contains LaTeX fonts for use with thailatex.
101
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.
108
109 Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex.
110
111 %prep
112 %setup -q -n thaifonts-arundina-%{version}
113
114 %build
115 %configure \
116         %{?with_latex:--enable-latex} \
117         --enable-pfb \
118         --with-ttfdir=%{_fontsdir}/TTF \
119         --with-type1dir=%{_fontsdir}/Type1
120 %{__make} %{?with_latex:-j1}
121
122 %install
123 rm -rf $RPM_BUILD_ROOT
124
125 %{__make} install \
126         DESTDIR=$RPM_BUILD_ROOT
127
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
131
132 %clean
133 rm -rf $RPM_BUILD_ROOT
134
135 %post   -n fonts-TTF-thai-arundina
136 fontpostinst TTF
137
138 %postun -n fonts-TTF-thai-arundina
139 fontpostinst TTF
140
141 %post   -n fonts-Type1-thai-arundina
142 fontpostinst Type1
143
144 %postun -n fonts-Type1-thai-arundina
145 fontpostinst Type1
146
147 %post   -n thailatex-fonts-arundina
148 umask 022
149 %{_bindir}/texhash
150
151 %postun -n thailatex-fonts-arundina
152 umask 022
153 %{_bindir}/texhash
154
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
159
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
166
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
This page took 0.307067 seconds and 3 git commands to generate.