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