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