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