]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blame - xorg-xserver-server.spec
- BR versions
[packages/xorg-xserver-server.git] / xorg-xserver-server.spec
CommitLineData
ef5a4e65 1Summary: X.org server
46c7e5bc 2Summary(pl.UTF-8): Serwer X.org
ef5a4e65 3Name: xorg-xserver-server
dce4cb2a
AM
4Version: 1.2.99.902
5Release: 0.1
ef5a4e65 6License: MIT
5cd265ab 7Group: X11/Servers
de380e48 8Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
dce4cb2a 9# Source0-md5: e3013c42e2a450024983c78f5b0b4474
643343d3
JB
10%define mesa_version 6.5.2
11Source1: http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
12# Source1-md5: e4d894181f1859651658b3704633e10d
3edafdd8 13Source2: xserver.pamd
ec5b0b88 14Patch0: %{name}-ncurses.patch
f161e7b1 15Patch1: %{name}-xwrapper.patch
515d2b99
AM
16# nasty hack for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052
17Patch2: %{name}-gcc-x86_64-workaround.patch
ef5a4e65 18URL: http://xorg.freedesktop.org/
ce1773fa 19# for glx headers
f6f4cf9a 20BuildRequires: OpenGL-GLX-devel
ff624999 21BuildRequires: autoconf >= 2.57
ef5a4e65 22BuildRequires: automake
ff624999 23BuildRequires: cpp
be25dd56 24BuildRequires: libdrm-devel >= 2.2.0
ff624999 25BuildRequires: libtool
ec5b0b88 26BuildRequires: ncurses-devel
934be85d 27BuildRequires: pam-devel
ff624999 28BuildRequires: perl-base
e768ee3c 29BuildRequires: pkgconfig >= 1:0.19
c8331d8e 30BuildRequires: xorg-app-mkfontscale
30a17203 31BuildRequires: xorg-lib-libX11-devel
ef5a4e65 32BuildRequires: xorg-lib-libXau-devel
33BuildRequires: xorg-lib-libXaw-devel
ff624999 34BuildRequires: xorg-lib-libXdmcp-devel
30a17203 35BuildRequires: xorg-lib-libXext-devel
ef5a4e65 36BuildRequires: xorg-lib-libXfont-devel
ff624999 37BuildRequires: xorg-lib-libXi-devel
88e91f7d
JB
38BuildRequires: xorg-lib-libXmu-devel
39BuildRequires: xorg-lib-libXpm-devel
30a17203 40BuildRequires: xorg-lib-libXrender-devel
ff624999 41BuildRequires: xorg-lib-libXres-devel
62bc11ce 42BuildRequires: xorg-lib-libXt-devel >= 1.0.0
ff624999 43BuildRequires: xorg-lib-libXtst-devel
ef5a4e65 44BuildRequires: xorg-lib-libXxf86dga-devel
45BuildRequires: xorg-lib-libXxf86misc-devel
46BuildRequires: xorg-lib-libXxf86vm-devel
f161e7b1 47BuildRequires: xorg-lib-libdmx-devel
ff624999
JB
48BuildRequires: xorg-lib-libfontenc-devel
49BuildRequires: xorg-lib-liblbxutil-devel
ef5a4e65 50BuildRequires: xorg-lib-libxkbfile-devel
88e91f7d 51BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
ef5a4e65 52BuildRequires: xorg-lib-xtrans-devel
53BuildRequires: xorg-proto-bigreqsproto-devel
d6914b6b 54BuildRequires: xorg-proto-compositeproto-devel >= 0.3
2ce56491 55BuildRequires: xorg-proto-damageproto-devel >= 1.1
f161e7b1 56BuildRequires: xorg-proto-dmxproto-devel
ff624999 57BuildRequires: xorg-proto-evieext-devel
d6914b6b 58BuildRequires: xorg-proto-fixesproto-devel >= 4.0
14d9b23d 59BuildRequires: xorg-proto-fontcacheproto-devel
ef5a4e65 60BuildRequires: xorg-proto-fontsproto-devel
f161e7b1 61BuildRequires: xorg-proto-glproto-devel >= 1.4.8
be25dd56 62BuildRequires: xorg-proto-inputproto-devel >= 1.4
88e91f7d 63BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
ff624999 64BuildRequires: xorg-proto-printproto-devel
2ce56491 65BuildRequires: xorg-proto-randrproto-devel >= 1.2
ef5a4e65 66BuildRequires: xorg-proto-recordproto-devel
67BuildRequires: xorg-proto-renderproto-devel
68BuildRequires: xorg-proto-resourceproto-devel
507f68f4 69BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
ff624999 70BuildRequires: xorg-proto-trapproto-devel
ef5a4e65 71BuildRequires: xorg-proto-videoproto-devel
72BuildRequires: xorg-proto-xcmiscproto-devel
73BuildRequires: xorg-proto-xextproto-devel
74BuildRequires: xorg-proto-xf86bigfontproto-devel
ff624999 75BuildRequires: xorg-proto-xf86dgaproto-devel
ef5a4e65 76BuildRequires: xorg-proto-xf86driproto-devel
77BuildRequires: xorg-proto-xf86miscproto-devel
78BuildRequires: xorg-proto-xf86vidmodeproto-devel
79BuildRequires: xorg-proto-xineramaproto-devel
80BuildRequires: xorg-proto-xproto-devel
30a17203 81BuildRequires: xorg-util-util-macros >= 0.99.2
88e91f7d
JB
82# xcalibrateproto, tslib (for KDRIVE only)
83# glitz-devel >= 0.4.3 (for XGL and EGL only)
ceb929ad 84# for rgb.txt
b7331c94 85Requires: xorg-app-rgb >= 0.99.3
72a92456 86Requires: xorg-app-xkbcomp
ff624999
JB
87# just for %{_includedir}/bitmaps dir
88Requires: xorg-data-xbitmaps
b3913e17 89Requires: xkeyboard-config
0e75ca25
PS
90# xserver requires default fixed and cursosr fonts.
91Requires: xorg-font-font-alias
92Requires: xorg-font-font-cursor-misc
9d193532 93Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
62bc11ce
JB
94# for new app-defaults location
95Requires: xorg-lib-libXt >= 1.0.0
765b36a9
AM
96Obsoletes: X11-Xserver < 1:7.0.0
97Obsoletes: X11-modules < 1:7.0.0
98Obsoletes: XFree86-Xserver < 1:7.0.0
99Obsoletes: XFree86-modules < 1:7.0.0
236ed19c 100Obsoletes: Xserver
ef5a4e65 101BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102
103%description
5cd265ab
JB
104Xorg server is a generally used X server which uses display hardware.
105It requires proper driver for your display hardware.
ef5a4e65 106
60cc86be
JR
107%description -l pl.UTF-8
108Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie
109graficznej. Do działania wymaga odpowiedniego sterownika.
5cd265ab
JB
110
111%package -n xorg-xserver-Xdmx
112Summary: Xdmx - distributed multi-head X server
46c7e5bc 113Summary(pl.UTF-8): Xdmx - rozproszony, wielomonitorowy serwer X
5cd265ab
JB
114Group: X11/Servers
115
116%description -n xorg-xserver-Xdmx
117Xdmx - distributed multi-head X server.
118
60cc86be 119%description -n xorg-xserver-Xdmx -l pl.UTF-8
5cd265ab
JB
120Xdmx - rozproszony, wielomonitorowy serwer X.
121
122%package -n xorg-xserver-Xnest
123Summary: Xnest - nested X server
46c7e5bc 124Summary(pl.UTF-8): Xnest - zagnieżdżony serwer X
5cd265ab 125Group: X11/Servers
765b36a9
AM
126Obsoletes: X11-Xnest < 1:7.0.0
127Obsoletes: XFree86-Xnest < 1:7.0.0
236ed19c 128Obsoletes: Xserver-Xnest
5cd265ab
JB
129
130%description -n xorg-xserver-Xnest
131Xnest is an X Window System server which runs in an X window. Xnest is
132a 'nested' window server, actually a client of the real X server,
133which manages windows and graphics requests for Xnest, while Xnest
134manages the windows and graphics requests for its own clients.
135
60cc86be 136%description -n xorg-xserver-Xnest -l pl.UTF-8
5cd265ab 137Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
60cc86be
JR
138zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak
139serwer X dla własnych klientów.
5cd265ab 140
60cc86be
JR
141%description -n xorg-xserver-Xnest -l ru.UTF-8
142Xnest - это сервер X Window System, который работает в окне X. На
143самом деле это клиент реального X-сервера, который управляет окнами и
144графическими запросами для Xnest в то время, как Xnest управляет
145окнами и графическими запросами для своих собственных клиентов.
5cd265ab 146
60cc86be
JR
147%description -n xorg-xserver-Xnest -l uk.UTF-8
148Xnest - це сервер X Window System, який працює у вікні X. Фактично це
149клієнт реального X-сервера, який керує вікнами та графічними запитами
150для Xnest в той час, як Xnest керує вікнами та графічними запитами для
151своїх власних клієнтів.
5cd265ab
JB
152
153%package -n xorg-xserver-Xprt
154Summary: Xprt - Xprint server for X
46c7e5bc 155Summary(pl.UTF-8): Xprt - serwer Xprint dla X
5cd265ab 156Group: X11/Servers
765b36a9
AM
157Obsoletes: X11-Xprt < 1:7.0.0
158Obsoletes: XFree86-Xprt < 1:7.0.0
5cd265ab
JB
159
160%description -n xorg-xserver-Xprt
161Xprt is the Xprint print server for X Window System for non display
162devices such as printers and fax machines.
163
60cc86be
JR
164%description -n xorg-xserver-Xprt -l pl.UTF-8
165Xprt to serwer wydruków Xprint dla X Window System dla urządzeń nie
166wyświetlających, takich jak drukarki czy faksy.
5cd265ab
JB
167
168%package -n xorg-xserver-Xvfb
169Summary: Xvfb - virtual framebuffer X server
46c7e5bc 170Summary(pl.UTF-8): Xvfb - serwer X z wirtualnym framebufferem
5cd265ab 171Group: X11/Servers
765b36a9
AM
172Obsoletes: X11-Xvfb < 1:7.0.0
173Obsoletes: XFree86-Xvfb < 1:7.0.0
5cd265ab
JB
174
175%description -n xorg-xserver-Xvfb
176Xvfb (X Virtual Frame Buffer) is an X Window System server that is
177capable of running on machines with no display hardware and no
178physical input devices. Xvfb emulates a dumb framebuffer using virtual
179memory. Xvfb doesn't open any devices, but behaves otherwise as an X
180display. Xvfb is normally used for testing servers. Using Xvfb, the
181mfb or cfb code for any depth can be exercised without using real
182hardware that supports the desired depths. Xvfb has also been used to
183test X clients against unusual depths and screen configurations, to do
184batch processing with Xvfb as a background rendering engine, to do
185load testing, to help with porting an X server to a new platform, and
186to provide an unobtrusive way of running applications which really
187don't need an X server but insist on having one.
188
60cc86be
JR
189%description -n xorg-xserver-Xvfb -l pl.UTF-8
190Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać
191na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń
192wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest
193używany do testowania serwerów X, może też być używany do testowania
194klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć
195Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają
196serwera X, ale odmawiają uruchomienia bez niego.
ef5a4e65 197
0796e6da 198%package devel
199Summary: Header files for X.org server
46c7e5bc 200Summary(pl.UTF-8): Pliki nagłówkowe dla servera X.org
0796e6da 201Group: X11/Development/Libraries
be25dd56 202Requires: libdrm-devel >= 2.2.0
7cab8652
JB
203Requires: xorg-proto-fontsproto-devel
204Requires: xorg-proto-renderproto-devel
205Requires: xorg-proto-videoproto-devel
206Requires: xorg-proto-xextproto-devel
765b36a9
AM
207Obsoletes: X11-Xserver-devel < 1:7.0.0
208Obsoletes: X11-XFree86-devel < 1:7.0.0
0796e6da 209
210%description devel
211Header files for X.org server.
212
60cc86be
JR
213%description devel -l pl.UTF-8
214Pliki nagłówkowe dla serwera X.org.
0796e6da 215
f6f4cf9a
PS
216%package -n xorg-xserver-libglx
217Summary: GLX extension library fo X.org server
46c7e5bc 218Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
f6f4cf9a 219Group: X11/Servers
927af2d7
JB
220Requires: %{name} = %{version}-%{release}
221Provides: xorg-xserver-libglx(glapi) = %{mesa_version}
f6f4cf9a
PS
222Provides: xorg-xserver-modules-libglx
223Obsoletes: xorg-driver-video-nvidia
224
225%description -n xorg-xserver-libglx
226GLX extension library fo X.org server.
227
60cc86be 228%description -n xorg-xserver-libglx -l pl.UTF-8
f6f4cf9a
PS
229Biblioteka rozszerzenia GLX dla serwera X.org.
230
ef5a4e65 231%prep
232%setup -q -a1 -n xorg-server-%{version}
ec5b0b88 233%patch0 -p1
f161e7b1 234%patch1 -p0
515d2b99
AM
235%ifarch %{x8664} athlon i486
236%patch2 -p1
237%endif
ef5a4e65 238
239%build
ff624999 240%{__libtoolize}
ef5a4e65 241%{__aclocal}
242%{__autoconf}
243%{__autoheader}
244%{__automake}
245%configure \
06015eac
AM
246 --with-os-name="PLD/Linux" \
247 --with-os-vendor="PLD/Team" \
ff624999 248 --enable-dga \
da97cb2c 249 --enable-builddocs \
ff624999
JB
250 --enable-lbx \
251 --enable-xevie \
f161e7b1
AM
252 --enable-dmx \
253 --enable-xprint \
8d40fd8d 254 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
f161e7b1 255 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
27d22b31
JB
256 --with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
257 --with-xkb-output=/var/lib/xkb
be25dd56 258
ef5a4e65 259%{__make}
260
261%install
262rm -rf $RPM_BUILD_ROOT
263
264%{__make} install \
30a17203 265 DESTDIR=$RPM_BUILD_ROOT
ef5a4e65 266
3edafdd8
JB
267install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
268install -d $RPM_BUILD_ROOT/etc/security/console.apps
a15a709b 269install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
e27e2be3 270install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
271install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
272install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
3edafdd8
JB
273:> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
274:> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
275
944f790e 276rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
0796e6da 277
ef5a4e65 278%clean
279rm -rf $RPM_BUILD_ROOT
280
281%files
282%defattr(644,root,root,755)
88e91f7d 283%doc COPYING
5cd265ab 284%attr(755,root,root) %{_bindir}/X
934be85d
PS
285%attr(755,root,root) %{_bindir}/Xorg
286%attr(4755,root,root) %{_bindir}/Xwrapper
507f68f4 287%attr(755,root,root) %{_bindir}/cvt
5cd265ab
JB
288%attr(755,root,root) %{_bindir}/gtf
289%attr(755,root,root) %{_bindir}/in[bwl]
290%attr(755,root,root) %{_bindir}/ioport
291%attr(755,root,root) %{_bindir}/out[bwl]
292%attr(755,root,root) %{_bindir}/pcitweak
293%attr(755,root,root) %{_bindir}/scanpci
f161e7b1 294%attr(755,root,root) %{_bindir}/xorgcfg
5cd265ab 295%attr(755,root,root) %{_bindir}/xorgconfig
f161e7b1
AM
296%{_includedir}/X11/bitmaps/*
297%{_includedir}/X11/pixmaps
ff624999 298%{_libdir}/X11/Cards
62bc11ce 299%{_libdir}/X11/Options
944f790e
JB
300%dir %{_libdir}/xorg
301%dir %{_libdir}/xorg/modules
a15a709b 302%dir %{_libdir}/xorg/modules/dri
79e47f41 303%dir %{_libdir}/xorg/modules/drivers
944f790e 304%dir %{_libdir}/xorg/modules/extensions
30a17203
JB
305%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
306%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
944f790e 307%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
30a17203 308%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
30a17203
JB
309%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
310%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
311%dir %{_libdir}/xorg/modules/fonts
312%attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
79e47f41 313%dir %{_libdir}/xorg/modules/input
944f790e 314%dir %{_libdir}/xorg/modules/linux
30a17203 315%attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
944f790e
JB
316%dir %{_libdir}/xorg/modules/multimedia
317%attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
79e47f41 318%attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
565bbfd3
JB
319%dir %{_libdir}/xserver
320%{_libdir}/xserver/SecurityPolicy
f161e7b1 321%{_datadir}/X11/app-defaults/XOrgCfg
27d22b31
JB
322%dir /var/lib/xkb
323/var/lib/xkb/README.compiled
3edafdd8
JB
324%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
325%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
326%config(missingok) /etc/security/console.apps/xserver
30a17203 327%{_mandir}/man1/Xorg.1x*
5cd265ab 328%{_mandir}/man1/Xserver.1x*
507f68f4 329%{_mandir}/man1/cvt.1*
30a17203
JB
330%{_mandir}/man1/gtf.1x*
331%{_mandir}/man1/pcitweak.1x*
332%{_mandir}/man1/scanpci.1x*
f161e7b1 333%{_mandir}/man1/xorgcfg.1x*
5cd265ab 334%{_mandir}/man1/xorgconfig.1*
88e91f7d 335%{_mandir}/man4/exa.4*
30a17203 336%{_mandir}/man4/fbdevhw.4*
5cd265ab
JB
337%{_mandir}/man5/xorg.conf.5x*
338
339%files -n xorg-xserver-Xdmx
340%defattr(644,root,root,755)
341%attr(755,root,root) %{_bindir}/Xdmx
342%attr(755,root,root) %{_bindir}/dmxaddinput
343%attr(755,root,root) %{_bindir}/dmxaddscreen
344%attr(755,root,root) %{_bindir}/dmxreconfig
345%attr(755,root,root) %{_bindir}/dmxresize
346%attr(755,root,root) %{_bindir}/dmxrminput
347%attr(755,root,root) %{_bindir}/dmxrmscreen
348%attr(755,root,root) %{_bindir}/dmxtodmx
349%attr(755,root,root) %{_bindir}/dmxwininfo
350%attr(755,root,root) %{_bindir}/vdltodmx
351%attr(755,root,root) %{_bindir}/xdmx
352%attr(755,root,root) %{_bindir}/xdmxconfig
30a17203
JB
353%{_mandir}/man1/Xdmx.1x*
354%{_mandir}/man1/dmxtodmx.1x*
355%{_mandir}/man1/vdltodmx.1x*
356%{_mandir}/man1/xdmxconfig.1x*
5cd265ab
JB
357
358%files -n xorg-xserver-Xnest
359%defattr(644,root,root,755)
360%attr(755,root,root) %{_bindir}/Xnest
30a17203 361%{_mandir}/man1/Xnest.1x*
5cd265ab
JB
362
363%files -n xorg-xserver-Xprt
364%defattr(644,root,root,755)
365%attr(755,root,root) %{_bindir}/Xprt
366%{_libdir}/X11/xserver
30a17203 367%{_mandir}/man1/Xprt.1x*
5cd265ab
JB
368
369%files -n xorg-xserver-Xvfb
370%defattr(644,root,root,755)
371%attr(755,root,root) %{_bindir}/Xvfb
30a17203 372%{_mandir}/man1/Xvfb.1x*
0796e6da 373
374%files devel
375%defattr(644,root,root,755)
376%{_includedir}/xorg
e27e2be3 377%{_libdir}/libxf86config.a
565bbfd3 378%{_aclocaldir}/xorg-server.m4
0796e6da 379%{_pkgconfigdir}/xorg-server.pc
f6f4cf9a
PS
380
381%files -n xorg-xserver-libglx
0a2e6c9d 382%defattr(644,root,root,755)
f6f4cf9a 383%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
This page took 0.164628 seconds and 4 git commands to generate.