]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blob - xorg-xserver-server.spec
- up to 1.0.2 (fixes CVE-2006-0745)
[packages/xorg-xserver-server.git] / xorg-xserver-server.spec
1 Summary:        X.org server
2 Summary(pl):    Serwer X.org
3 Name:           xorg-xserver-server
4 Version:        1.0.2
5 Release:        0.1
6 License:        MIT
7 Group:          X11/Servers
8 Source0:        http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
9 # Source0-md5:  5cd3316f07ed32a05cbd69e73a71bc74
10 Source1:        http://dl.sourceforge.net/mesa3d/MesaLib-6.4.2.tar.bz2
11 # Source1-md5:  7674d2c603b5834259e4e5a820cefd5b
12 Source2:        xserver.pamd
13 Patch0:         %{name}-ncurses.patch
14 Patch1:         %{name}-symlinks.patch
15 Patch2:         %{name}-xwrapper.patch
16 Patch3:         %{name}-compositefastpath.patch
17 Patch4:         Mesa-glx-x11-render-texture.diff
18 Patch5:         %{name}-tun.patch
19 URL:            http://xorg.freedesktop.org/
20 # for glx headers
21 BuildRequires:  Mesa-libGL-devel
22 BuildRequires:  autoconf >= 2.57
23 BuildRequires:  automake
24 BuildRequires:  cpp
25 BuildRequires:  libdrm-devel
26 BuildRequires:  libtool
27 BuildRequires:  ncurses-devel
28 BuildRequires:  pam-devel
29 BuildRequires:  perl-base
30 BuildRequires:  pkgconfig >= 1:0.19
31 BuildRequires:  xorg-app-mkfontscale
32 BuildRequires:  xorg-lib-libX11-devel
33 BuildRequires:  xorg-lib-libXau-devel
34 BuildRequires:  xorg-lib-libXaw-devel
35 BuildRequires:  xorg-lib-libXdmcp-devel
36 BuildRequires:  xorg-lib-libXext-devel
37 BuildRequires:  xorg-lib-libXfont-devel
38 BuildRequires:  xorg-lib-libXi-devel
39 BuildRequires:  xorg-lib-libXrender-devel
40 BuildRequires:  xorg-lib-libXres-devel
41 BuildRequires:  xorg-lib-libXt-devel >= 1.0.0
42 BuildRequires:  xorg-lib-libXtst-devel
43 BuildRequires:  xorg-lib-libXxf86dga-devel
44 BuildRequires:  xorg-lib-libXxf86misc-devel
45 BuildRequires:  xorg-lib-libXxf86vm-devel
46 BuildRequires:  xorg-lib-libdmx-devel
47 BuildRequires:  xorg-lib-libfontenc-devel
48 BuildRequires:  xorg-lib-liblbxutil-devel
49 BuildRequires:  xorg-lib-libxkbfile-devel
50 BuildRequires:  xorg-lib-libxkbui-devel
51 BuildRequires:  xorg-lib-xtrans-devel
52 BuildRequires:  xorg-proto-bigreqsproto-devel
53 BuildRequires:  xorg-proto-compositeproto-devel
54 BuildRequires:  xorg-proto-damageproto-devel
55 BuildRequires:  xorg-proto-dmxproto-devel
56 BuildRequires:  xorg-proto-evieext-devel
57 BuildRequires:  xorg-proto-fixesproto-devel
58 BuildRequires:  xorg-proto-fontsproto-devel
59 BuildRequires:  xorg-proto-glproto-devel >= 1.4.1
60 BuildRequires:  xorg-proto-printproto-devel
61 BuildRequires:  xorg-proto-randrproto-devel
62 BuildRequires:  xorg-proto-recordproto-devel
63 BuildRequires:  xorg-proto-renderproto-devel
64 BuildRequires:  xorg-proto-resourceproto-devel
65 BuildRequires:  xorg-proto-scrnsaverproto-devel
66 BuildRequires:  xorg-proto-trapproto-devel
67 BuildRequires:  xorg-proto-videoproto-devel
68 BuildRequires:  xorg-proto-xcmiscproto-devel
69 BuildRequires:  xorg-proto-xextproto-devel
70 BuildRequires:  xorg-proto-xf86bigfontproto-devel
71 BuildRequires:  xorg-proto-xf86dgaproto-devel
72 BuildRequires:  xorg-proto-xf86driproto-devel
73 BuildRequires:  xorg-proto-xf86miscproto-devel
74 BuildRequires:  xorg-proto-xf86vidmodeproto-devel
75 BuildRequires:  xorg-proto-xineramaproto-devel
76 BuildRequires:  xorg-proto-xproto-devel
77 BuildRequires:  xorg-util-util-macros >= 0.99.2
78 # for rgb.txt
79 Requires:       xorg-app-rgb >= 0.99.3
80 Requires:       xorg-app-xkbcomp
81 # just for %{_includedir}/bitmaps dir
82 Requires:       xorg-data-xbitmaps
83 Requires:       xorg-data-xkbdata
84 # xserver requires default fixed and cursosr fonts.
85 Requires:       xorg-font-font-alias
86 Requires:       xorg-font-font-cursor-misc
87 Requires:       xorg-font-font-misc-misc-base >= 1.0.0-0.3
88 # for new app-defaults location
89 Requires:       xorg-lib-libXt >= 1.0.0
90 Obsoletes:      X11-Xserver
91 Obsoletes:      X11-modules
92 Obsoletes:      XFree86-Xserver
93 Obsoletes:      XFree86-modules
94 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
95
96 %description
97 Xorg server is a generally used X server which uses display hardware.
98 It requires proper driver for your display hardware.
99
100 %description -l pl
101 Serwer Xorg to podstawowy serwer X wy¶wietlaj±cy obraz na karcie
102 graficznej. Do dzia³ania wymaga odpowiedniego sterownika.
103
104 %package -n xorg-xserver-Xdmx
105 Summary:        Xdmx - distributed multi-head X server
106 Summary(pl):    Xdmx - rozproszony, wielomonitorowy serwer X
107 Group:          X11/Servers
108
109 %description -n xorg-xserver-Xdmx
110 Xdmx - distributed multi-head X server.
111
112 %description -n xorg-xserver-Xdmx -l pl
113 Xdmx - rozproszony, wielomonitorowy serwer X.
114
115 %package -n xorg-xserver-Xnest
116 Summary:        Xnest - nested X server
117 Summary(pl):    Xnest - zagnie¿d¿ony serwer X
118 Group:          X11/Servers
119 Obsoletes:      X11-Xnest
120 Obsoletes:      XFree86-Xnest
121
122 %description -n xorg-xserver-Xnest
123 Xnest is an X Window System server which runs in an X window. Xnest is
124 a 'nested' window server, actually a client of the real X server,
125 which manages windows and graphics requests for Xnest, while Xnest
126 manages the windows and graphics requests for its own clients.
127
128 %description -n xorg-xserver-Xnest -l pl
129 Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
130 zachowuje siê jak klient X w stosunku do prawdziwego serwera X, a jak
131 serwer X dla w³asnych klientów.
132
133 %description -n xorg-xserver-Xnest -l ru
134 Xnest - ÜÔÏ ÓÅÒ×ÅÒ X Window System, ËÏÔÏÒÙÊ ÒÁÂÏÔÁÅÔ × ÏËÎÅ X. îÁ
135 ÓÁÍÏÍ ÄÅÌÅ ÜÔÏ ËÌÉÅÎÔ ÒÅÁÌØÎÏÇÏ X-ÓÅÒ×ÅÒÁ, ËÏÔÏÒÙÊ ÕÐÒÁ×ÌÑÅÔ ÏËÎÁÍÉ É
136 ÇÒÁÆÉÞÅÓËÉÍÉ ÚÁÐÒÏÓÁÍÉ ÄÌÑ Xnest × ÔÏ ×ÒÅÍÑ, ËÁË Xnest ÕÐÒÁ×ÌÑÅÔ
137 ÏËÎÁÍÉ É ÇÒÁÆÉÞÅÓËÉÍÉ ÚÁÐÒÏÓÁÍÉ ÄÌÑ Ó×ÏÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ËÌÉÅÎÔÏ×.
138
139 %description -n xorg-xserver-Xnest -l uk
140 Xnest - ÃÅ ÓÅÒ×ÅÒ X Window System, ÑËÉÊ ÐÒÁÃÀ¤ Õ ×¦ËΦ X. æÁËÔÉÞÎÏ ÃÅ
141 Ë̦¤ÎÔ ÒÅÁÌØÎÏÇÏ X-ÓÅÒ×ÅÒÁ, ÑËÉÊ ËÅÒÕ¤ ×¦ËÎÁÍÉ ÔÁ ÇÒÁƦÞÎÉÍÉ ÚÁÐÉÔÁÍÉ
142 ÄÌÑ Xnest × ÔÏÊ ÞÁÓ, ÑË Xnest ËÅÒÕ¤ ×¦ËÎÁÍÉ ÔÁ ÇÒÁƦÞÎÉÍÉ ÚÁÐÉÔÁÍÉ ÄÌÑ
143 Ó×ϧȠ×ÌÁÓÎÉÈ Ë̦¤ÎÔ¦×.
144
145 %package -n xorg-xserver-Xprt
146 Summary:        Xprt - Xprint server for X
147 Summary(pl):    Xprt - serwer Xprint dla X
148 Group:          X11/Servers
149 Obsoletes:      X11-Xprt
150 Obsoletes:      XFree86-Xprt
151
152 %description -n xorg-xserver-Xprt
153 Xprt is the Xprint print server for X Window System for non display
154 devices such as printers and fax machines.
155
156 %description -n xorg-xserver-Xprt -l pl
157 Xprt to serwer wydruków Xprint dla X Window System dla urz±dzeñ nie
158 wy¶wietlaj±cych, takich jak drukarki czy faksy.
159
160 %package -n xorg-xserver-Xvfb
161 Summary:        Xvfb - virtual framebuffer X server
162 Summary(pl):    Xvfb - serwer X z wirtualnym framebufferem
163 Group:          X11/Servers
164 Obsoletes:      X11-Xvfb
165 Obsoletes:      XFree86-Xvfb
166
167 %description -n xorg-xserver-Xvfb
168 Xvfb (X Virtual Frame Buffer) is an X Window System server that is
169 capable of running on machines with no display hardware and no
170 physical input devices. Xvfb emulates a dumb framebuffer using virtual
171 memory. Xvfb doesn't open any devices, but behaves otherwise as an X
172 display. Xvfb is normally used for testing servers. Using Xvfb, the
173 mfb or cfb code for any depth can be exercised without using real
174 hardware that supports the desired depths. Xvfb has also been used to
175 test X clients against unusual depths and screen configurations, to do
176 batch processing with Xvfb as a background rendering engine, to do
177 load testing, to help with porting an X server to a new platform, and
178 to provide an unobtrusive way of running applications which really
179 don't need an X server but insist on having one.
180
181 %description -n xorg-xserver-Xvfb -l pl
182 Xvfb (X Virtual Frame Buffer) jest serwerem X, który mo¿na uruchamiaæ
183 na maszynach bez urz±dzeñ wy¶wietlaj±cych ani fizycznych urz±dzeñ
184 wej¶ciowych. Xvfb emuluje prosty framebuffer w pamiêci. Zwykle jest
185 u¿ywany do testowania serwerów X, mo¿e te¿ byæ u¿ywany do testowania
186 klientów X w rzadko u¿ywanych konfiguracjach ekranu. Mo¿na te¿ u¿yæ
187 Xvfb do uruchomienia aplikacji, które w rzeczywisto¶ci nie wymagaj±
188 serwera X, ale odmawiaj± uruchomienia bez niego.
189
190 %package devel
191 Summary:        Header files for X.org server
192 Summary(pl):    Pliki nag³ówkowe dla servera X.org
193 Group:          X11/Development/Libraries
194 Requires:       libdrm-devel
195 Requires:       xorg-proto-fontsproto-devel
196 Requires:       xorg-proto-renderproto-devel
197 Requires:       xorg-proto-videoproto-devel
198 Requires:       xorg-proto-xextproto-devel
199 Obsoletes:      X11-Xserver-devel
200 Obsoletes:      X11-XFree86-devel
201
202 %description devel
203 Header files for X.org server.
204
205 %description devel -l pl
206 Pliki nag³ówkowe dla serwera X.org.
207
208 %prep
209 %setup -q -a1 -n xorg-server-%{version}
210 %patch0 -p1
211 %patch1 -p1
212 %patch2 -p0
213 %patch3 -p0
214 cd Mesa-6.4.2
215 %patch4 -p0
216 cd ..
217 %patch5 -p1
218
219 %build
220 %{__libtoolize}
221 %{__aclocal}
222 %{__autoconf}
223 %{__autoheader}
224 %{__automake}
225 %configure \
226         --enable-dga \
227         --enable-builddocs \
228         --enable-lbx \
229         --enable-xevie \
230         --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
231         --with-mesa-source="`pwd`/Mesa-6.4.2"
232
233 %{__make}
234
235 %install
236 rm -rf $RPM_BUILD_ROOT
237
238 %{__make} install \
239         DESTDIR=$RPM_BUILD_ROOT
240
241 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
242 install -d $RPM_BUILD_ROOT/etc/security/console.apps
243 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
244 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
245
246 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
247
248 %clean
249 rm -rf $RPM_BUILD_ROOT
250
251 %files
252 %defattr(644,root,root,755)
253 %doc COPYING ChangeLog
254 %attr(755,root,root) %{_bindir}/X
255 %attr(755,root,root) %{_bindir}/Xorg
256 %attr(4755,root,root) %{_bindir}/Xwrapper
257 %attr(755,root,root) %{_bindir}/getconfig
258 %attr(755,root,root) %{_bindir}/getconfig.pl
259 %attr(755,root,root) %{_bindir}/gtf
260 %attr(755,root,root) %{_bindir}/in[bwl]
261 %attr(755,root,root) %{_bindir}/ioport
262 %attr(755,root,root) %{_bindir}/out[bwl]
263 %attr(755,root,root) %{_bindir}/pcitweak
264 %attr(755,root,root) %{_bindir}/scanpci
265 %attr(755,root,root) %{_bindir}/xorgcfg
266 %attr(755,root,root) %{_bindir}/xorgconfig
267 %{_includedir}/X11/bitmaps/*
268 %{_includedir}/X11/pixmaps
269 %{_libdir}/X11/Cards
270 %{_libdir}/X11/Options
271 %{_libdir}/X11/getconfig
272 %dir %{_libdir}/xorg
273 %dir %{_libdir}/xorg/modules
274 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
275 %dir %{_libdir}/xorg/modules/extensions
276 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
277 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
278 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
279 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
280 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
281 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
282 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
283 %dir %{_libdir}/xorg/modules/fonts
284 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
285 %dir %{_libdir}/xorg/modules/linux
286 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
287 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
288 %dir %{_libdir}/xorg/modules/multimedia
289 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
290 %dir %{_libdir}/xserver
291 %{_libdir}/xserver/SecurityPolicy
292 %{_datadir}/X11/app-defaults/XOrgCfg
293 %{_datadir}/X11/xkb/compiled
294 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
295 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
296 %config(missingok) /etc/security/console.apps/xserver
297 %{_mandir}/man1/Xorg.1x*
298 %{_mandir}/man1/Xserver.1x*
299 %{_mandir}/man1/getconfig.1x*
300 %{_mandir}/man1/gtf.1x*
301 %{_mandir}/man1/pcitweak.1x*
302 %{_mandir}/man1/scanpci.1x*
303 %{_mandir}/man1/xorgcfg.1x*
304 %{_mandir}/man1/xorgconfig.1*
305 %{_mandir}/man4/fbdevhw.4*
306 %{_mandir}/man5/getconfig.5x*
307 %{_mandir}/man5/xorg.conf.5x*
308
309 %files -n xorg-xserver-Xdmx
310 %defattr(644,root,root,755)
311 %attr(755,root,root) %{_bindir}/Xdmx
312 %attr(755,root,root) %{_bindir}/dmxaddinput
313 %attr(755,root,root) %{_bindir}/dmxaddscreen
314 %attr(755,root,root) %{_bindir}/dmxreconfig
315 %attr(755,root,root) %{_bindir}/dmxresize
316 %attr(755,root,root) %{_bindir}/dmxrminput
317 %attr(755,root,root) %{_bindir}/dmxrmscreen
318 %attr(755,root,root) %{_bindir}/dmxtodmx
319 %attr(755,root,root) %{_bindir}/dmxwininfo
320 %attr(755,root,root) %{_bindir}/vdltodmx
321 %attr(755,root,root) %{_bindir}/xdmx
322 %attr(755,root,root) %{_bindir}/xdmxconfig
323 %{_mandir}/man1/Xdmx.1x*
324 %{_mandir}/man1/dmxtodmx.1x*
325 %{_mandir}/man1/vdltodmx.1x*
326 %{_mandir}/man1/xdmxconfig.1x*
327
328 %files -n xorg-xserver-Xnest
329 %defattr(644,root,root,755)
330 %attr(755,root,root) %{_bindir}/Xnest
331 %{_mandir}/man1/Xnest.1x*
332
333 %files -n xorg-xserver-Xprt
334 %defattr(644,root,root,755)
335 %attr(755,root,root) %{_bindir}/Xprt
336 %{_libdir}/X11/xserver
337 %{_mandir}/man1/Xprt.1x*
338
339 %files -n xorg-xserver-Xvfb
340 %defattr(644,root,root,755)
341 %attr(755,root,root) %{_bindir}/Xvfb
342 %{_mandir}/man1/Xvfb.1x*
343
344 %files devel
345 %defattr(644,root,root,755)
346 %{_includedir}/xorg
347 %{_aclocaldir}/xorg-server.m4
348 %{_pkgconfigdir}/xorg-server.pc
This page took 0.06205 seconds and 4 git commands to generate.