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