]> git.pld-linux.org Git - packages/XFree86-Servers.git/blob - XFree86-Servers.spec
- spec adapterized.
[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         %{_prefix}/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 Imagine
118 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 S3
135 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. Uwaga: ten serwer
156 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
210 uk³adzie 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 Mach8
223 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
227 uk³adzie 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)
245 serwerem dla kart VGA. Dzia³a na prawie wszystkich kartach zgodnych z
246 VGA.
247
248 %package -n XFree86-P9000
249 Summary:        The XFree86 server for P9000 cards
250 Summary(pl):    Serwer dla kart na uk³adzie P9000
251 Group:          X11/XFree86/Servers
252 Group(de):      X11/XFree86/Server
253 Group(pl):      X11/XFree86/Serwery
254 Provides:       Xserver
255 Requires:       %{name}-common = %{version}
256
257 %description -n XFree86-P9000
258 XFree86-P9000 is the X server for video cards built around the Weitek
259 P9000 chip, such as most Diamond Viper cards and the Orchid P9000
260 card.
261
262 %description -l pl -n XFree86-P9000
263 XFree86-P9000 jest X serwerem dla kart graficznych opartych na
264 uk³adzie Weitek P9000, takich jak Diamon Viper i Orchid P9000.
265
266 %package -n XFree86-SVGA
267 Summary:        An XFree86 server for most simple framebuffer SVGA devices
268 Summary(pl):    Serwer dla wiêkszo¶ci prostych kart SVGA
269 Group:          X11/XFree86/Servers
270 Group(de):      X11/XFree86/Server
271 Group(pl):      X11/XFree86/Serwery
272 Provides:       Xserver
273 Requires:       %{name}-common = %{version}
274
275 %description -n XFree86-SVGA
276 An X server for most simple frame buffer SVGA devices, including cards
277 built from ET4000 chips, Cirrus Logic chips, Chips and Technologies
278 laptop chips, Trident 8900 and 9000 chips, and Matrox chips. It also
279 works for Diamond Speedstar, Orchid Kelvins, STB Nitros and Horizons,
280 Genoa 8500VL, most Actix boards, and the Spider VLB Plus. This X
281 server works for many other chips and cards, so try this server if you
282 are having problems.
283
284 %description -l pl -n XFree86-SVGA
285 X serwer dla wiêkszo¶ci prostych kart SVGA, w tym kart zbudowanych na
286 uk³adach ET4000, Cirrus Logic, Chips and Technologies, Trident 8900 i
287 9000, Matrox. Dzia³a tak¿e na kartach Diamond Speedstar, Orchid
288 Kelvin, STB Nitro i Horizon, Genoa 8500VL, Spider VLB Plus i
289 wiêkszo¶ci kart Actix.
290
291 %package -n XFree86-VGA16
292 Summary:        A generic XFree86 server for VGA16 boards
293 Summary(pl):    Serwer XFree86 dla kart VGA w trybie 4bpp
294 Group:          X11/XFree86/Servers
295 Group(de):      X11/XFree86/Server
296 Group(pl):      X11/XFree86/Serwery
297 Provides:       Xserver
298 Requires:       %{name}-common = %{version}
299
300 %description -n XFree86-VGA16
301 XFree86-VGA16 is a generic 16 color server for VGA boards.
302 XFree86-VGA16 will work on nearly all VGA style graphics boards, but
303 will only support a low resolution, 16 color display.
304
305 %description -l pl -n XFree86-VGA16
306 XFree86-VGA16 jest standardowych 16-kolorowym serwerem dla kart VGA.
307 Dzia³a na prawie wszystkich kartach zgodnych z VGA.
308
309 %package -n XFree86-W32
310 Summary:        The XFree86 server for video cards based on ET4000/W32 chips
311 Summary(pl):    Serwer XFree86 dla kart na uk³adzie ET4000/W32
312 Group:          X11/XFree86/Servers
313 Group(de):      X11/XFree86/Server
314 Group(pl):      X11/XFree86/Serwery
315 Provides:       Xserver
316 Requires:       %{name}-common = %{version}
317
318 %description -n XFree86-W32
319 XFree86-W32 is the X server for cards built around ET4000/W32 chips,
320 including the Genoa 8900 Phantom 32i, the Hercules Dynamite, the
321 LeadTek WinFast S200, the Sigma Concorde, the STB LightSpeed, the
322 TechWorks Thunderbolt, and the ViewTop PCI.
323
324 %description -l pl -n XFree86-W32
325 XFree86-W32 jest X serwerem dla kart opartych na uk³adach ET4000/W32,
326 w tym kart Genoa 8900 Phantom 32i, Hercules Dynamite, LeadTek WinFast
327 S200, Sigma Concorde, STB LightSpeed, TechWorks Thunderbolt, ViewTop
328 PCI.
329
330 %package -n XFree86-3DLabs 
331 Summary:        The XFree86 server for 3Dlabs video cards
332 Summary(pl):    Serwer XFree86 dla kart na uk³adzie 3Dlabs
333 Group:          X11/XFree86/Servers
334 Group(de):      X11/XFree86/Server
335 Group(pl):      X11/XFree86/Serwery
336 Provides:       Xserver
337 Requires:       %{name}-common = %{version}
338
339 %description -n XFree86-3DLabs
340 XFree86-3DLabs is the X server for cards built around 3Dlabs Glint and
341 Permedia chipsets, including the Glint 500TX with IBM RGB526 RAMDAC,
342 the Glint MX with IBM RGB526 and IBM RGB640 RAMDAC, the Permedia with
343 IBM RGB526 RAMDAC, and the Permedia 2 (classic, 2a, 2v).
344
345 %description -l pl -n XFree86-3DLabs
346 XFree86-3DLabs jest X serwerem dla kart graficznych na uk³adach 3Dlabs
347 Glint lub Permedia, w tym Glint 500TX z RAMDAC IBM RGB526, Glint MX z
348 RAMDAC IBM RGB526 lub IBM RGB640, Permedia z RAMDAC IBM RGB526 oraz
349 Permedia 2 (classic, 2a, 2v).
350
351 %package -n XFree86-TGA
352 Summary:        X server for systems with Digital TGA boards based on DC21040 chips
353 Summary(pl):    X serwer dla systemów z kartami Digital TGA na uk³adach DC21040
354 Group:          X11/XFree86/Servers
355 Group(de):      X11/XFree86/Server
356 Group(pl):      X11/XFree86/Serwery
357 Provides:       Xserver
358 Requires:       %{name}-common = %{version}
359
360 %description -n XFree86-TGA
361 The XFree86-TGA package contains an 8-bit X server for Digital TGA
362 boards based on the DC21040 chip. These adapters are often used in
363 Alpha workstations and are included with Alpha UDB (Multia) machines.
364
365 %description -l pl -n XFree86-TGA
366 XFree86-TGA zawiea 8-bitowy X serwer dla kart Digital TGA opartych na
367 uk³adzie DC21040. Te karty s± czêsto u¿ywane na w stacjach roboczych
368 Alpha oraz maszynach Alpha UDB (Multia).
369
370 %package -n XFree86-FBDev
371 Summary:        The X server for the generic frame buffer device on some machines
372 Summary(pl):    X serwer dzia³aj±cy w oparciu o framebuffer
373 Group:          X11/XFree86/Servers
374 Group(de):      X11/XFree86/Server
375 Group(pl):      X11/XFree86/Serwery
376 Provides:       Xserver
377 Requires:       %{name}-common = %{version}
378
379 %description -n XFree86-FBDev
380 The XFree86-FBDev package contains an X server for the generic frame
381 buffer device. This X server is usually the only choice for SPARC
382 machines, but also has some special capabilities that make it useful
383 on Intel platforms, especially laptops.
384
385 First, this X server can be used as a generic driver for a chipset
386 that does not yet have an Open Source driver (note that it will be
387 un-accelerated). Secondly, this X server "speaks" VESA protocols, so
388 it will produce the exact timing needed by projection systems. This
389 feature is handy for using your laptop to display a presentation on a
390 projection system on the road. Your regular X server may or may not be
391 in sync with the projection system, but the FBDev X server will always
392 work. Thirdly, this X server can produce a larger display, at a higher
393 resolution, for consoles on laptops.
394
395 %description -l pl -n XFree86-FBDev
396 XFree86-FBDev zawiera X serwer oparty o framebuffer. Zazwyczaj jest
397 jedynym dla maszyn SPARC, ale ma te¿ mo¿liwo¶ci przydatne na
398 platformach intelowskich, zw³aszcza w laptopach.
399
400 Po pierwsze, ten X serwer mo¿e byæ u¿ywany dla kart, które nie maj±
401 jeszcze dedykowanego drivera (uwaga: ten serwer dzia³a bez
402 akceleracji). Po drugie, ten X serwer obs³uguje protoko³y VESA, wiêc
403 mo¿e dostosowaæ parametry wy¶wietlania do urz±dzenia, co jest
404 przydatne przy projekcjach. Po trzecie, ten X serwer mo¿e wy¶wietlaæ
405 wiêkszy obraz, z wiêksz± rozdzielczo¶ci± na laptopach.
406
407 %package -n XFree86-Sun
408 Summary:        X server for Suns with monochrome and 8-bit color SBUS framebuffers
409 Summary(pl):    X serwer dla Sunów z framebufferem SBUS mono lub kolorowym 8bpp
410 Group:          X11/XFree86/Servers
411 Group(de):      X11/XFree86/Server
412 Group(pl):      X11/XFree86/Serwery
413 Obsoletes:      X11R6.1-Sun
414 Provides:       Xserver
415 Requires:       %{name}-common = %{version}
416
417 %description -n XFree86-Sun
418 The XFree86-Sun package contains the X server for Sun computers with
419 monochrome and 8-bit color SBUS frame buffers (for example, the CG3
420 and CG6 frame buffers).
421
422 %description -l pl -n XFree86-Sun
423 XFree86-Sun zawiera X serwer dla komputerów Sun z framebufferem SBUS
424 monochromatycznym lub z 8-bitowym kolorem (np. CG3 lub CG6).
425
426 %package -n XFree86-SunMono
427 Summary:        X server for Sun computers with monochrome SBUS framebuffers only
428 Summary(pl):    X serwer dla Sunów z monochromatycznym framebufferem SBUS
429 Group:          X11/XFree86/Servers
430 Group(de):      X11/XFree86/Server
431 Group(pl):      X11/XFree86/Serwery
432 Obsoletes:      X11R6.1-SunMono
433 Provides:       Xserver
434 Requires:       %{name}-common = %{version}
435
436 %description -n XFree86-SunMono
437 The XFree86-SunMono package includes an X server for Sun computers
438 with monochrome SBUS frame buffers only.
439
440 %description -l pl -n XFree86-SunMono
441 XFree86-SunMono zawiera X serwer dla komputerów Sun z
442 monochromatycznym framebufferem SBUS.
443
444 %package -n XFree86-Sun24
445 Summary:        The X server for Suns with all supported SBUS framebuffers
446 Summary(pl):    X serwer dla Sunów z framebufferami SBUS.
447 Group:          X11/XFree86/Servers
448 Group(de):      X11/XFree86/Server
449 Group(pl):      X11/XFree86/Serwery
450 Obsoletes:      X11R6.1-Sun24
451 Provides:       Xserver
452 Requires:       %{name}-common = %{version}
453
454 %description -n XFree86-Sun24
455 The XFree86-Sun24 package contains the X server for Sun computers with
456 all supported SBUS frame buffers.
457
458 %description -l pl -n XFree86-Sun24
459 XFree86-Sun24 zawiera X serwer dla komputerów Sun z framebufferem
460 SBUS.
461
462 %prep
463 %setup -q -c -a1
464
465 # install xfsft
466 tar x -C xc/lib -f xfsft-1.1.6/libfont.tar
467 patch -p0 -s -d xc/lib < xfsft-1.1.6/libfont.patch
468  
469 %patch0 -p1
470 %patch1 -p1
471 %patch2 -p0
472 %patch3 -p1
473 # Fix Xconfigurator setup of Diamond SpeedStar A50
474 %patch4 -p1
475 # new cyrix driver seems wonky
476 %patch5 -p1
477 # turn off accel for sis6326 cards
478 %patch6 -p1
479 %ifarch alpha
480 %patch7 -p1
481 %endif
482 %ifarch sparc
483 # Sparc jumbo patch
484 %patch8 -p1
485 %endif
486 # enable i810 driver in 3.3.6; switch agpgart to X 4.0-style
487 %patch9 -p1
488 # fix memory detection on Cirrus 5480 series chips
489 %patch10 -p1
490 # fix rage mobility chipset (IBM ThinkPads)
491 %patch11 -p1
492 # 2000, not 1999!
493 %patch12 -p1
494 # probe SVGA cards in different order to avoid lockups
495 %patch13 -p1
496 # more minor MediaGX tweaks
497 %patch14 -p1
498 # fix bug in security extension (listens on port 6000)
499 %patch15 -p1
500 # fix stack overrun in xkb startup code
501 %patch16 -p1
502 # fix S3 trio3d issues
503 %patch17 -p0
504 %patch18 -p0
505 # make things compile with glibc 2.2
506 %patch19 -p0
507 # make alpha build with gcc 2.96
508 %patch20 -p0
509 # Only build X servers
510 %patch21 -p0
511 # fix cfb linking
512 %patch22 -p1
513 %patch23 -p1
514
515 # Fix the header file for makedepend.
516 cd xc/config/imake
517 mkdir X11
518 ln -sf ../../include/Xosdefs.h X11
519
520 %build
521 %ifarch alpha
522 %{__make} World -C xc BOOTSTRAPCFLAGS="%{rpmcflags} -Wa,-m21164a" \
523         CDEBUGFLAGS="%{rpmcflags} -Wa,-m21164a"
524 %else
525 %{__make} World -C xc BOOTSTRAPCFLAGS="%{rpmcflags} -pipe" \
526         CDEBUGFLAGS="%{rpmcflags} -pipe"
527 %endif
528
529 # XXX: applies to gcc "2.96" only??? needs testing with 2.95*... -- qboosh
530 # There are apparently bugs in -m486. Grrrrrrrrrrrrrrr.
531 #%ifarch %{ix86}
532 #%if %{?debug:0}%{!?debug:1}
533 #(
534 #  cd xc/programs/Xserver/hw/xfree86/accel/i128/
535 #  rm -f i128.o libi128.a
536 #  %{__make} i128.o CDEBUGFLAGS="-O2 -pipe"
537 #  cd ../../../..
538 #  %{__make} CDEBUGFLAGS="$RPM_OPT_FLAGS -pipe"
539 #)
540 #%endif
541 #%endif
542
543 %install
544 rm -rf $RPM_BUILD_ROOT
545
546 install -d $RPM_BUILD_ROOT/etc/pam.d
547 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
548 install -d $RPM_BUILD_ROOT/etc/security/console.apps
549 touch $RPM_BUILD_ROOT/etc/security/console.apps/xserver
550 touch $RPM_BUILD_ROOT/etc/security/blacklist.xserver
551
552 install -d $RPM_BUILD_ROOT%{_includedir}
553
554 %{__make} DESTDIR=$RPM_BUILD_ROOT install install.man -C xc
555
556 # setup the default X server
557 rm -f $RPM_BUILD_ROOT%{_bindir}/X
558 ln -sf Xwrapper $RPM_BUILD_ROOT%{_bindir}/X
559
560 mv -f $RPM_BUILD_ROOT%{_mandir}/man5/XF86Config.5x \
561         $RPM_BUILD_ROOT%{_mandir}/man5/XF86Config-3.5x
562
563 gzip -9nf $RPM_BUILD_ROOT%{_libdir}/X11/doc/*
564
565 %clean
566 rm -rf $RPM_BUILD_ROOT
567
568 %files common
569 %defattr(644,root,root,755)
570 %attr(4755,root,root) %{_bindir}/Xwrapper
571 %attr(755,root,root) %{_bindir}/X
572 %attr(640,root,root) %config %verify(not size mtime md5) /etc/pam.d/xserver
573 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.xserver
574 %config(missingok) /etc/security/console.apps/xserver
575 %{_mandir}/man5/XF86Config-3.5x*
576 %doc $RPM_BUILD_ROOT%{_libdir}/X11/XF86Config.eg
577 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/AccelCards*
578 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/Devices*
579 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/Monitors*
580 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/QuickStart.doc*
581 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.gz
582 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Config*
583 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.DGA*
584 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Linux*
585 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.mouse*
586 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/RELNOTES*
587 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/VideoModes.doc*
588 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/xinput*
589 %ifarch %{ix86} alpha
590 %attr(755,root,root) %{_libdir}/modules/*
591 %endif
592
593 %ifarch %{ix86} alpha
594 %files -n XFree86-SVGA
595 %defattr(644,root,root,755)
596 %attr(755,root,root) %{_bindir}/XF86_SVGA
597 %{_mandir}/man1/XF86_SVGA.1x*
598 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.MGA*
599 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.NVIDIA*
600 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Oak*
601 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.S3V*
602 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.SiS*
603 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Video7*
604 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.W32*
605 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.WstDig*
606 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.apm*
607 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.ark*
608 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.ati*
609 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.chips*
610 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cirrus*
611 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cyrix*
612 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.epson*
613 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.i740*
614 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.i810*
615 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.neo*
616 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.r128*
617 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.rendition*
618 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.trident*
619 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.tseng*
620 %endif
621
622 %ifarch %{ix86} sparc
623 %files -n XFree86-VGA16
624 %defattr(644,root,root,755)
625 %attr(755,root,root) %{_bindir}/XF86_VGA16
626 %{_mandir}/man1/XF86_VGA16.1x*
627 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cyrix*
628 %endif
629
630 %ifarch %{ix86}
631 %files -n XFree86-W32
632 %defattr(644,root,root,755)
633 %attr(755,root,root) %{_bindir}/XF86_W32
634 %{_mandir}/man1/XF86_W32.1x*
635 %{_mandir}/man1/XF86_Accel.1x*
636 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.W32*
637 %endif
638
639 %ifarch %{ix86} alpha
640 %files -n XFree86-Mono
641 %defattr(644,root,root,755)
642 %attr(755,root,root) %{_bindir}/XF86_Mono
643 %{_mandir}/man1/XF86_Mono.1x*
644 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.cyrix*
645 %endif
646
647 %ifarch %{ix86} alpha
648 %files -n XFree86-S3
649 %defattr(644,root,root,755)
650 %attr(755,root,root) %{_bindir}/XF86_S3
651 %{_mandir}/man1/XF86_S3.1x*
652 %{_mandir}/man1/XF86_Accel.1x*
653 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.S3.gz
654 %endif
655
656 %ifarch %{ix86} alpha
657 %files -n XFree86-S3V
658 %defattr(644,root,root,755)
659 %attr(755,root,root) %{_bindir}/XF86_S3V
660 %{_mandir}/man1/XF86_S3.1x*
661 %{_mandir}/man1/XF86_Accel.1x*
662 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.S3V*
663 %endif
664
665 %ifarch %{ix86}
666 %files -n XFree86-8514
667 %defattr(644,root,root,755)
668 %attr(755,root,root) %{_bindir}/XF86_8514
669 %{_mandir}/man1/XF86_8514.1x*
670 %{_mandir}/man1/XF86_Accel.1x*
671 %endif
672
673 %ifarch %{ix86}
674 %files -n XFree86-Mach8
675 %defattr(644,root,root,755)
676 %attr(755,root,root) %{_bindir}/XF86_Mach8
677 %{_mandir}/man1/XF86_Mach8.1x*
678 %{_mandir}/man1/XF86_Accel.1x*
679 %endif
680
681 %ifarch %{ix86}
682 %files -n XFree86-Mach32
683 %defattr(644,root,root,755)
684 %attr(755,root,root) %{_bindir}/XF86_Mach32
685 %{_mandir}/man1/XF86_Mach32.1x*
686 %{_mandir}/man1/XF86_Accel.1x*
687 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Mach32*
688 %endif
689
690 %ifarch %{ix86} alpha sparc
691 %files -n XFree86-Mach64
692 %defattr(644,root,root,755)
693 %attr(755,root,root) %{_bindir}/XF86_Mach64
694 %{_mandir}/man1/XF86_Mach64.1x*
695 %{_mandir}/man1/XF86_Accel.1x*
696 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.Mach64*
697 %endif
698
699 %ifarch %{ix86} alpha
700 %files -n XFree86-P9000
701 %defattr(644,root,root,755)
702 %attr(755,root,root) %{_bindir}/XF86_P9000
703 %{_mandir}/man1/XF86_P9000.1x*
704 %{_mandir}/man1/XF86_Accel.1x*
705 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.P9000*
706 %endif
707
708 %ifarch %{ix86}
709 %files -n XFree86-AGX
710 %defattr(644,root,root,755)
711 %attr(755,root,root) %{_bindir}/XF86_AGX
712 %{_mandir}/man1/XF86_AGX.1x*
713 %{_mandir}/man1/XF86_Accel.1x*
714 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.agx*
715 %endif
716
717 %ifarch %{ix86}
718 %files -n XFree86-I128
719 %defattr(644,root,root,755)
720 %attr(755,root,root) %{_bindir}/XF86_I128
721 %{_mandir}/man1/XF86_I128.1x*
722 %{_mandir}/man1/XF86_Accel.1x*
723 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.I128*
724 %endif
725
726 %ifarch %{ix86} alpha sparc
727 %files -n XFree86-3DLabs
728 %defattr(644,root,root,755)
729 %attr(755,root,root) %{_bindir}/XF86_3DLabs
730 %{_mandir}/man1/XF86_Accel.1x*
731 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.3DLabs*
732 %endif
733
734 %ifarch alpha
735 %files -n XFree86-TGA
736 %defattr(644,root,root,755)
737 %attr(755,root,root) %{_bindir}/XF86_TGA
738 %doc $RPM_BUILD_ROOT%{_libdir}/X11/doc/README.DECtga*
739 %endif
740
741 %ifarch m68k armv4l
742 %files -n XFree86-FBDev
743 %defattr(644,root,root,755)
744 %attr(755,root,root) %{_bindir}/XF68_FBDev
745 %{_mandir}/man1/XF68_FBDev.1x*
746 %endif
747
748 %ifarch %{ix86} alpha sparc
749 %files -n XFree86-FBDev
750 %defattr(644,root,root,755)
751 %attr(755,root,root) %{_bindir}/XF86_FBDev
752 %endif
753
754 %ifarch sparc
755 %files -n XFree86-Sun
756 %defattr(644,root,root,755)
757 %attr(755,root,root) %{_bindir}/Xsun
758 %endif
759
760 %ifarch sparc
761 %files -n XFree86-SunMono
762 %defattr(644,root,root,755)
763 %attr(755,root,root) %{_bindir}/XsunMono
764 %endif
765
766 %ifarch sparc
767 %files -n XFree86-Sun24
768 %defattr(644,root,root,755)
769 %attr(755,root,root) %{_bindir}/Xsun24
770 %endif
This page took 0.124154 seconds and 3 git commands to generate.