]> git.pld-linux.org Git - packages/fonts-thai-siampradesh.git/blob - fonts-thai-siampradesh.spec
- release 3 (by relup.sh)
[packages/fonts-thai-siampradesh.git] / fonts-thai-siampradesh.spec
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:        3
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 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)
16
17 %description
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
20 by the license.
21
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.
26
27 %package -n fonts-TTF-thai-siampradesh
28 Summary:        TrueType Thai SiamPradesh fonts
29 Summary(pl.UTF-8):      Tajskie fonty SiamPradesh w formacie TrueType
30 Group:          Fonts
31 Requires(post,postun):  fontpostinst
32
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
36 by the license.
37
38 This package contains fonts in TrueType format.
39
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.
44
45 Ten pakiet zawiera fonty w formacie TrueType.
46
47 %package -n fonts-Type1-thai-siampradesh
48 Summary:        Type1 Thai SiamPradesh fonts
49 Summary(pl.UTF-8):      Tajskie fonty SiamPradesh w formacie Type1
50 Group:          Fonts
51 Requires(post,postun):  fontpostinst
52
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
56 by the license.
57
58 This package contains fonts in Type1 format.
59
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.
64
65 Ten pakiet zawiera fonty w formacie Type1.
66
67 %prep
68 %setup -q -n thaifonts-siampradesh-%{version}
69 %patch0 -p1
70
71 %build
72 %{__aclocal}
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         --enable-pfb \
77         --with-ttfdir=%{_fontsdir}/TTF \
78         --with-type1dir=%{_fontsdir}/Type1
79 %{__make} -j1
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
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
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -n fonts-TTF-thai-siampradesh
95 fontpostinst TTF
96
97 %postun -n fonts-TTF-thai-siampradesh
98 fontpostinst TTF
99
100 %post   -n fonts-Type1-thai-siampradesh
101 fontpostinst Type1
102
103 %postun -n fonts-Type1-thai-siampradesh
104 fontpostinst Type1
105
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
120
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
This page took 0.067718 seconds and 3 git commands to generate.