]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blob - xorg-xserver-server.spec
- updated compositeproto and fixesproto BRs
[packages/xorg-xserver-server.git] / xorg-xserver-server.spec
1 %define mesa_version    6.5
2 Summary:        X.org server
3 Summary(pl):    Serwer X.org
4 Name:           xorg-xserver-server
5 Version:        1.0.99.901
6 Release:        0.1
7 License:        MIT
8 Group:          X11/Servers
9 Source0:        http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
10 # Source0-md5:  9100da4b892b8f8bf741db7ac371476e
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:  Mesa-libGL-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 %prep
209 %setup -q -a1 -n xorg-server-%{version}
210 %patch0 -p1
211 %patch1 -p1
212 %patch2 -p0
213 %patch3 -p0
214
215 %build
216 %{__libtoolize}
217 %{__aclocal}
218 %{__autoconf}
219 %{__autoheader}
220 %{__automake}
221 %configure \
222         --enable-dga \
223         --enable-builddocs \
224         --enable-lbx \
225         --enable-xevie \
226         --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
227         --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
228         --with-mesa-source="`pwd`/Mesa-%{mesa_version}"
229
230 %{__make}
231
232 %install
233 rm -rf $RPM_BUILD_ROOT
234
235 %{__make} install \
236         DESTDIR=$RPM_BUILD_ROOT
237
238 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
239 install -d $RPM_BUILD_ROOT/etc/security/console.apps
240 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
241 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
242
243 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
244
245 %clean
246 rm -rf $RPM_BUILD_ROOT
247
248 %files
249 %defattr(644,root,root,755)
250 %doc COPYING ChangeLog
251 %attr(755,root,root) %{_bindir}/X
252 %attr(755,root,root) %{_bindir}/Xorg
253 %attr(4755,root,root) %{_bindir}/Xwrapper
254 %attr(755,root,root) %{_bindir}/cvt
255 %attr(755,root,root) %{_bindir}/getconfig
256 %attr(755,root,root) %{_bindir}/getconfig.pl
257 %attr(755,root,root) %{_bindir}/gtf
258 %attr(755,root,root) %{_bindir}/in[bwl]
259 %attr(755,root,root) %{_bindir}/ioport
260 %attr(755,root,root) %{_bindir}/out[bwl]
261 %attr(755,root,root) %{_bindir}/pcitweak
262 %attr(755,root,root) %{_bindir}/scanpci
263 %attr(755,root,root) %{_bindir}/xorgcfg
264 %attr(755,root,root) %{_bindir}/xorgconfig
265 %{_includedir}/X11/bitmaps/*
266 %{_includedir}/X11/pixmaps
267 %{_libdir}/X11/Cards
268 %{_libdir}/X11/Options
269 %{_libdir}/X11/getconfig
270 %dir %{_libdir}/xorg
271 %dir %{_libdir}/xorg/modules
272 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
273 %dir %{_libdir}/xorg/modules/extensions
274 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
275 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
276 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
277 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
278 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
279 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
280 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
281 %dir %{_libdir}/xorg/modules/fonts
282 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
283 %dir %{_libdir}/xorg/modules/linux
284 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
285 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
286 %dir %{_libdir}/xorg/modules/multimedia
287 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
288 %dir %{_libdir}/xserver
289 %{_libdir}/xserver/SecurityPolicy
290 %{_datadir}/X11/app-defaults/XOrgCfg
291 %{_datadir}/X11/xkb/compiled
292 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
293 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
294 %config(missingok) /etc/security/console.apps/xserver
295 %{_mandir}/man1/Xorg.1x*
296 %{_mandir}/man1/Xserver.1x*
297 %{_mandir}/man1/cvt.1*
298 %{_mandir}/man1/getconfig.1x*
299 %{_mandir}/man1/gtf.1x*
300 %{_mandir}/man1/pcitweak.1x*
301 %{_mandir}/man1/scanpci.1x*
302 %{_mandir}/man1/xorgcfg.1x*
303 %{_mandir}/man1/xorgconfig.1*
304 %{_mandir}/man4/fbdevhw.4*
305 %{_mandir}/man5/getconfig.5x*
306 %{_mandir}/man5/xorg.conf.5x*
307
308 %files -n xorg-xserver-Xdmx
309 %defattr(644,root,root,755)
310 %attr(755,root,root) %{_bindir}/Xdmx
311 %attr(755,root,root) %{_bindir}/dmxaddinput
312 %attr(755,root,root) %{_bindir}/dmxaddscreen
313 %attr(755,root,root) %{_bindir}/dmxreconfig
314 %attr(755,root,root) %{_bindir}/dmxresize
315 %attr(755,root,root) %{_bindir}/dmxrminput
316 %attr(755,root,root) %{_bindir}/dmxrmscreen
317 %attr(755,root,root) %{_bindir}/dmxtodmx
318 %attr(755,root,root) %{_bindir}/dmxwininfo
319 %attr(755,root,root) %{_bindir}/vdltodmx
320 %attr(755,root,root) %{_bindir}/xdmx
321 %attr(755,root,root) %{_bindir}/xdmxconfig
322 %{_mandir}/man1/Xdmx.1x*
323 %{_mandir}/man1/dmxtodmx.1x*
324 %{_mandir}/man1/vdltodmx.1x*
325 %{_mandir}/man1/xdmxconfig.1x*
326
327 %files -n xorg-xserver-Xnest
328 %defattr(644,root,root,755)
329 %attr(755,root,root) %{_bindir}/Xnest
330 %{_mandir}/man1/Xnest.1x*
331
332 %files -n xorg-xserver-Xprt
333 %defattr(644,root,root,755)
334 %attr(755,root,root) %{_bindir}/Xprt
335 %{_libdir}/X11/xserver
336 %{_mandir}/man1/Xprt.1x*
337
338 %files -n xorg-xserver-Xvfb
339 %defattr(644,root,root,755)
340 %attr(755,root,root) %{_bindir}/Xvfb
341 %{_mandir}/man1/Xvfb.1x*
342
343 %files devel
344 %defattr(644,root,root,755)
345 %{_includedir}/xorg
346 %{_aclocaldir}/xorg-server.m4
347 %{_pkgconfigdir}/xorg-server.pc
This page took 0.052094 seconds and 4 git commands to generate.