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