]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blob - xorg-xserver-server.spec
- use "individual" source
[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.8
6 License:        MIT
7 Group:          X11/Servers
8 Source0:        http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
9 # Source0-md5:  aa0ccb851ec5f7f9b132581d9a5827e4
10 Source1:        http://dl.sourceforge.net/mesa3d/MesaLib-6.4.2.tar.bz2
11 # Source1-md5:  7674d2c603b5834259e4e5a820cefd5b
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 Patch4:         Mesa-glx-x11-render-texture.diff
18 Patch5:         %{name}-tun.patch
19 Patch6:         %{name}-randrstr.patch
20 URL:            http://xorg.freedesktop.org/
21 # for glx headers
22 BuildRequires:  Mesa-libGL-devel
23 BuildRequires:  autoconf >= 2.57
24 BuildRequires:  automake
25 BuildRequires:  cpp
26 BuildRequires:  libdrm-devel
27 BuildRequires:  libtool
28 BuildRequires:  ncurses-devel
29 BuildRequires:  pam-devel
30 BuildRequires:  perl-base
31 BuildRequires:  pkgconfig >= 1:0.19
32 BuildRequires:  xorg-app-mkfontscale
33 BuildRequires:  xorg-lib-libX11-devel
34 BuildRequires:  xorg-lib-libXau-devel
35 BuildRequires:  xorg-lib-libXaw-devel
36 BuildRequires:  xorg-lib-libXdmcp-devel
37 BuildRequires:  xorg-lib-libXext-devel
38 BuildRequires:  xorg-lib-libXfont-devel
39 BuildRequires:  xorg-lib-libXi-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
52 BuildRequires:  xorg-lib-xtrans-devel
53 BuildRequires:  xorg-proto-bigreqsproto-devel
54 BuildRequires:  xorg-proto-compositeproto-devel
55 BuildRequires:  xorg-proto-damageproto-devel
56 BuildRequires:  xorg-proto-dmxproto-devel
57 BuildRequires:  xorg-proto-evieext-devel
58 BuildRequires:  xorg-proto-fixesproto-devel
59 BuildRequires:  xorg-proto-fontsproto-devel
60 BuildRequires:  xorg-proto-glproto-devel >= 1.4.1
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
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 %prep
210 %setup -q -a1 -n xorg-server-%{version}
211 %patch0 -p1
212 %patch1 -p1
213 %patch2 -p0
214 %patch3 -p0
215 cd Mesa-6.4.2
216 %patch4 -p0
217 cd ..
218 %patch5 -p1
219 %patch6 -p1
220
221 %build
222 %{__libtoolize}
223 %{__aclocal}
224 %{__autoconf}
225 %{__autoheader}
226 %{__automake}
227 %configure \
228         --enable-dga \
229         --enable-builddocs \
230         --enable-lbx \
231         --enable-xevie \
232         --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
233         --with-mesa-source="`pwd`/Mesa-6.4.2"
234
235 %{__make}
236
237 %install
238 rm -rf $RPM_BUILD_ROOT
239
240 %{__make} install \
241         DESTDIR=$RPM_BUILD_ROOT
242
243 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
244 install -d $RPM_BUILD_ROOT/etc/security/console.apps
245 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
246 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
247
248 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
249
250 %clean
251 rm -rf $RPM_BUILD_ROOT
252
253 %files
254 %defattr(644,root,root,755)
255 %doc COPYING ChangeLog
256 %attr(755,root,root) %{_bindir}/X
257 %attr(755,root,root) %{_bindir}/Xorg
258 %attr(4755,root,root) %{_bindir}/Xwrapper
259 %attr(755,root,root) %{_bindir}/getconfig
260 %attr(755,root,root) %{_bindir}/getconfig.pl
261 %attr(755,root,root) %{_bindir}/gtf
262 %attr(755,root,root) %{_bindir}/in[bwl]
263 %attr(755,root,root) %{_bindir}/ioport
264 %attr(755,root,root) %{_bindir}/out[bwl]
265 %attr(755,root,root) %{_bindir}/pcitweak
266 %attr(755,root,root) %{_bindir}/scanpci
267 %attr(755,root,root) %{_bindir}/xorgcfg
268 %attr(755,root,root) %{_bindir}/xorgconfig
269 %{_includedir}/X11/bitmaps/*
270 %{_includedir}/X11/pixmaps
271 %{_libdir}/X11/Cards
272 %{_libdir}/X11/Options
273 %{_libdir}/X11/getconfig
274 %dir %{_libdir}/xorg
275 %dir %{_libdir}/xorg/modules
276 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
277 %dir %{_libdir}/xorg/modules/extensions
278 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
279 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
280 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
281 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
282 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
283 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
284 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
285 %dir %{_libdir}/xorg/modules/fonts
286 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
287 %dir %{_libdir}/xorg/modules/linux
288 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
289 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
290 %dir %{_libdir}/xorg/modules/multimedia
291 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
292 %dir %{_libdir}/xserver
293 %{_libdir}/xserver/SecurityPolicy
294 %{_datadir}/X11/app-defaults/XOrgCfg
295 %{_datadir}/X11/xkb/compiled
296 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
297 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
298 %config(missingok) /etc/security/console.apps/xserver
299 %{_mandir}/man1/Xorg.1x*
300 %{_mandir}/man1/Xserver.1x*
301 %{_mandir}/man1/getconfig.1x*
302 %{_mandir}/man1/gtf.1x*
303 %{_mandir}/man1/pcitweak.1x*
304 %{_mandir}/man1/scanpci.1x*
305 %{_mandir}/man1/xorgcfg.1x*
306 %{_mandir}/man1/xorgconfig.1*
307 %{_mandir}/man4/fbdevhw.4*
308 %{_mandir}/man5/getconfig.5x*
309 %{_mandir}/man5/xorg.conf.5x*
310
311 %files -n xorg-xserver-Xdmx
312 %defattr(644,root,root,755)
313 %attr(755,root,root) %{_bindir}/Xdmx
314 %attr(755,root,root) %{_bindir}/dmxaddinput
315 %attr(755,root,root) %{_bindir}/dmxaddscreen
316 %attr(755,root,root) %{_bindir}/dmxreconfig
317 %attr(755,root,root) %{_bindir}/dmxresize
318 %attr(755,root,root) %{_bindir}/dmxrminput
319 %attr(755,root,root) %{_bindir}/dmxrmscreen
320 %attr(755,root,root) %{_bindir}/dmxtodmx
321 %attr(755,root,root) %{_bindir}/dmxwininfo
322 %attr(755,root,root) %{_bindir}/vdltodmx
323 %attr(755,root,root) %{_bindir}/xdmx
324 %attr(755,root,root) %{_bindir}/xdmxconfig
325 %{_mandir}/man1/Xdmx.1x*
326 %{_mandir}/man1/dmxtodmx.1x*
327 %{_mandir}/man1/vdltodmx.1x*
328 %{_mandir}/man1/xdmxconfig.1x*
329
330 %files -n xorg-xserver-Xnest
331 %defattr(644,root,root,755)
332 %attr(755,root,root) %{_bindir}/Xnest
333 %{_mandir}/man1/Xnest.1x*
334
335 %files -n xorg-xserver-Xprt
336 %defattr(644,root,root,755)
337 %attr(755,root,root) %{_bindir}/Xprt
338 %{_libdir}/X11/xserver
339 %{_mandir}/man1/Xprt.1x*
340
341 %files -n xorg-xserver-Xvfb
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_bindir}/Xvfb
344 %{_mandir}/man1/Xvfb.1x*
345
346 %files devel
347 %defattr(644,root,root,755)
348 %{_includedir}/xorg
349 %{_aclocaldir}/xorg-server.m4
350 %{_pkgconfigdir}/xorg-server.pc
This page took 0.055966 seconds and 4 git commands to generate.