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