]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blob - xorg-xserver-server.spec
- added xf86Parser.h, xf86Optrec.h and libxf86config.a to -devel; python-xf86config...
[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.1.0
5 Release:        0.3
6 License:        MIT
7 Group:          X11/Servers
8 Source0:        http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
9 # Source0-md5:  d070c58a598fb52c5cb86344725c4ad6
10 %define         mesa_version    6.5
11 Source1:        http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
12 # Source1-md5:  61beda590bfc5b4a12e979d5f2d70d7a
13 Source2:        xserver.pamd
14 Patch0:         %{name}-ncurses.patch
15 Patch1:         %{name}-symlinks.patch
16 Patch2:         %{name}-xwrapper.patch
17 Patch3:         %{name}-compositefastpath.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
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-libXrender-devel
39 BuildRequires:  xorg-lib-libXres-devel
40 BuildRequires:  xorg-lib-libXt-devel >= 1.0.0
41 BuildRequires:  xorg-lib-libXtst-devel
42 BuildRequires:  xorg-lib-libXxf86dga-devel
43 BuildRequires:  xorg-lib-libXxf86misc-devel
44 BuildRequires:  xorg-lib-libXxf86vm-devel
45 BuildRequires:  xorg-lib-libdmx-devel
46 BuildRequires:  xorg-lib-libfontenc-devel
47 BuildRequires:  xorg-lib-liblbxutil-devel
48 BuildRequires:  xorg-lib-libxkbfile-devel
49 BuildRequires:  xorg-lib-libxkbui-devel
50 BuildRequires:  xorg-lib-xtrans-devel
51 BuildRequires:  xorg-proto-bigreqsproto-devel
52 BuildRequires:  xorg-proto-compositeproto-devel >= 0.3
53 BuildRequires:  xorg-proto-damageproto-devel
54 BuildRequires:  xorg-proto-dmxproto-devel
55 BuildRequires:  xorg-proto-evieext-devel
56 BuildRequires:  xorg-proto-fixesproto-devel >= 4.0
57 BuildRequires:  xorg-proto-fontcacheproto-devel
58 BuildRequires:  xorg-proto-fontsproto-devel
59 BuildRequires:  xorg-proto-glproto-devel >= 1.4.6
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 >= 1.1.0
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 %package -n xorg-xserver-libglx
209 Summary:        GLX extension library fo X.org server
210 Summary(pl):    Biblioteka rozszerzenia GLX dla serwera X.org
211 Group:          X11/Servers
212 Requires:       xorg-xserver-server
213 Provides:       xorg-xserver-modules-libglx
214 Obsoletes:      xorg-driver-video-nvidia
215
216 %description -n xorg-xserver-libglx
217 GLX extension library fo X.org server.
218
219 %description -n xorg-xserver-libglx -l pl
220 Biblioteka rozszerzenia GLX dla serwera X.org.
221
222 %prep
223 %setup -q -a1 -n xorg-server-%{version}
224 %patch0 -p1
225 %patch1 -p1
226 %patch2 -p0
227 %patch3 -p0
228
229 %build
230 %{__libtoolize}
231 %{__aclocal}
232 %{__autoconf}
233 %{__autoheader}
234 %{__automake}
235 %configure \
236         --enable-dga \
237         --enable-builddocs \
238         --enable-lbx \
239         --enable-xevie \
240         --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
241         --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
242         --with-mesa-source="`pwd`/Mesa-%{mesa_version}"
243
244 %{__make}
245
246 %install
247 rm -rf $RPM_BUILD_ROOT
248
249 %{__make} install \
250         DESTDIR=$RPM_BUILD_ROOT
251
252 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
253 install -d $RPM_BUILD_ROOT/etc/security/console.apps
254 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
255 install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
256 install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
257 install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
258 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
259 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
260
261 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
262
263 %clean
264 rm -rf $RPM_BUILD_ROOT
265
266 %files
267 %defattr(644,root,root,755)
268 %doc COPYING ChangeLog
269 %attr(755,root,root) %{_bindir}/X
270 %attr(755,root,root) %{_bindir}/Xorg
271 %attr(4755,root,root) %{_bindir}/Xwrapper
272 %attr(755,root,root) %{_bindir}/cvt
273 %attr(755,root,root) %{_bindir}/getconfig
274 %attr(755,root,root) %{_bindir}/getconfig.pl
275 %attr(755,root,root) %{_bindir}/gtf
276 %attr(755,root,root) %{_bindir}/in[bwl]
277 %attr(755,root,root) %{_bindir}/ioport
278 %attr(755,root,root) %{_bindir}/out[bwl]
279 %attr(755,root,root) %{_bindir}/pcitweak
280 %attr(755,root,root) %{_bindir}/scanpci
281 %attr(755,root,root) %{_bindir}/xorgcfg
282 %attr(755,root,root) %{_bindir}/xorgconfig
283 %{_includedir}/X11/bitmaps/*
284 %{_includedir}/X11/pixmaps
285 %{_libdir}/X11/Cards
286 %{_libdir}/X11/Options
287 %{_libdir}/X11/getconfig
288 %dir %{_libdir}/xorg
289 %dir %{_libdir}/xorg/modules
290 %dir %{_libdir}/xorg/modules/dri
291 %dir %{_libdir}/xorg/modules/drivers
292 %dir %{_libdir}/xorg/modules/extensions
293 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
294 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
295 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
296 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
297 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
298 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
299 %dir %{_libdir}/xorg/modules/fonts
300 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
301 %dir %{_libdir}/xorg/modules/input
302 %dir %{_libdir}/xorg/modules/linux
303 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
304 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
305 %dir %{_libdir}/xorg/modules/multimedia
306 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
307 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
308 %dir %{_libdir}/xserver
309 %{_libdir}/xserver/SecurityPolicy
310 %{_datadir}/X11/app-defaults/XOrgCfg
311 %{_datadir}/X11/xkb/compiled
312 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
313 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
314 %config(missingok) /etc/security/console.apps/xserver
315 %{_mandir}/man1/Xorg.1x*
316 %{_mandir}/man1/Xserver.1x*
317 %{_mandir}/man1/cvt.1*
318 %{_mandir}/man1/getconfig.1x*
319 %{_mandir}/man1/gtf.1x*
320 %{_mandir}/man1/pcitweak.1x*
321 %{_mandir}/man1/scanpci.1x*
322 %{_mandir}/man1/xorgcfg.1x*
323 %{_mandir}/man1/xorgconfig.1*
324 %{_mandir}/man4/fbdevhw.4*
325 %{_mandir}/man5/getconfig.5x*
326 %{_mandir}/man5/xorg.conf.5x*
327
328 %files -n xorg-xserver-Xdmx
329 %defattr(644,root,root,755)
330 %attr(755,root,root) %{_bindir}/Xdmx
331 %attr(755,root,root) %{_bindir}/dmxaddinput
332 %attr(755,root,root) %{_bindir}/dmxaddscreen
333 %attr(755,root,root) %{_bindir}/dmxreconfig
334 %attr(755,root,root) %{_bindir}/dmxresize
335 %attr(755,root,root) %{_bindir}/dmxrminput
336 %attr(755,root,root) %{_bindir}/dmxrmscreen
337 %attr(755,root,root) %{_bindir}/dmxtodmx
338 %attr(755,root,root) %{_bindir}/dmxwininfo
339 %attr(755,root,root) %{_bindir}/vdltodmx
340 %attr(755,root,root) %{_bindir}/xdmx
341 %attr(755,root,root) %{_bindir}/xdmxconfig
342 %{_mandir}/man1/Xdmx.1x*
343 %{_mandir}/man1/dmxtodmx.1x*
344 %{_mandir}/man1/vdltodmx.1x*
345 %{_mandir}/man1/xdmxconfig.1x*
346
347 %files -n xorg-xserver-Xnest
348 %defattr(644,root,root,755)
349 %attr(755,root,root) %{_bindir}/Xnest
350 %{_mandir}/man1/Xnest.1x*
351
352 %files -n xorg-xserver-Xprt
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_bindir}/Xprt
355 %{_libdir}/X11/xserver
356 %{_mandir}/man1/Xprt.1x*
357
358 %files -n xorg-xserver-Xvfb
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_bindir}/Xvfb
361 %{_mandir}/man1/Xvfb.1x*
362
363 %files devel
364 %defattr(644,root,root,755)
365 %{_includedir}/xorg
366 %{_libdir}/libxf86config.a
367 %{_aclocaldir}/xorg-server.m4
368 %{_pkgconfigdir}/xorg-server.pc
369
370 %files -n xorg-xserver-libglx
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
This page took 0.061563 seconds and 4 git commands to generate.