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 URL: http://linux.thai.net/projects/thaifonts-siampradesh
11 BuildRequires: fontforge >= 20080110
12 BuildRequires: xorg-app-mkfontscale
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 This project is an attempt to adjust fonts from DIP & SIPA contested
17 fonts for use in GNU/Linux desktops. All fonts are renamed as required
20 %description -l pl.UTF-8
21 Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
22 środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
23 nazwy zmienione zgodnie z wymogiem licencji.
25 %package -n fonts-TTF-thai-siampradesh
26 Summary: TrueType Thai SiamPradesh fonts
27 Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie TrueType
29 Requires(post,postun): fontpostinst
31 %description -n fonts-TTF-thai-siampradesh
32 This project is an attempt to adjust fonts from DIP & SIPA contested
33 fonts for use in GNU/Linux desktops. All fonts are renamed as required
36 This package contains fonts in TrueType format.
38 %description -n fonts-TTF-thai-siampradesh -l pl.UTF-8
39 Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
40 środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
41 nazwy zmienione zgodnie z wymogiem licencji.
43 Ten pakiet zawiera fonty w formacie TrueType.
45 %package -n fonts-Type1-thai-siampradesh
46 Summary: Type1 Thai SiamPradesh fonts
47 Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie Type1
49 Requires(post,postun): fontpostinst
51 %description -n fonts-Type1-thai-siampradesh
52 This project is an attempt to adjust fonts from DIP & SIPA contested
53 fonts for use in GNU/Linux desktops. All fonts are renamed as required
56 This package contains fonts in Type1 format.
58 %description -n fonts-Type1-thai-siampradesh -l pl.UTF-8
59 Ten projekt jest próbą dostosowania fontów DIP i SIPA do użytku w
60 środowiskach graficznych systemów GNU/Linux. Wszystkie fonty mają
61 nazwy zmienione zgodnie z wymogiem licencji.
63 Ten pakiet zawiera fonty w formacie Type1.
66 %setup -q -n thaifonts-siampradesh-%{version}
71 --with-ttfdir=%{_fontsdir}/TTF \
72 --with-type1dir=%{_fontsdir}/Type1
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
82 mv $RPM_BUILD_ROOT%{_fontsdir}/Type1/*.afm $RPM_BUILD_ROOT%{_fontsdir}/Type1/afm
83 mkfontscale -o $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.thai-siampradesh $RPM_BUILD_ROOT%{_fontsdir}/Type1
86 rm -rf $RPM_BUILD_ROOT
88 %post -n fonts-TTF-thai-siampradesh
91 %postun -n fonts-TTF-thai-siampradesh
94 %post -n fonts-Type1-thai-siampradesh
97 %postun -n fonts-Type1-thai-siampradesh
100 %files -n fonts-TTF-thai-siampradesh
101 %defattr(644,root,root,755)
102 %doc AUTHORS COPYING ChangeLog NEWS README
103 %{_fontsdir}/TTF/SPAphaimanee*.ttf
104 %{_fontsdir}/TTF/SPHanuman*.ttf
105 %{_fontsdir}/TTF/SPLaksaman*.ttf
106 %{_fontsdir}/TTF/SPLaweng*.ttf
107 %{_fontsdir}/TTF/SPRama*.ttf
108 %{_fontsdir}/TTF/SPSida*.ttf
109 %{_fontsdir}/TTF/SPSinsamut*.ttf
110 %{_fontsdir}/TTF/SPSutsakhorn*.ttf
111 %{_fontsdir}/TTF/SPThotsakan*.ttf
112 /etc/fonts/conf.avail/64-ttf-thai-siampradesh.conf
113 /etc/fonts/conf.avail/89-ttf-thai-siampradesh-synthetic.conf
115 %files -n fonts-Type1-thai-siampradesh
116 %defattr(644,root,root,755)
117 %doc AUTHORS COPYING ChangeLog NEWS README
118 %{_fontsdir}/Type1/SPAphaimanee*.pfb
119 %{_fontsdir}/Type1/SPHanuman*.pfb
120 %{_fontsdir}/Type1/SPLaksaman*.pfb
121 %{_fontsdir}/Type1/SPLaweng*.pfb
122 %{_fontsdir}/Type1/SPRama*.pfb
123 %{_fontsdir}/Type1/SPSida*.pfb
124 %{_fontsdir}/Type1/SPSinsamut*.pfb
125 %{_fontsdir}/Type1/SPSutsakhorn*.pfb
126 %{_fontsdir}/Type1/SPThotsakan*.pfb
127 %{_fontsdir}/Type1/fonts.scale.thai-siampradesh
128 %{_fontsdir}/Type1/afm/SPAphaimanee*.afm
129 %{_fontsdir}/Type1/afm/SPHanuman*.afm
130 %{_fontsdir}/Type1/afm/SPLaksaman*.afm
131 %{_fontsdir}/Type1/afm/SPLaweng*.afm
132 %{_fontsdir}/Type1/afm/SPRama*.afm
133 %{_fontsdir}/Type1/afm/SPSida*.afm
134 %{_fontsdir}/Type1/afm/SPSinsamut*.afm
135 %{_fontsdir}/Type1/afm/SPSutsakhorn*.afm
136 %{_fontsdir}/Type1/afm/SPThotsakan*.afm