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