]>
Commit | Line | Data |
---|---|---|
2574d328 JB |
1 | Summary: Thai SiamPradesh scalable fonts |
2 | Summary(pl.UTF-8): Tajskie fonty skalowalne SiamPradesh | |
3 | Name: fonts-thai-siampradesh | |
4 | Version: 0.2.2 | |
5 | Release: 1 | |
6 | License: Font Computer Program License (see COPYING) | |
7 | Group: Fonts | |
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) | |
14 | ||
15 | %description | |
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 | |
18 | by the license. | |
19 | ||
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. | |
24 | ||
25 | %package -n fonts-TTF-thai-siampradesh | |
26 | Summary: TrueType Thai SiamPradesh fonts | |
27 | Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie TrueType | |
28 | Group: Fonts | |
29 | Requires(post,postun): fontpostinst | |
30 | ||
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 | |
34 | by the license. | |
35 | ||
36 | This package contains fonts in TrueType format. | |
37 | ||
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. | |
42 | ||
43 | Ten pakiet zawiera fonty w formacie TrueType. | |
44 | ||
45 | %package -n fonts-Type1-thai-siampradesh | |
46 | Summary: Type1 Thai SiamPradesh fonts | |
47 | Summary(pl.UTF-8): Tajskie fonty SiamPradesh w formacie Type1 | |
48 | Group: Fonts | |
49 | Requires(post,postun): fontpostinst | |
50 | ||
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 | |
54 | by the license. | |
55 | ||
56 | This package contains fonts in Type1 format. | |
57 | ||
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. | |
62 | ||
63 | Ten pakiet zawiera fonty w formacie Type1. | |
64 | ||
65 | %prep | |
66 | %setup -q -n thaifonts-siampradesh-%{version} | |
67 | ||
68 | %build | |
69 | %configure \ | |
70 | --enable-pfb \ | |
71 | --with-ttfdir=%{_fontsdir}/TTF \ | |
72 | --with-type1dir=%{_fontsdir}/Type1 | |
73 | %{__make} -j1 | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
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 | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -n fonts-TTF-thai-siampradesh | |
89 | fontpostinst TTF | |
90 | ||
91 | %postun -n fonts-TTF-thai-siampradesh | |
92 | fontpostinst TTF | |
93 | ||
94 | %post -n fonts-Type1-thai-siampradesh | |
95 | fontpostinst Type1 | |
96 | ||
97 | %postun -n fonts-Type1-thai-siampradesh | |
98 | fontpostinst Type1 | |
99 | ||
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 | |
114 | ||
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 |