]> git.pld-linux.org Git - packages/XFree86-Servers.git/blob - XFree86-Servers.spec
a11eb16de73ac3f6c365532c1dc0b359597821cf
[packages/XFree86-Servers.git] / XFree86-Servers.spec
1 Summary:        XFree86 servers
2 Name:           XFree86-Servers
3 Version:        3.3.6
4 Release:        35
5 License:        MIT
6 Group:          X11/XFree86/Servers
7 Group(de):      X11/XFree86/Server
8 Group(pl):      X11/XFree86/Serwery
9 Source0:        ftp://ftp.xfree86.org/pub/XFree86/3.3.6/source/X336src-1.tgz
10 Source1:        ftp://ftp.dcs.ed.ac.uk/pub/jec/programs/xfsft/xfsft-1.1.6.tar.gz
11 Source2:        xserver.pamd
12 Patch0:         %{name}-rh.patch
13 Patch1:         %{name}-parallelmake.patch
14 Patch2:         %{name}-fix-01-r128.patch
15 Patch3:         %{name}-joy.patch
16 Patch4:         %{name}-ssa50.patch
17 Patch5:         %{name}-cyrix.patch
18 Patch6:         %{name}-sis.patch
19 Patch7:         %{name}-3dfxalpha.patch
20 Patch8:         %{name}-sparc.patch.gz
21 Patch9:         %{name}-new-i810.patch
22 Patch10:        %{name}-5480mem.patch
23 Patch11:        %{name}-ragemobility.patch
24 Patch12:        %{name}-fixreleasedate.patch
25 Patch13:        %{name}-svgaprobe.patch
26 Patch14:        %{name}-morecyrix.patch
27 Patch15:        %{name}-security.patch
28 Patch16:        %{name}-xkbstack.patch
29 Patch17:        %{name}-fix-04-s3trio3d2x.patch
30 Patch18:        %{name}-fix-05-s3trio3d.patch
31 Patch19:        %{name}-fbdev-compile.patch
32 Patch20:        %{name}-alpha.patch
33 Patch21:        %{name}-serversonly.patch
34 Patch22:        %{name}-sparc-asmflags.patch
35 Patch23:        %{name}-HasZlib.patch
36 ExclusiveArch:  %{ix86} alpha m68k armv4l sparc
37 BuildRequires:  flex
38 BuildRequires:  bison
39 BuildRequires:  zlib-devel
40 BuildRequires:  pam-devel
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %define         _prefix         /usr/X11R6
44 %define         _mandir         %{_prefix}/man
45 %define         docsrc          xc/programs/Xserver/hw/xfree86/doc
46
47 %description
48 This package contains old XFree86 servers (taken from version 3.3.6)
49 to use with old video cards, not supported by XFree86 4.x.
50
51 %description -l pl
52 Ten pakiet zawiera stare serwery XFree86 (wziête z wersji 3.3.6) dla
53 starych kart graficznych, nie obs³ugiwanych przez XFree86 4.x.
54
55 %package common
56 Summary:        The XFree86 servers - common files
57 Summary(pl):    Pliki wspólne dla serwerów XFree86
58 Group:          X11/XFree86/Servers
59 Group(de):      X11/XFree86/Server
60 Group(pl):      X11/XFree86/Serwery
61 Requires:       XFree86-fonts
62 Obsoletes:      XFree86-Xserver
63
64 %description common
65 Files common for all XFree86 servers, i.e. modules, Xwrapper and PAM
66 configuration files. Install this package with appropriate X server
67 package if you have old video card which was supported by XFree 3.3.6
68 but is not supported by XFree 4.x. If your card is well supported by
69 XFree 4.x, use Xserver with appropriate driver from XFree 4.x instead.
70
71 Please see the XFree86 video card/server list available from the
72 XFree86 Project's website at http://www.xfree86.org for a definitive
73 list of X servers and which video cards they support.
74
75 %description -l pl common
76 Pliki wspólne dla wszystkich X serwerów, w tym modu³y, Xwrapper oraz
77 pliki konfiguracyjne PAM. Zainstaluj ten pakiet wraz z pakietem
78 zawieraj±cym odpowiedni X serwer je¿eli masz star± kartê, która by³a
79 obs³ugiwana przez XFree 3.3.6, a nie jest obs³ugiwana przez XFree 4.x.
80 Je¿eli twoja karta jest dobrze obs³ugiwana przez XFree 4.x, lepiej
81 u¿yj X serwera wraz z odpowiednim driverem z XFree 4.x
82
83 Pe³n± listê X serwerów oraz kart które obs³uguj± mo¿na znale¼æ pod
84 adresem http://www.xfree86.org.
85
86 %package -n XFree86-S3
87 Summary:        The XFree86 server for video cards based on older S3 chips
88 Summary(pl):    Serwer XFree86 dla kart na starych uk³adach S3
89 Group:          X11/XFree86/Servers
90 Group(de):      X11/XFree86/Server
91 Group(pl):      X11/XFree86/Serwery
92 Provides:       Xserver
93 Requires:       %{name}-common = %{version}
94
95 %description -n XFree86-S3
96 XFree86-S3 is the X server for video cards based on S3 chips,
97 including most Number Nine cards, many Diamond Stealth cards, Orchid
98 Fahrenheits, the Miro Crystal 8S, most STB cards, and some
99 motherboards with built-in graphics accelerators (such as the IBM
100 ValuePoint line). Note that if you have an S3 ViRGE based video card,
101 you'll need XFree86-S3V instead of XFree86-S3.
102
103 %description -l pl -n XFree86-S3
104 XFree86-S3 jest X serwerem dla kart graficznych na uk³adach S3, czyli
105 czê¶ci kart Number Nine, Diamond Stealth, Orchid Fahrenheit, Miro
106 Crystal, STB. Je¿eli masz kartê na uk³adzie S3 ViRGE, zamiast tego
107 pakietu zainstaluj XFree86-S3V.
108
109 %package -n XFree86-I128
110 Summary:        The XFree86 server for Number Nine Imagine 128 video cards
111 Summary(pl):    Serwer XFree86 dla kart Number Nine Imagine 128
112 Group:          X11/XFree86/Servers
113 Group(de):      X11/XFree86/Server
114 Group(pl):      X11/XFree86/Serwery
115 Provides:       Xserver
116 Requires:       %{name}-common = %{version}
117
118 %description -n XFree86-I128
119 XFree86-I128 is the X server for the Number Nine Imagine 128 and
120 similar video cards.
121
122 %description -l pl -n XFree86-I128
123 XFree86-I128 jest X serwerem dla kart graficznych Number Nine Imagine
124 128 i podobnych.
125
126 %package -n XFree86-S3V
127 Summary:        The XFree86 server for video cards based on the S3 Virge chip
128 Summary(pl):    Serwer XFree86 dla kart na uk³adzie S3 Virge
129 Group:          X11/XFree86/Servers
130 Group(de):      X11/XFree86/Server
131 Group(pl):      X11/XFree86/Serwery
132 Provides:       Xserver
133 Requires:       %{name}-common = %{version}
134
135 %description -n XFree86-S3V
136 XFree86-S3V is the X server for video cards based on the S3 ViRGE
137 chipset.
138
139 %description -l pl -n XFree86-S3V
140 XFree86-S3V jest X serwerem dla kart graficznych opartych o uk³ady S3
141 ViRGE.
142
143 %package -n XFree86-Mach64
144 Summary:        The XFree86 server for Mach64 based video cards
145 Summary(pl):    Serwer XFree86 dla kart na uk³adzie Mach64
146 Group:          X11/XFree86/Servers
147 Group(de):      X11/XFree86/Server
148 Group(pl):      X11/XFree86/Serwery
149 Provides:       Xserver
150 Requires:       %{name}-common = %{version}
151
152 %description -n XFree86-Mach64
153 XFree86-Mach64 is the server package for cards based on ATI's Mach64
154 chip, such as the Graphics Xpression, GUP Turbo, and WinTurbo cards.
155 Note that this server is known to have problems with some Mach64
156 cards. Check http://www.xfree86.org for current information on
157 updating this server.
158
159 %description -l pl -n XFree86-Mach64
160 XFree86-Mach64 to X serwer dla kart opartych o uk³ad ATI Mach64,
161 takich jak Graphics Xpression, GUP Turbo, WinTurbo. Uwaga: ten serwer
162 miewa problemy z niektórymi kartami Mach64.
163
164 %package -n XFree86-8514
165 Summary:        The XFree86 server program for older IBM 8514 or compatible video cards
166 Summary(pl):    Serwer XFree86 dla kart na uk³adzie IBM 8514
167 Group:          X11/XFree86/Servers
168 Group(de):      X11/XFree86/Server
169 Group(pl):      X11/XFree86/Serwery
170 Provides:       Xserver
171 Requires:       %{name}-common = %{version}
172
173 %description -n XFree86-8514
174 The XFree86-8514 package contains the X server for older IBM 8514
175 video cards, or compatibles from a company such as ATI.
176
177 %description -l pl -n XFree86-8514
178 XFree86-8514 zawiera X serwer dla starszych kart graficznych IBM 8514
179 lub kompatybilnych.
180
181 %package -n XFree86-AGX
182 Summary:        The XFree86 server for AGX-based video cards
183 Summary(pl):    Serwer XFree86 dla kart na uk³adzie AGX
184 Group:          X11/XFree86/Servers
185 Group(de):      X11/XFree86/Server
186 Group(pl):      X11/XFree86/Serwery
187 Provides:       Xserver
188 Requires:       %{name}-common = %{version}
189
190 %description -n XFree86-AGX
191 The XFree86-AGX package contains the X server for AGX-based cards,
192 such as the Boca Vortex, Orchid Celsius, Spider Black Widow and
193 Hercules Graphite.
194
195 %description -l pl -n XFree86-AGX
196 XFree86-AGX zawiera X serwer dla kart graficznych na uk³adzie AGX,
197 takich jak Roca Vortex, Orchid Celsius, Spider Black Widow, Hercules
198 Graphite.
199
200 %package -n XFree86-Mach32
201 Summary:        The XFree86 server for Mach32 based video cards
202 Summary(pl):    Serwer XFree86 dla kart na uk³adzie Mach32
203 Group:          X11/XFree86/Servers
204 Group(de):      X11/XFree86/Server
205 Group(pl):      X11/XFree86/Serwery
206 Provides:       Xserver
207 Requires:       %{name}-common = %{version}
208
209 %description -n XFree86-Mach32
210 XFree86-Mach32 is the X server package for video cards built around
211 ATI's Mach32 chip, including the ATI Graphics Ultra Pro and Ultra
212 Plus.
213
214 %description -l pl -n XFree86-Mach32
215 XFree86-Mach32 jest X serwerem dla kart graficznych opartych na
216 uk³adzie ATI Mach32, w tym kart ATI Graphics Ultra Pro i Ultra Plus.
217
218 %package -n XFree86-Mach8
219 Summary:        The XFree86 server for Mach8 video cards
220 Summary(pl):    Serwer XFree86 dla kart na uk³adzie Mach8
221 Group:          X11/XFree86/Servers
222 Group(de):      X11/XFree86/Server
223 Group(pl):      X11/XFree86/Serwery
224 Provides:       Xserver
225 Requires:       %{name}-common = %{version}
226
227 %description -n XFree86-Mach8
228 XFree86-Mach8 is the X server for video cards built around ATI's Mach8
229 chip, including the ATI 8514 Ultra and Graphics Ultra.
230
231 %description -l pl -n XFree86-Mach8
232 XFree86-Mach8 jest X serwerem dla kart graficznych opartych na
233 uk³adzie ATI Mach8, w tym kart ATI 8514 Ultra i Graphics Ultra.
234
235 %package -n XFree86-Mono
236 Summary:        A generic XFree86 monochrome server for VGA cards
237 Summary(pl):    Serwer XFree86 dla kart VGA w trybie mono
238 Group:          X11/XFree86/Servers
239 Group(de):      X11/XFree86/Server
240 Group(pl):      X11/XFree86/Serwery
241 Provides:       Xserver
242 Requires:       %{name}-common = %{version}
243
244 %description -n XFree86-Mono
245 XFree86-Mono is a generic monochrome (two color) server for VGA cards.
246 XFree86-Mono will work for nearly all VGA compatible cards, but will
247 only support a monochrome display.
248
249 %description -l pl -n XFree86-Mono
250 XFree86-Mono jest standardowym monochromatycznym (2-kolorowym)
251 serwerem dla kart VGA. Dzia³a na prawie wszystkich kartach zgodnych z
252 VGA.
253
254 %package -n XFree86-P9000
255 Summary:        The XFree86 server for P9000 cards
256 Summary(pl):    Serwer dla kart na uk³adzie P9000
257 Group:          X11/XFree86/Servers
258 Group(de):      X11/XFree86/Server
259 Group(pl):      X11/XFree86/Serwery
260 Provides:       Xserver
261 Requires:       %{name}-common = %{version}
262
263 %description -n XFree86-P9000
264 XFree86-P9000 is the X server for video cards built around the Weitek
265 P9000 chip, such as most Diamond Viper cards and the Orchid P9000
266 card.
267
268 %description -l pl -n XFree86-P9000
269 XFree86-P9000 jest X serwerem dla kart graficznych opartych na
270 uk³adzie Weitek P9000, takich jak Diamon Viper i Orchid P9000.
271
272 %package -n XFree86-SVGA
273 Summary:        An XFree86 server for most simple framebuffer SVGA devices
274 Summary(pl):    Serwer dla wiêkszo¶ci prostych kart SVGA
275 Group:          X11/XFree86/Servers
276 Group(de):      X11/XFree86/Server
277 Group(pl):      X11/XFree86/Serwery
278 Provides:       Xserver
279 Requires:       %{name}-common = %{version}
280
281 %description -n XFree86-SVGA
282 An X server for most simple frame buffer SVGA devices, including cards
283 built from ET4000 chips, Cirrus Logic chips, Chips and Technologies
284 laptop chips, Trident 8900 and 9000 chips, and Matrox chips. It also
285 works for Diamond Speedstar, Orchid Kelvins, STB Nitros and Horizons,
286 Genoa 8500VL, most Actix boards, and the Spider VLB Plus. This X
287 server works for many other chips and cards, so try this server if you
288 are having problems.
289
290 %description -l pl -n XFree86-SVGA
291 X serwer dla wiêkszo¶ci prostych kart SVGA, w tym kart zbudowanych na
292 uk³adach ET4000, Cirrus Logic, Chips and Technologies, Trident 8900 i
293 9000, Matrox. Dzia³a tak¿e na kartach Diamond Speedstar, Orchid
294 Kelvin, STB Nitro i Horizon, Genoa 8500VL, Spider VLB Plus i
295 wiêkszo¶ci kart Actix.
296
297 %package -n XFree86-VGA16
298 Summary:        A generic XFree86 server for VGA16 boards
299 Summary(pl):    Serwer XFree86 dla kart VGA w trybie 4bpp
300 Group:          X11/XFree86/Servers
301 Group(de):      X11/XFree86/Server
302 Group(pl):      X11/XFree86/Serwery
303 Provides:       Xserver
304 Requires:       %{name}-common = %{version}
305
306 %description -n XFree86-VGA16
307 XFree86-VGA16 is a generic 16 color server for VGA boards.
308 XFree86-VGA16 will work on nearly all VGA style graphics boards, but
309 will only support a low resolution, 16 color display.
310
311 %description -l pl -n XFree86-VGA16
312 XFree86-VGA16 jest standardowych 16-kolorowym serwerem dla kart VGA.
313 Dzia³a na prawie wszystkich kartach zgodnych z VGA.
314
315 %package -n XFree86-W32
316 Summary:        The XFree86 server for video cards based on ET4000/W32 chips
317 Summary(pl):    Serwer XFree86 dla kart na uk³adzie ET4000/W32
318 Group:          X11/XFree86/Servers
319 Group(de):      X11/XFree86/Server
320 Group(pl):      X11/XFree86/Serwery
321 Provides:       Xserver
322 Requires:       %{name}-common = %{version}
323
324 %description -n XFree86-W32
325 XFree86-W32 is the X server for cards built around ET4000/W32 chips,
326 including the Genoa 8900 Phantom 32i, the Hercules Dynamite, the
327 LeadTek WinFast S200, the Sigma Concorde, the STB LightSpeed, the
328 TechWorks Thunderbolt, and the ViewTop PCI.
329
330 %description -l pl -n XFree86-W32
331 XFree86-W32 jest X serwerem dla kart opartych na uk³adach ET4000/W32,
332 w tym kart Genoa 8900 Phantom 32i, Hercules Dynamite, LeadTek WinFast
333 S200, Sigma Concorde, STB LightSpeed, TechWorks Thunderbolt, ViewTop
334 PCI.
335
336 %package -n XFree86-3DLabs 
337 Summary:        The XFree86 server for 3Dlabs video cards
338 Summary(pl):    Serwer XFree86 dla kart na uk³adzie 3Dlabs
339 Group:          X11/XFree86/Servers
340 Group(de):      X11/XFree86/Server
341 Group(pl):      X11/XFree86/Serwery
342 Provides:       Xserver
343 Requires:       %{name}-common = %{version}
344
345 %description -n XFree86-3DLabs
346 XFree86-3DLabs is the X server for cards built around 3Dlabs Glint and
347 Permedia chipsets, including the Glint 500TX with IBM RGB526 RAMDAC,
348 the Glint MX with IBM RGB526 and IBM RGB640 RAMDAC, the Permedia with
349 IBM RGB526 RAMDAC, and the Permedia 2 (classic, 2a, 2v).
350
351 %description -l pl -n XFree86-3DLabs
352 XFree86-3DLabs jest X serwerem dla kart graficznych na uk³adach 3Dlabs
353 Glint lub Permedia, w tym Glint 500TX z RAMDAC IBM RGB526, Glint MX z
354 RAMDAC IBM RGB526 lub IBM RGB640, Permedia z RAMDAC IBM RGB526 oraz
355 Permedia 2 (classic, 2a, 2v).
356
357 %package -n XFree86-TGA
358 Summary:        X server for systems with Digital TGA boards based on DC21040 chips
359 Summary(pl):    X serwer dla systemów z kartami Digital TGA na uk³adach DC21040
360 Group:          X11/XFree86/Servers
361 Group(de):      X11/XFree86/Server
362 Group(pl):      X11/XFree86/Serwery
363 Provides:       Xserver
364 Requires:       %{name}-common = %{version}
365
366 %description -n XFree86-TGA
367 The XFree86-TGA package contains an 8-bit X server for Digital TGA
368 boards based on the DC21040 chip. These adapters are often used in
369 Alpha workstations and are included with Alpha UDB (Multia) machines.
370
371 %description -l pl -n XFree86-TGA
372 XFree86-TGA zawiea 8-bitowy X serwer dla kart Digital TGA opartych na
373 uk³adzie DC21040. Te karty s± czêsto u¿ywane na w stacjach roboczych
374 Alpha oraz maszynach Alpha UDB (Multia).
375
376 %package -n XFree86-FBDev
377 Summary:        The X server for the generic frame buffer device on some machines
378 Summary(pl):    X serwer dzia³aj±cy w oparciu o framebuffer
379 Group:          X11/XFree86/Servers
380 Group(de):      X11/XFree86/Server
381 Group(pl):      X11/XFree86/Serwery
382 Provides:       Xserver
383 Requires:       %{name}-common = %{version}
384
385 %description -n XFree86-FBDev
386 The XFree86-FBDev package contains an X server for the generic frame
387 buffer device. This X server is usually the only choice for SPARC
388 machines, but also has some special capabilities that make it useful
389 on Intel platforms, especially laptops.
390
391 First, this X server can be used as a generic driver for a chipset
392 that does not yet have an Open Source driver (note that it will be
393 un-accelerated). Secondly, this X server "speaks" VESA protocols, so
394 it will produce the exact timing needed by projection systems. This
395 feature is handy for using your laptop to display a presentation on a
396 projection system on the road. Your regular X server may or may not be
397 in sync with the projection system, but the FBDev X server will always
398 work. Thirdly, this X server can produce a larger display, at a higher
399 resolution, for consoles on laptops.
400
401 %description -l pl -n XFree86-FBDev
402 XFree86-FBDev zawiera X serwer oparty o framebuffer. Zazwyczaj jest
403 jedynym dla maszyn SPARC, ale ma te¿ mo¿liwo¶ci przydatne na
404 platformach intelowskich, zw³aszcza w laptopach.
405
406 Po pierwsze, ten X serwer mo¿e byæ u¿ywany dla kart, które nie maj±
407 jeszcze dedykowanego drivera (uwaga: ten serwer dzia³a bez
408 akceleracji). Po drugie, ten X serwer obs³uguje protoko³y VESA, wiêc
409 mo¿e dostosowaæ parametry wy¶wietlania do urz±dzenia, co jest
410 przydatne przy projekcjach. Po trzecie, ten X serwer mo¿e wy¶wietlaæ
411 wiêkszy obraz, z wiêksz± rozdzielczo¶ci± na laptopach.
412
413 %package -n XFree86-Sun
414 Summary:        X server for Suns with monochrome and 8-bit color SBUS framebuffers
415 Summary(pl):    X serwer dla Sunów z framebufferem SBUS mono lub kolorowym 8bpp
416 Group:          X11/XFree86/Servers
417 Group(de):      X11/XFree86/Server
418 Group(pl):      X11/XFree86/Serwery
419 Obsoletes:      X11R6.1-Sun
420 Provides:       Xserver
421 Requires:       %{name}-common = %{version}
422
423 %description -n XFree86-Sun
424 The XFree86-Sun package contains the X server for Sun computers with
425 monochrome and 8-bit color SBUS frame buffers (for example, the CG3
426 and CG6 frame buffers).
427
428 %description -l pl -n XFree86-Sun
429 XFree86-Sun zawiera X serwer dla komputerów Sun z framebufferem SBUS
430 monochromatycznym lub z 8-bitowym kolorem (np. CG3 lub CG6).
431
432 %package -n XFree86-SunMono
433 Summary:        X server for Sun computers with monochrome SBUS framebuffers only
434 Summary(pl):    X serwer dla Sunów z monochromatycznym framebufferem SBUS
435 Group:          X11/XFree86/Servers
436 Group(de):      X11/XFree86/Server
437 Group(pl):      X11/XFree86/Serwery
438 Obsoletes:      X11R6.1-SunMono
439 Provides:       Xserver
440 Requires:       %{name}-common = %{version}
441
442 %description -n XFree86-SunMono
443 The XFree86-SunMono package includes an X server for Sun computers
444 with monochrome SBUS frame buffers only.
445
446 %description -l pl -n XFree86-SunMono
447 XFree86-SunMono zawiera X serwer dla komputerów Sun z
448 monochromatycznym framebufferem SBUS.
449
450 %package -n XFree86-Sun24
451 Summary:        The X server for Suns with all supported SBUS framebuffers
452 Summary(pl):    X serwer dla Sunów z framebufferami SBUS.
453 Group:          X11/XFree86/Servers
454 Group(de):      X11/XFree86/Server
455 Group(pl):      X11/XFree86/Serwery
456 Obsoletes:      X11R6.1-Sun24
457 Provides:       Xserver
458 Requires:       %{name}-common = %{version}
459
460 %description -n XFree86-Sun24
461 The XFree86-Sun24 package contains the X server for Sun computers with
462 all supported SBUS frame buffers.
463
464 %description -l pl -n XFree86-Sun24
465 XFree86-Sun24 zawiera X serwer dla komputerów Sun z framebufferem
466 SBUS.
467
468 %prep
469 %setup -q -c -a1
470
471 # install xfsft
472 tar x -C xc/lib -f xfsft-1.1.6/libfont.tar
473 patch -p0 -s -d xc/lib < xfsft-1.1.6/libfont.patch
474  
475 %patch0 -p1
476 %patch1 -p1
477 %patch2 -p0
478 %patch3 -p1
479 # Fix Xconfigurator setup of Diamond SpeedStar A50
480 %patch4 -p1
481 # new cyrix driver seems wonky
482 %patch5 -p1
483 # turn off accel for sis6326 cards
484 %patch6 -p1
485 %ifarch alpha
486 %patch7 -p1
487 %endif
488 %ifarch sparc
489 # Sparc jumbo patch
490 %patch8 -p1
491 %endif
492 # enable i810 driver in 3.3.6; switch agpgart to X 4.0-style
493 %patch9 -p1
494 # fix memory detection on Cirrus 5480 series chips
495 %patch10 -p1
496 # fix rage mobility chipset (IBM ThinkPads)
497 %patch11 -p1
498 # 2000, not 1999!
499 %patch12 -p1
500 # probe SVGA cards in different order to avoid lockups
501 %patch13 -p1
502 # more minor MediaGX tweaks
503 %patch14 -p1
504 # fix bug in security extension (listens on port 6000)
505 %patch15 -p1
506 # fix stack overrun in xkb startup code
507 %patch16 -p1
508 # fix S3 trio3d issues
509 %patch17 -p0
510 %patch18 -p0
511 # make things compile with glibc 2.2
512 %patch19 -p0
513 # make alpha build with gcc 2.96
514 %patch20 -p0
515 # Only build X servers
516 %patch21 -p0
517 # fix cfb linking
518 %patch22 -p1
519 %patch23 -p1
520
521 # Fix the header file for makedepend.
522 cd xc/config/imake
523 mkdir X11
524 ln -sf ../../include/Xosdefs.h X11
525
526 %build
527 %ifarch alpha
528 %{__make} World -C xc BOOTSTRAPCFLAGS="%{rpmcflags} -Wa,-m21164a" \
529         CDEBUGFLAGS="%{rpmcflags} -Wa,-m21164a"
530 %else
531 %{__make} World -C xc BOOTSTRAPCFLAGS="%{rpmcflags} -pipe" \
532         CDEBUGFLAGS="%{rpmcflags} -pipe"
533 %endif
534
535 # XXX: applies to gcc "2.96" only??? needs testing with 2.95*... -- qboosh
536 # There are apparently bugs in -m486. Grrrrrrrrrrrrrrr.
537 #%ifarch %{ix86}
538 #%if %{?debug:0}%{!?debug:1}
539 #(
540 #  cd xc/programs/Xserver/hw/xfree86/accel/i128/
541 #  rm -f i128.o libi128.a
542 #  %{__make} i128.o CDEBUGFLAGS="-O2 -pipe"
543 #  cd ../../../..
544 #  %{__make} CDEBUGFLAGS="$RPM_OPT_FLAGS -pipe"
545 #)
546 #%endif
547 #%endif
548
549 %install
550 rm -rf $RPM_BUILD_ROOT
551
552 install -d $RPM_BUILD_ROOT/etc/pam.d
553 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
554 install -d $RPM_BUILD_ROOT/etc/security/console.apps
555 touch $RPM_BUILD_ROOT/etc/security/console.apps/xserver
556 touch $RPM_BUILD_ROOT/etc/security/blacklist.xserver
557
558 install -d $RPM_BUILD_ROOT%{_includedir}
559
560 %{__make} DESTDIR=$RPM_BUILD_ROOT install install.man -C xc
561
562 # setup the default X server
563 rm -f $RPM_BUILD_ROOT%{_bindir}/X
564 ln -sf Xwrapper $RPM_BUILD_ROOT%{_bindir}/X
565
566 mv -f $RPM_BUILD_ROOT%{_mandir}/man5/XF86Config.5x \
567         $RPM_BUILD_ROOT%{_mandir}/man5/XF86Config-3.5x
568
569 gzip -9nf $RPM_BUILD_ROOT%{_libdir}/X11/doc/*
570
571 %clean
572 rm -rf $RPM_BUILD_ROOT
573
574 %files common
575 %defattr(644,root,root,755)
576 %attr(4755,root,root) %{_bindir}/Xwrapper
577 %attr(755,root,root) %{_bindir}/X
578 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/xserver
579 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.xserver
580 %config(missingok) /etc/security/console.apps/xserver
581 %{_mandir}/man5/XF86Config-3.5x*
582 %doc $RPM_BUILD_ROOT%{_libdir}/X11/XF86Config.eg
583 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/AccelCards*
584 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/Devices*
585 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/Monitors*
586 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/QuickStart.doc*
587 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.gz
588 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Config*
589 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.DGA*
590 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Linux*
591 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.mouse*
592 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/RELNOTES*
593 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/VideoModes.doc*
594 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/xinput*
595 %ifarch %{ix86} alpha
596 %attr(755,root,root) %{_libdir}/modules/*
597 %endif
598
599 %ifarch %{ix86} alpha
600 %files -n XFree86-SVGA
601 %defattr(644,root,root,755)
602 %attr(755,root,root) %{_bindir}/XF86_SVGA
603 %{_mandir}/man1/XF86_SVGA.1x*
604 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.MGA*
605 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.NVIDIA*
606 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Oak*
607 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.S3V*
608 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.SiS*
609 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Video7*
610 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.W32*
611 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.WstDig*
612 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.apm*
613 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.ark*
614 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.ati*
615 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.chips*
616 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cirrus*
617 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cyrix*
618 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.epson*
619 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.i740*
620 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.i810*
621 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.neo*
622 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.r128*
623 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.rendition*
624 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.trident*
625 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.tseng*
626 %endif
627
628 %ifarch %{ix86} sparc
629 %files -n XFree86-VGA16
630 %defattr(644,root,root,755)
631 %attr(755,root,root) %{_bindir}/XF86_VGA16
632 %{_mandir}/man1/XF86_VGA16.1x*
633 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cyrix*
634 %endif
635
636 %ifarch %{ix86}
637 %files -n XFree86-W32
638 %defattr(644,root,root,755)
639 %attr(755,root,root) %{_bindir}/XF86_W32
640 %{_mandir}/man1/XF86_W32.1x*
641 %{_mandir}/man1/XF86_Accel.1x*
642 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.W32*
643 %endif
644
645 %ifarch %{ix86} alpha
646 %files -n XFree86-Mono
647 %defattr(644,root,root,755)
648 %attr(755,root,root) %{_bindir}/XF86_Mono
649 %{_mandir}/man1/XF86_Mono.1x*
650 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cyrix*
651 %endif
652
653 %ifarch %{ix86} alpha
654 %files -n XFree86-S3
655 %defattr(644,root,root,755)
656 %attr(755,root,root) %{_bindir}/XF86_S3
657 %{_mandir}/man1/XF86_S3.1x*
658 %{_mandir}/man1/XF86_Accel.1x*
659 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.S3.gz
660 %endif
661
662 %ifarch %{ix86} alpha
663 %files -n XFree86-S3V
664 %defattr(644,root,root,755)
665 %attr(755,root,root) %{_bindir}/XF86_S3V
666 %{_mandir}/man1/XF86_S3.1x*
667 %{_mandir}/man1/XF86_Accel.1x*
668 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.S3V*
669 %endif
670
671 %ifarch %{ix86}
672 %files -n XFree86-8514
673 %defattr(644,root,root,755)
674 %attr(755,root,root) %{_bindir}/XF86_8514
675 %{_mandir}/man1/XF86_8514.1x*
676 %{_mandir}/man1/XF86_Accel.1x*
677 %endif
678
679 %ifarch %{ix86}
680 %files -n XFree86-Mach8
681 %defattr(644,root,root,755)
682 %attr(755,root,root) %{_bindir}/XF86_Mach8
683 %{_mandir}/man1/XF86_Mach8.1x*
684 %{_mandir}/man1/XF86_Accel.1x*
685 %endif
686
687 %ifarch %{ix86}
688 %files -n XFree86-Mach32
689 %defattr(644,root,root,755)
690 %attr(755,root,root) %{_bindir}/XF86_Mach32
691 %{_mandir}/man1/XF86_Mach32.1x*
692 %{_mandir}/man1/XF86_Accel.1x*
693 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Mach32*
694 %endif
695
696 %ifarch %{ix86} alpha sparc
697 %files -n XFree86-Mach64
698 %defattr(644,root,root,755)
699 %attr(755,root,root) %{_bindir}/XF86_Mach64
700 %{_mandir}/man1/XF86_Mach64.1x*
701 %{_mandir}/man1/XF86_Accel.1x*
702 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Mach64*
703 %endif
704
705 %ifarch %{ix86} alpha
706 %files -n XFree86-P9000
707 %defattr(644,root,root,755)
708 %attr(755,root,root) %{_bindir}/XF86_P9000
709 %{_mandir}/man1/XF86_P9000.1x*
710 %{_mandir}/man1/XF86_Accel.1x*
711 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.P9000*
712 %endif
713
714 %ifarch %{ix86}
715 %files -n XFree86-AGX
716 %defattr(644,root,root,755)
717 %attr(755,root,root) %{_bindir}/XF86_AGX
718 %{_mandir}/man1/XF86_AGX.1x*
719 %{_mandir}/man1/XF86_Accel.1x*
720 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.agx*
721 %endif
722
723 %ifarch %{ix86}
724 %files -n XFree86-I128
725 %defattr(644,root,root,755)
726 %attr(755,root,root) %{_bindir}/XF86_I128
727 %{_mandir}/man1/XF86_I128.1x*
728 %{_mandir}/man1/XF86_Accel.1x*
729 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.I128*
730 %endif
731
732 %ifarch %{ix86} alpha sparc
733 %files -n XFree86-3DLabs
734 %defattr(644,root,root,755)
735 %attr(755,root,root) %{_bindir}/XF86_3DLabs
736 %{_mandir}/man1/XF86_Accel.1x*
737 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.3DLabs*
738 %endif
739
740 %ifarch alpha
741 %files -n XFree86-TGA
742 %defattr(644,root,root,755)
743 %attr(755,root,root) %{_bindir}/XF86_TGA
744 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.DECtga*
745 %endif
746
747 %ifarch m68k armv4l
748 %files -n XFree86-FBDev
749 %defattr(644,root,root,755)
750 %attr(755,root,root) %{_bindir}/XF68_FBDev
751 %{_mandir}/man1/XF68_FBDev.1x*
752 %endif
753
754 %ifarch %{ix86} alpha sparc
755 %files -n XFree86-FBDev
756 %defattr(644,root,root,755)
757 %attr(755,root,root) %{_bindir}/XF86_FBDev
758 %endif
759
760 %ifarch sparc
761 %files -n XFree86-Sun
762 %defattr(644,root,root,755)
763 %attr(755,root,root) %{_bindir}/Xsun
764 %endif
765
766 %ifarch sparc
767 %files -n XFree86-SunMono
768 %defattr(644,root,root,755)
769 %attr(755,root,root) %{_bindir}/XsunMono
770 %endif
771
772 %ifarch sparc
773 %files -n XFree86-Sun24
774 %defattr(644,root,root,755)
775 %attr(755,root,root) %{_bindir}/Xsun24
776 %endif
This page took 0.367589 seconds and 3 git commands to generate.