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