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