]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blob - xorg-xserver-server.spec
- ./xorg/picture.h ./xorg/fb.h ./xorg/miscstruct.h use pixman headers
[packages/xorg-xserver-server.git] / xorg-xserver-server.spec
1 Summary:        X.org server
2 Summary(pl.UTF-8):      Serwer X.org
3 Name:           xorg-xserver-server
4 Version:        1.3.0.0
5 Release:        7.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:  a51a7d482e3c689394755bb17bda8526
10 %define         mesa_version    7.0.1
11 Source1:        http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
12 # Source1-md5:  c056abd763e899114bf745c9eedbf9ad
13 Source2:        xserver.pamd
14 Patch0:         %{name}-ncurses.patch
15 Patch1:         %{name}-xwrapper.patch
16 # nasty hack for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052
17 Patch2:         %{name}-gcc-x86_64-workaround.patch
18 Patch3:         %{name}-drop-GLinterface.patch
19 Patch4:         %{name}-mesa.patch
20 Patch5:         intel.patch
21 URL:            http://xorg.freedesktop.org/
22 # for glx headers
23 BuildRequires:  OpenGL-GLX-devel
24 BuildRequires:  autoconf >= 2.57
25 BuildRequires:  automake
26 BuildRequires:  cpp
27 BuildRequires:  libdrm-devel >= 2.2.0
28 BuildRequires:  libtool
29 BuildRequires:  ncurses-devel
30 BuildRequires:  pam-devel
31 BuildRequires:  perl-base
32 BuildRequires:  pkgconfig >= 1:0.19
33 BuildRequires:  xorg-app-mkfontscale
34 BuildRequires:  xorg-lib-libX11-devel
35 BuildRequires:  xorg-lib-libXau-devel
36 BuildRequires:  xorg-lib-libXaw-devel
37 BuildRequires:  xorg-lib-libXdmcp-devel
38 BuildRequires:  xorg-lib-libXext-devel
39 BuildRequires:  xorg-lib-libXfont-devel
40 BuildRequires:  xorg-lib-libXi-devel
41 BuildRequires:  xorg-lib-libXmu-devel
42 BuildRequires:  xorg-lib-libXpm-devel
43 BuildRequires:  xorg-lib-libXrender-devel
44 BuildRequires:  xorg-lib-libXres-devel
45 BuildRequires:  xorg-lib-libXt-devel >= 1.0.0
46 BuildRequires:  xorg-lib-libXtst-devel
47 BuildRequires:  xorg-lib-libXxf86dga-devel
48 BuildRequires:  xorg-lib-libXxf86misc-devel
49 BuildRequires:  xorg-lib-libXxf86vm-devel
50 BuildRequires:  xorg-lib-libdmx-devel
51 BuildRequires:  xorg-lib-libfontenc-devel
52 BuildRequires:  xorg-lib-liblbxutil-devel
53 BuildRequires:  xorg-lib-libxkbfile-devel
54 BuildRequires:  xorg-lib-libxkbui-devel >= 1.0.2
55 BuildRequires:  xorg-lib-xtrans-devel
56 BuildRequires:  xorg-proto-bigreqsproto-devel
57 BuildRequires:  xorg-proto-compositeproto-devel >= 0.3
58 BuildRequires:  xorg-proto-damageproto-devel >= 1.1
59 BuildRequires:  xorg-proto-dmxproto-devel
60 BuildRequires:  xorg-proto-evieext-devel
61 BuildRequires:  xorg-proto-fixesproto-devel >= 4.0
62 BuildRequires:  xorg-proto-fontcacheproto-devel
63 BuildRequires:  xorg-proto-fontsproto-devel
64 BuildRequires:  xorg-proto-glproto-devel >= 1.4.8
65 BuildRequires:  xorg-proto-inputproto-devel >= 1.4
66 BuildRequires:  xorg-proto-kbproto-devel >= 1.0.3
67 BuildRequires:  xorg-proto-printproto-devel
68 BuildRequires:  xorg-proto-randrproto-devel >= 1.2
69 BuildRequires:  xorg-proto-recordproto-devel
70 BuildRequires:  xorg-proto-renderproto-devel
71 BuildRequires:  xorg-proto-resourceproto-devel
72 BuildRequires:  xorg-proto-scrnsaverproto-devel >= 1.1.0
73 BuildRequires:  xorg-proto-trapproto-devel
74 BuildRequires:  xorg-proto-videoproto-devel
75 BuildRequires:  xorg-proto-xcmiscproto-devel
76 BuildRequires:  xorg-proto-xextproto-devel
77 BuildRequires:  xorg-proto-xf86bigfontproto-devel
78 BuildRequires:  xorg-proto-xf86dgaproto-devel
79 BuildRequires:  xorg-proto-xf86driproto-devel
80 BuildRequires:  xorg-proto-xf86miscproto-devel
81 BuildRequires:  xorg-proto-xf86vidmodeproto-devel
82 BuildRequires:  xorg-proto-xineramaproto-devel
83 BuildRequires:  xorg-proto-xproto-devel
84 BuildRequires:  xorg-util-util-macros >= 0.99.2
85 # xcalibrateproto, tslib (for KDRIVE only)
86 # glitz-devel >= 0.4.3 (for XGL and EGL only)
87 # for rgb.txt
88 Requires:       xorg-app-rgb >= 0.99.3
89 Requires:       xorg-app-xkbcomp
90 # just for %{_includedir}/bitmaps dir
91 Requires:       xorg-data-xbitmaps
92 Requires:       xkeyboard-config
93 # xserver requires fixed and cursor fonts
94 Requires:       xorg-font-font-alias
95 Requires:       xorg-font-font-cursor-misc
96 Requires:       xorg-font-font-misc-misc-base >= 1.0.0-0.3
97 # for new app-defaults location
98 Requires:       xorg-lib-libXt >= 1.0.0
99 Obsoletes:      X11-Xserver < 1:7.0.0
100 Obsoletes:      X11-driver-i2c < 1:7.0.0
101 Obsoletes:      X11-modules < 1:7.0.0
102 Obsoletes:      X11-setup < 1:7.0.0
103 Obsoletes:      XFree86-Xserver < 1:7.0.0
104 Obsoletes:      XFree86-modules < 1:7.0.0
105 Obsoletes:      XFree86-setup < 1:7.0.0
106 Obsoletes:      Xserver
107 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108
109 # avoid self-dependencies on included modules
110 %define         _noautoreq      libscanpci.so libxf1bpp.so
111
112 %description
113 Xorg server is a generally used X server which uses display hardware.
114 It requires proper driver for your display hardware.
115
116 %description -l pl.UTF-8
117 Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie
118 graficznej. Do działania wymaga odpowiedniego sterownika.
119
120 %package -n xorg-xserver-Xdmx
121 Summary:        Xdmx - distributed multi-head X server
122 Summary(pl.UTF-8):      Xdmx - rozproszony, wielomonitorowy serwer X
123 Group:          X11/Servers
124
125 %description -n xorg-xserver-Xdmx
126 Xdmx - distributed multi-head X server.
127
128 %description -n xorg-xserver-Xdmx -l pl.UTF-8
129 Xdmx - rozproszony, wielomonitorowy serwer X.
130
131 %package -n xorg-xserver-Xnest
132 Summary:        Xnest - nested X server
133 Summary(pl.UTF-8):      Xnest - zagnieżdżony serwer X
134 Group:          X11/Servers
135 Obsoletes:      X11-Xnest < 1:7.0.0
136 Obsoletes:      XFree86-Xnest < 1:7.0.0
137 Obsoletes:      Xserver-Xnest
138
139 %description -n xorg-xserver-Xnest
140 Xnest is an X Window System server which runs in an X window. Xnest is
141 a 'nested' window server, actually a client of the real X server,
142 which manages windows and graphics requests for Xnest, while Xnest
143 manages the windows and graphics requests for its own clients.
144
145 %description -n xorg-xserver-Xnest -l pl.UTF-8
146 Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
147 zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak
148 serwer X dla własnych klientów.
149
150 %description -n xorg-xserver-Xnest -l ru.UTF-8
151 Xnest - это сервер X Window System, который работает в окне X. На
152 самом деле это клиент реального X-сервера, который управляет окнами и
153 графическими запросами для Xnest в то время, как Xnest управляет
154 окнами и графическими запросами для своих собственных клиентов.
155
156 %description -n xorg-xserver-Xnest -l uk.UTF-8
157 Xnest - це сервер X Window System, який працює у вікні X. Фактично це
158 клієнт реального X-сервера, який керує вікнами та графічними запитами
159 для Xnest в той час, як Xnest керує вікнами та графічними запитами для
160 своїх власних клієнтів.
161
162 %package -n xorg-xserver-Xprt
163 Summary:        Xprt - Xprint server for X
164 Summary(pl.UTF-8):      Xprt - serwer Xprint dla X
165 Group:          X11/Servers
166 Obsoletes:      X11-Xprt < 1:7.0.0
167 Obsoletes:      XFree86-Xprt < 1:7.0.0
168
169 %description -n xorg-xserver-Xprt
170 Xprt is the Xprint print server for X Window System for non display
171 devices such as printers and fax machines.
172
173 %description -n xorg-xserver-Xprt -l pl.UTF-8
174 Xprt to serwer wydruków Xprint dla X Window System dla urządzeń nie
175 wyświetlających, takich jak drukarki czy faksy.
176
177 %package -n xorg-xserver-Xvfb
178 Summary:        Xvfb - virtual framebuffer X server
179 Summary(pl.UTF-8):      Xvfb - serwer X z wirtualnym framebufferem
180 Group:          X11/Servers
181 # requires fixed and cursor fonts
182 Requires:       xorg-font-font-alias
183 Requires:       xorg-font-font-cursor-misc
184 Requires:       xorg-font-font-misc-misc-base >= 1.0.0-0.3
185 Obsoletes:      X11-Xvfb < 1:7.0.0
186 Obsoletes:      XFree86-Xvfb < 1:7.0.0
187
188 %description -n xorg-xserver-Xvfb
189 Xvfb (X Virtual Frame Buffer) is an X Window System server that is
190 capable of running on machines with no display hardware and no
191 physical input devices. Xvfb emulates a dumb framebuffer using virtual
192 memory. Xvfb doesn't open any devices, but behaves otherwise as an X
193 display. Xvfb is normally used for testing servers. Using Xvfb, the
194 mfb or cfb code for any depth can be exercised without using real
195 hardware that supports the desired depths. Xvfb has also been used to
196 test X clients against unusual depths and screen configurations, to do
197 batch processing with Xvfb as a background rendering engine, to do
198 load testing, to help with porting an X server to a new platform, and
199 to provide an unobtrusive way of running applications which really
200 don't need an X server but insist on having one.
201
202 %description -n xorg-xserver-Xvfb -l pl.UTF-8
203 Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać
204 na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń
205 wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest
206 używany do testowania serwerów X, może też być używany do testowania
207 klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć
208 Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają
209 serwera X, ale odmawiają uruchomienia bez niego.
210
211 %package devel
212 Summary:        Header files for X.org server
213 Summary(pl.UTF-8):      Pliki nagłówkowe dla servera X.org
214 Group:          X11/Development/Libraries
215 Requires:       libdrm-devel >= 2.2.0
216 Requires:       pixman-devel
217 Requires:       xorg-proto-fontsproto-devel
218 Requires:       xorg-proto-renderproto-devel
219 Requires:       xorg-proto-videoproto-devel
220 Requires:       xorg-proto-xextproto-devel
221 Obsoletes:      X11-Xserver-devel < 1:7.0.0
222 Obsoletes:      XFree86-Xserver-devel < 1:7.0.0
223
224 %description devel
225 Header files for X.org server.
226
227 %description devel -l pl.UTF-8
228 Pliki nagłówkowe dla serwera X.org.
229
230 %package -n xorg-xserver-libglx
231 Summary:        GLX extension library fo X.org server
232 Summary(pl.UTF-8):      Biblioteka rozszerzenia GLX dla serwera X.org
233 Group:          X11/Servers
234 Requires:       %{name} = %{version}-%{release}
235 Provides:       xorg-xserver-libglx(glapi) = %{mesa_version}
236 Provides:       xorg-xserver-modules-libglx
237 Obsoletes:      X11-OpenGL-core < 1:7.0.0
238 Obsoletes:      XFree86-OpenGL-core < 1:7.0.0
239 Conflicts:      xorg-driver-video-nvidia
240
241 %description -n xorg-xserver-libglx
242 GLX extension library fo X.org server.
243
244 %description -n xorg-xserver-libglx -l pl.UTF-8
245 Biblioteka rozszerzenia GLX dla serwera X.org.
246
247 %prep
248 %setup -q -a1 -n xorg-server-%{version}
249 %patch0 -p1
250 %patch1 -p0
251 %ifarch %{x8664} i486
252 %patch2 -p1
253 %endif
254 %patch3 -p2
255 %patch4 -p2
256 %patch5 -p1
257
258 %build
259 %{__libtoolize}
260 %{__aclocal}
261 %{__autoconf}
262 %{__autoheader}
263 %{__automake}
264 %configure \
265         --with-os-name="PLD/Linux" \
266         --with-os-vendor="PLD/Team" \
267         --enable-dga \
268         --enable-builddocs \
269         --enable-lbx \
270         --enable-xevie \
271         --enable-dmx \
272         --enable-xprint \
273         --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
274         --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
275         --with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
276         --with-xkb-output=/var/lib/xkb
277
278 %{__make}
279
280 %install
281 rm -rf $RPM_BUILD_ROOT
282
283 %{__make} install \
284         DESTDIR=$RPM_BUILD_ROOT
285
286 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
287 install -d $RPM_BUILD_ROOT/etc/security/console.apps
288 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
289 install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
290 install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
291 install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
292 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
293 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
294
295 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
296
297 %clean
298 rm -rf $RPM_BUILD_ROOT
299
300 %files
301 %defattr(644,root,root,755)
302 %doc COPYING
303 %attr(755,root,root) %{_bindir}/X
304 %attr(755,root,root) %{_bindir}/Xorg
305 %attr(4755,root,root) %{_bindir}/Xwrapper
306 %attr(755,root,root) %{_bindir}/cvt
307 %attr(755,root,root) %{_bindir}/gtf
308 %attr(755,root,root) %{_bindir}/in[bwl]
309 %attr(755,root,root) %{_bindir}/ioport
310 %attr(755,root,root) %{_bindir}/out[bwl]
311 %attr(755,root,root) %{_bindir}/pcitweak
312 %attr(755,root,root) %{_bindir}/scanpci
313 %attr(755,root,root) %{_bindir}/xorgcfg
314 %attr(755,root,root) %{_bindir}/xorgconfig
315 %{_includedir}/X11/bitmaps/*
316 %{_includedir}/X11/pixmaps
317 %{_libdir}/X11/Cards
318 %{_libdir}/X11/Options
319 %dir %{_libdir}/xorg
320 %dir %{_libdir}/xorg/modules
321 %dir %{_libdir}/xorg/modules/dri
322 %dir %{_libdir}/xorg/modules/drivers
323 %dir %{_libdir}/xorg/modules/extensions
324 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
325 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
326 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
327 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
328 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
329 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
330 %dir %{_libdir}/xorg/modules/fonts
331 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
332 %dir %{_libdir}/xorg/modules/input
333 %dir %{_libdir}/xorg/modules/linux
334 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
335 %dir %{_libdir}/xorg/modules/multimedia
336 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
337 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
338 %dir %{_libdir}/xserver
339 %{_libdir}/xserver/SecurityPolicy
340 %{_datadir}/X11/app-defaults/XOrgCfg
341 %dir /var/lib/xkb
342 /var/lib/xkb/README.compiled
343 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
344 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
345 %config(missingok) /etc/security/console.apps/xserver
346 %{_mandir}/man1/Xorg.1x*
347 %{_mandir}/man1/Xserver.1x*
348 %{_mandir}/man1/cvt.1*
349 %{_mandir}/man1/gtf.1x*
350 %{_mandir}/man1/pcitweak.1x*
351 %{_mandir}/man1/scanpci.1x*
352 %{_mandir}/man1/xorgcfg.1x*
353 %{_mandir}/man1/xorgconfig.1*
354 %{_mandir}/man4/exa.4*
355 %{_mandir}/man4/fbdevhw.4*
356 %{_mandir}/man5/xorg.conf.5x*
357
358 %files -n xorg-xserver-Xdmx
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_bindir}/Xdmx
361 %attr(755,root,root) %{_bindir}/dmxaddinput
362 %attr(755,root,root) %{_bindir}/dmxaddscreen
363 %attr(755,root,root) %{_bindir}/dmxreconfig
364 %attr(755,root,root) %{_bindir}/dmxresize
365 %attr(755,root,root) %{_bindir}/dmxrminput
366 %attr(755,root,root) %{_bindir}/dmxrmscreen
367 %attr(755,root,root) %{_bindir}/dmxtodmx
368 %attr(755,root,root) %{_bindir}/dmxwininfo
369 %attr(755,root,root) %{_bindir}/vdltodmx
370 %attr(755,root,root) %{_bindir}/xdmx
371 %attr(755,root,root) %{_bindir}/xdmxconfig
372 %{_mandir}/man1/Xdmx.1x*
373 %{_mandir}/man1/dmxtodmx.1x*
374 %{_mandir}/man1/vdltodmx.1x*
375 %{_mandir}/man1/xdmxconfig.1x*
376
377 %files -n xorg-xserver-Xnest
378 %defattr(644,root,root,755)
379 %attr(755,root,root) %{_bindir}/Xnest
380 %{_mandir}/man1/Xnest.1x*
381
382 %files -n xorg-xserver-Xprt
383 %defattr(644,root,root,755)
384 %attr(755,root,root) %{_bindir}/Xprt
385 %{_libdir}/X11/xserver
386 %{_mandir}/man1/Xprt.1x*
387
388 %files -n xorg-xserver-Xvfb
389 %defattr(644,root,root,755)
390 %attr(755,root,root) %{_bindir}/Xvfb
391 %{_mandir}/man1/Xvfb.1x*
392
393 %files devel
394 %defattr(644,root,root,755)
395 %{_includedir}/xorg
396 %{_libdir}/libxf86config.a
397 %{_aclocaldir}/xorg-server.m4
398 %{_pkgconfigdir}/xorg-server.pc
399
400 %files -n xorg-xserver-libglx
401 %defattr(644,root,root,755)
402 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
This page took 0.149025 seconds and 4 git commands to generate.