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