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