]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blob - xorg-xserver-server.spec
- require xorg-font-font-misc-misc-base, which contains fixed font
[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 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-base
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-builddocs \
221         --enable-lbx \
222         --enable-xevie \
223         --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
224         --with-mesa-source="`pwd`/Mesa-6.4.2"
225
226 %{__make}
227
228 %install
229 rm -rf $RPM_BUILD_ROOT
230
231 %{__make} install \
232         DESTDIR=$RPM_BUILD_ROOT
233
234 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
235 install -d $RPM_BUILD_ROOT/etc/security/console.apps
236 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
237 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
238
239 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
240
241 %clean
242 rm -rf $RPM_BUILD_ROOT
243
244 %files
245 %defattr(644,root,root,755)
246 %doc COPYING ChangeLog
247 %attr(755,root,root) %{_bindir}/X
248 %attr(755,root,root) %{_bindir}/Xorg
249 %attr(4755,root,root) %{_bindir}/Xwrapper
250 %attr(755,root,root) %{_bindir}/getconfig
251 %attr(755,root,root) %{_bindir}/getconfig.pl
252 %attr(755,root,root) %{_bindir}/gtf
253 %attr(755,root,root) %{_bindir}/in[bwl]
254 %attr(755,root,root) %{_bindir}/ioport
255 %attr(755,root,root) %{_bindir}/out[bwl]
256 %attr(755,root,root) %{_bindir}/pcitweak
257 %attr(755,root,root) %{_bindir}/scanpci
258 %attr(755,root,root) %{_bindir}/xorgcfg
259 %attr(755,root,root) %{_bindir}/xorgconfig
260 %{_includedir}/X11/bitmaps/*
261 %{_includedir}/X11/pixmaps
262 %{_libdir}/X11/Cards
263 %{_libdir}/X11/Options
264 %{_libdir}/X11/getconfig
265 %dir %{_libdir}/xorg
266 %dir %{_libdir}/xorg/modules
267 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
268 %dir %{_libdir}/xorg/modules/extensions
269 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
270 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
271 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
272 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
273 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
274 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
275 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
276 %dir %{_libdir}/xorg/modules/fonts
277 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
278 %dir %{_libdir}/xorg/modules/linux
279 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
280 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
281 %dir %{_libdir}/xorg/modules/multimedia
282 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
283 %dir %{_libdir}/xserver
284 %{_libdir}/xserver/SecurityPolicy
285 %{_datadir}/X11/app-defaults/XOrgCfg
286 %{_datadir}/X11/xkb/compiled
287 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
288 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
289 %config(missingok) /etc/security/console.apps/xserver
290 %{_mandir}/man1/Xorg.1x*
291 %{_mandir}/man1/Xserver.1x*
292 %{_mandir}/man1/getconfig.1x*
293 %{_mandir}/man1/gtf.1x*
294 %{_mandir}/man1/pcitweak.1x*
295 %{_mandir}/man1/scanpci.1x*
296 %{_mandir}/man1/xorgcfg.1x*
297 %{_mandir}/man1/xorgconfig.1*
298 %{_mandir}/man4/fbdevhw.4*
299 %{_mandir}/man5/getconfig.5x*
300 %{_mandir}/man5/xorg.conf.5x*
301
302 %files -n xorg-xserver-Xdmx
303 %defattr(644,root,root,755)
304 %attr(755,root,root) %{_bindir}/Xdmx
305 %attr(755,root,root) %{_bindir}/dmxaddinput
306 %attr(755,root,root) %{_bindir}/dmxaddscreen
307 %attr(755,root,root) %{_bindir}/dmxreconfig
308 %attr(755,root,root) %{_bindir}/dmxresize
309 %attr(755,root,root) %{_bindir}/dmxrminput
310 %attr(755,root,root) %{_bindir}/dmxrmscreen
311 %attr(755,root,root) %{_bindir}/dmxtodmx
312 %attr(755,root,root) %{_bindir}/dmxwininfo
313 %attr(755,root,root) %{_bindir}/vdltodmx
314 %attr(755,root,root) %{_bindir}/xdmx
315 %attr(755,root,root) %{_bindir}/xdmxconfig
316 %{_mandir}/man1/Xdmx.1x*
317 %{_mandir}/man1/dmxtodmx.1x*
318 %{_mandir}/man1/vdltodmx.1x*
319 %{_mandir}/man1/xdmxconfig.1x*
320
321 %files -n xorg-xserver-Xnest
322 %defattr(644,root,root,755)
323 %attr(755,root,root) %{_bindir}/Xnest
324 %{_mandir}/man1/Xnest.1x*
325
326 %files -n xorg-xserver-Xprt
327 %defattr(644,root,root,755)
328 %attr(755,root,root) %{_bindir}/Xprt
329 %{_libdir}/X11/xserver
330 %{_mandir}/man1/Xprt.1x*
331
332 %files -n xorg-xserver-Xvfb
333 %defattr(644,root,root,755)
334 %attr(755,root,root) %{_bindir}/Xvfb
335 %{_mandir}/man1/Xvfb.1x*
336
337 %files devel
338 %defattr(644,root,root,755)
339 %{_includedir}/xorg
340 %{_aclocaldir}/xorg-server.m4
341 %{_pkgconfigdir}/xorg-server.pc
This page took 0.053718 seconds and 4 git commands to generate.