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