1 Summary: Thai SiamPradesh scalable fonts
2 Summary(pl.UTF-8): Tajskie fonty skalowalne SiamPradesh
3 Name: fonts-thai-siampradesh
6 License: Font Computer Program License (see COPYING)
8 Source0: http://linux.thai.net/pub/thailinux/software/thaifonts-siampradesh/thaifonts-siampradesh-%{version}.tar.gz
9 # Source0-md5: 682791e7abc47f4dd35d2bb2e598b154
10 Patch0: fontconfig-2.10.patch
11 URL: http://linux.thai.net/projects/thaifonts-siampradesh
12 BuildRequires: fontforge >= 20080110
13 BuildRequires: xorg-app-mkfontscale
14 Requires: fontconfig >= 1:2.10.1
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This project is an attempt to adjust fonts from DIP & SIPA contested
19 fonts for use in GNU/Linux desktops. All fonts are renamed as required
22 %description -l pl.UTF-8
23 Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
24 środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
25 nazwy zmienione zgodnie z wymogiem licencji.
27 %package -n fonts-TTF-thai-siampradesh
28 Summary: TrueType Thai SiamPradesh fonts
29 Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie TrueType
31 Requires(post,postun): fontpostinst
33 %description -n fonts-TTF-thai-siampradesh
34 This project is an attempt to adjust fonts from DIP & SIPA contested
35 fonts for use in GNU/Linux desktops. All fonts are renamed as required
38 This package contains fonts in TrueType format.
40 %description -n fonts-TTF-thai-siampradesh -l pl.UTF-8
41 Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
42 środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
43 nazwy zmienione zgodnie z wymogiem licencji.
45 Ten pakiet zawiera fonty w formacie TrueType.
47 %package -n fonts-Type1-thai-siampradesh
48 Summary: Type1 Thai SiamPradesh fonts
49 Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie Type1
51 Requires(post,postun): fontpostinst
53 %description -n fonts-Type1-thai-siampradesh
54 This project is an attempt to adjust fonts from DIP & SIPA contested
55 fonts for use in GNU/Linux desktops. All fonts are renamed as required
58 This package contains fonts in Type1 format.
60 %description -n fonts-Type1-thai-siampradesh -l pl.UTF-8
61 Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
62 środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
63 nazwy zmienione zgodnie z wymogiem licencji.
65 Ten pakiet zawiera fonty w formacie Type1.
68 %setup -q -n thaifonts-siampradesh-%{version}
77 --with-ttfdir=%{_fontsdir}/TTF \
78 --with-type1dir=%{_fontsdir}/Type1
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
88 mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
89 mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-siampradesh $RPM_BUILD_ROOT%{_fontsdir}/Type1
92 rm -rf $RPM_BUILD_ROOT
94 %post -n fonts-TTF-thai-siampradesh
97 %postun -n fonts-TTF-thai-siampradesh
100 %post -n fonts-Type1-thai-siampradesh
103 %postun -n fonts-Type1-thai-siampradesh
106 %files -n fonts-TTF-thai-siampradesh
107 %defattr(644,root,root,755)
108 %doc AUTHORS COPYING ChangeLog NEWS README
109 %{_fontsdir}/TTF/SPAphaimanee*.ttf
110 %{_fontsdir}/TTF/SPHanuman*.ttf
111 %{_fontsdir}/TTF/SPLaksaman*.ttf
112 %{_fontsdir}/TTF/SPLaweng*.ttf
113 %{_fontsdir}/TTF/SPRama*.ttf
114 %{_fontsdir}/TTF/SPSida*.ttf
115 %{_fontsdir}/TTF/SPSinsamut*.ttf
116 %{_fontsdir}/TTF/SPSutsakhorn*.ttf
117 %{_fontsdir}/TTF/SPThotsakan*.ttf
118 %{_datadir}/fontconfig/conf.avail/64-ttf-thai-siampradesh.conf
119 %{_datadir}/fontconfig/conf.avail/89-ttf-thai-siampradesh-synthetic.conf
121 %files -n fonts-Type1-thai-siampradesh
122 %defattr(644,root,root,755)
123 %doc AUTHORS COPYING ChangeLog NEWS README
124 %{_fontsdir}/Type1/SPAphaimanee*.pfb
125 %{_fontsdir}/Type1/SPHanuman*.pfb
126 %{_fontsdir}/Type1/SPLaksaman*.pfb
127 %{_fontsdir}/Type1/SPLaweng*.pfb
128 %{_fontsdir}/Type1/SPRama*.pfb
129 %{_fontsdir}/Type1/SPSida*.pfb
130 %{_fontsdir}/Type1/SPSinsamut*.pfb
131 %{_fontsdir}/Type1/SPSutsakhorn*.pfb
132 %{_fontsdir}/Type1/SPThotsakan*.pfb
133 %{_fontsdir}/Type1/fonts.scale.thai-siampradesh
134 %{_fontsdir}/Type1/afm/SPAphaimanee*.afm
135 %{_fontsdir}/Type1/afm/SPHanuman*.afm
136 %{_fontsdir}/Type1/afm/SPLaksaman*.afm
137 %{_fontsdir}/Type1/afm/SPLaweng*.afm
138 %{_fontsdir}/Type1/afm/SPRama*.afm
139 %{_fontsdir}/Type1/afm/SPSida*.afm
140 %{_fontsdir}/Type1/afm/SPSinsamut*.afm
141 %{_fontsdir}/Type1/afm/SPSutsakhorn*.afm
142 %{_fontsdir}/Type1/afm/SPThotsakan*.afm