]> git.pld-linux.org Git - packages/XFree86-fonts.git/blob - XFree86-fonts.spec
bb1fdb525ff9448ac70ca9a026879e2f05c4c880
[packages/XFree86-fonts.git] / XFree86-fonts.spec
1 Summary:        XFree86 Fonts
2 Summary(pl):    Fonty dla systemu XFree86 
3 Name:           XFree86-fonts
4 Version:        4.0
5 Release:        0.1
6 Copyright:      MIT
7 Group:          X11/XFree86
8 Group(pl):      X11/XFree86
9 Source0:        ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X400src-2.tgz
10 Source1:        ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X400src-1.tgz
11 Patch:          XFree86-fonts-extras-fix.patch
12 BuildRequires:  XFree86-devel = %{version}
13 Requires:       type1inst
14 Prereq:         %{_bindir}/mkfontdir
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _fontdir        /usr/share/fonts
18 %define         _prefix         /usr/X11R6
19 %define         _mandir         /usr/X11R6/man
20 %define         _appnkldir      %{_datadir}/applnk
21
22 %description
23 This package contains the basic fonts. This package is required when you
24 have installed X server.
25
26 %description -l pl
27 Pakiet ten zawiera podstawowe czcionki. Pakiet ten jest koniecznie potrzebny,
28 je¶li masz zainstalowany jakikolwiek X serwer.
29
30 %package -n XFree86-75dpi-fonts
31 Summary:        X11R6 75dpi fonts - only need on server side
32 Summary(de):    X11RT 76 dpi-Fonts - nur auf Serverseite erforderlich
33 Summary(fr):    Fontes 75 dpi X11R6 - nécessaire uniquement côté serveur
34 Summary(pl):    Fonty o rozdzielczo¶ci 75dpi-niebêdne dla serwera.
35 Summary(tr):    X11R6 75dpi yazýtipleri - yalnýzca sunucu tarafýnda gerekir
36 Group:          X11/XFree86
37 Group(pl):      X11/XFree86
38 Prereq:         %{_bindir}/mkfontdir
39
40 %ifarch sparc
41 Obsoletes: X11R6.1-75dpi-fonts
42 %endif
43
44 %description -n XFree86-75dpi-fonts
45 The 75dpi fonts used on most Linux systems. Users with high resolution
46 displays may prefer the 100dpi fonts available in a separate package.
47
48 %description -l de -n XFree86-75dpi-fonts
49 Die 75dpi-Fonts, die auf meisten Linux-Systemen verwendet werden. Für Benutzer
50 mit einer hochauflösender Darstellung sind die 100dpi-Fonts eines getrennt
51 erhältlichen Pakets besser geeignet.
52
53 %description -l fr -n XFree86-75dpi-fonts
54 Fontes 75 dpi utilisées sur la plupart des systèmes Linux. Ceux qui ont
55 des écrans à haute résolution préfèreront les fontes 100 dpi disponibles
56 dans un autre paquetage.
57
58 %description -l pl -n XFree86-75dpi-fonts
59 Pakiet ten zawiera czcionki rastrowe 75dpi. W wypadku wiêkszej rozdzielczo¶ci
60 zalecane s± czcionki 100dpi, które s± dostêpne w osobnym pakiecie.
61
62 %description -l tr -n XFree86-75dpi-fonts
63 Çoðu Linux sisteminde 75dpi yazýtipi kullanýlýr. Yüksek çözünürlük kullanan
64 kullanýcýlar 100dpi yazýtiplerini yeðleyebilirler.
65
66 %package -n XFree86-100dpi-fonts
67 Summary:        X11R6 100dpi fonts - only need on server side
68 Summary(de):    X11R6 100dpi-Fonts - nur auf Server-Seite erforderlich
69 Summary(fr):    Fontes 100ppp pour X11R6 - nécessaires seulement coté serveur.
70 Summary(pl):    Fonty o rozdzielczosci 100dpi-niezbêdne dla serwera.
71 Summary(tr):    X11R6 100dpi yazýtipleri - yalnýzca sunucu tarafýnda gereklidir
72 Group:          X11/XFree86
73 Group(pl):      X11/XFree86
74 Prereq:         %{_bindir}/mkfontdir
75
76 %ifarch sparc
77 Obsoletes: X11R6.1-100dpi-fonts
78 %endif
79
80 %description -n XFree86-100dpi-fonts
81 The 100dpi fonts used on most Linux systems. Users with high resolution
82 displays may prefer the 100dpi fonts available in a separate package.
83
84 %description -l de -n XFree86-100dpi-fonts
85 Die 100dpi-Schriftarten, die auf den meisten Linux-Systemen zum Einsatz
86 kommen. Anwender mit hochauflösenden Monitoren ziehen unter Umständen
87 die 100dpi-Schriften vor, die in einem separaten Paket erhältlich sind.
88
89 %description -l fr -n XFree86-100dpi-fonts
90 Les fontes 100dpi sont utilisées par la plupart des systèmes Linux.
91 Les utilisateurs ayant des hautes résolutions peuvent préférer les 
92 fontes 100dpi disponibles dans un package séparé.
93
94 %description -l pl -n XFree86-100dpi-fonts
95 Pakiet ten zawiera czcionki rastrowe 100dpi. Bed± one potrzebne przy pracy z
96 du¿± rozdzielczo¶ci±.
97
98 %description -l tr -n XFree86-100dpi-fonts
99 Yüksek çözünürlük kullanan kullanýcýlar 100dpi yazýtiplerini 75dpi olanlara
100 yeðleyebilirler.
101
102 %package -n XFree86-cyrillic-fonts
103 Summary:        Cyrillic fonts - only need on server side
104 Summary(pl):    Cyrlica
105 Group:          X11/XFree86
106 Group(pl):      X11/XFree86
107 Prereq:         %{_bindir}/mkfontdir
108
109 %description -n XFree86-cyrillic-fonts
110 Cyrillic raster fonts.
111
112 %description -l pl -n XFree86-cyrillic-fonts
113 Czcionki rastrowe z cyrylic±.
114
115 %package -n XFree86-latin2-100dpi-fonts
116 Summary:        Latin 2 100dpi fonts - only need on server side
117 Summary(pl):    Pliterki
118 Group:          X11/XFree86
119 Group(pl):      X11/XFree86
120 Prereq:         %{_bindir}/mkfontdir
121
122 %description -n XFree86-latin2-100dpi-fonts
123 Latin 2 raster fonts.
124
125 %description -l pl -n XFree86-latin2-100dpi-fonts
126 Czcionki rastrowe ISO-8859-2.
127
128 %package -n XFree86-latin2-75dpi-fonts
129 Summary:        Latin 2 75dpi fonts - only need on server side
130 Summary(pl):    Pliterki
131 Group:          X11/XFree86
132 Group(pl):      X11/XFree86
133 Prereq:         %{_bindir}/mkfontdir
134
135 %description -n XFree86-latin2-75dpi-fonts
136 Latin 2 raster fonts.
137
138 %description -l pl -n XFree86-latin2-75dpi-fonts
139 Czcionki rastrowe ISO-8859-2.
140
141 %prep
142 %setup -q -c -b 1
143
144 %patch -p0
145
146 %build
147 cd xc/fonts
148 (cd bdf/misc; cp ../../../extras/fonts/arabic24/*.bdf .)
149 (cd bdf/misc; cp ../../../extras/fonts/ClearlyU/*.bdf .)
150 imake -DBuildFonts -DUseInstalled -I/usr/X11R6/lib/X11/config
151 make Makefiles
152 make depend
153 make CDEBUGFLAGS="$RPM_OPT_FLAGS"
154
155
156 %install
157 (cd xc/fonts;\
158  make DESTDIR=$RPM_BUILD_ROOT install;\
159  make DESTDIR=$RPM_BUILD_ROOT install.man;\
160 )
161
162 # make TrueType font dir, touch default .dir and .scale files
163 install -d $RPM_BUILD_ROOT%{_fontdir}/TTF
164 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.dir
165 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.scale
166
167 %clean
168 rm -rf $RPM_BUILD_ROOT
169
170 %post
171 cd %{_fontdir}/misc
172 %{_bindir}/mkfontdir
173
174 %postun
175 cd %{_fontdir}/misc
176 umask 022
177 %{_bindir}/mkfontdir
178
179 %post -n XFree86-75dpi-fonts
180 cd %{_fontdir}/75dpi
181 umask 022
182 %{_bindir}/mkfontdir
183
184 %postun -n XFree86-75dpi-fonts
185 cd %{_fontdir}/75dpi
186 umask 022
187 %{_bindir}/mkfontdir
188
189 %post -n XFree86-100dpi-fonts
190 cd %{_fontdir}/100dpi
191 %{_bindir}/mkfontdir
192
193 %postun -n XFree86-100dpi-fonts
194 cd %{_fontdir}/100dpi
195 umask 022
196 %{_bindir}/mkfontdir
197
198 %post -n XFree86-cyrillic-fonts
199 cd %{_fontdir}/cyrillic
200 %{_bindir}/mkfontdir
201
202 %post -n XFree86-latin2-100dpi-fonts
203 cd %{_fontdir}/latin2/100dpi
204 %{_bindir}/mkfontdir
205
206 %post -n XFree86-latin2-75dpi-fonts
207 cd %{_fontdir}/latin2/75dpi
208 %{_bindir}/mkfontdir
209
210 %files
211 %defattr(644,root,root,755)
212 %{_fontdir}/PEX
213 %{_fontdir}/Speedo
214 %{_fontdir}/Type1
215 %{_fontdir}/CID
216 %{_fontdir}/TTF
217 %{_fontdir}/encodings
218 %{_fontdir}/local
219 %dir %{_fontdir}/misc
220 %{_fontdir}/misc/*gz
221 %verify(not mtime size md5) %{_fontdir}/misc/fonts.*
222
223 %files -n XFree86-75dpi-fonts
224 %defattr(644,root,root,755)
225 %dir %{_fontdir}/75dpi
226 %{_fontdir}/75dpi/*gz
227 %verify(not mtime size md5) %{_fontdir}/75dpi/fonts.*
228
229 %files -n XFree86-100dpi-fonts
230 %defattr(644,root,root,755)
231 %dir %{_fontdir}/100dpi
232 %{_fontdir}/100dpi/*gz
233 %verify(not mtime size md5) %{_fontdir}/100dpi/fonts.*
234
235 %files -n XFree86-cyrillic-fonts
236 %defattr(644,root,root,755)
237 %{_fontdir}/cyrillic
238
239 %files -n XFree86-latin2-100dpi-fonts
240 %defattr(644,root,root,755)
241 %{_fontdir}/latin2/100dpi
242
243 %files -n XFree86-latin2-75dpi-fonts
244 %defattr(644,root,root,755)
245 %{_fontdir}/latin2/75dpi
This page took 0.06729 seconds and 3 git commands to generate.