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