]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blame - xorg-xserver-server.spec
- devel R: pixman-devel
[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
40029729 217Requires: pixman-devel
7cab8652
JB
218Requires: xorg-proto-fontsproto-devel
219Requires: xorg-proto-renderproto-devel
220Requires: xorg-proto-videoproto-devel
221Requires: xorg-proto-xextproto-devel
765b36a9 222Obsoletes: X11-Xserver-devel < 1:7.0.0
855976cb 223Obsoletes: XFree86-Xserver-devel < 1:7.0.0
0796e6da 224
225%description devel
226Header files for X.org server.
227
60cc86be
JR
228%description devel -l pl.UTF-8
229Pliki nagłówkowe dla serwera X.org.
0796e6da 230
f6f4cf9a
PS
231%package -n xorg-xserver-libglx
232Summary: GLX extension library fo X.org server
46c7e5bc 233Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
f6f4cf9a 234Group: X11/Servers
927af2d7
JB
235Requires: %{name} = %{version}-%{release}
236Provides: xorg-xserver-libglx(glapi) = %{mesa_version}
f6f4cf9a 237Provides: xorg-xserver-modules-libglx
855976cb
JB
238Obsoletes: X11-OpenGL-core < 1:7.0.0
239Obsoletes: XFree86-OpenGL-core < 1:7.0.0
c0f85cf0 240Conflicts: xorg-driver-video-nvidia
f6f4cf9a
PS
241
242%description -n xorg-xserver-libglx
243GLX extension library fo X.org server.
244
60cc86be 245%description -n xorg-xserver-libglx -l pl.UTF-8
f6f4cf9a
PS
246Biblioteka rozszerzenia GLX dla serwera X.org.
247
ef5a4e65 248%prep
249%setup -q -a1 -n xorg-server-%{version}
ec5b0b88 250%patch0 -p1
f161e7b1 251%patch1 -p0
6097c728 252%ifarch %{x8664} i486
5f6b1086
AM
253%patch2 -p1
254%endif
ea15f388 255%patch3 -p1
ef5a4e65 256
257%build
ff624999 258%{__libtoolize}
ef5a4e65 259%{__aclocal}
260%{__autoconf}
261%{__autoheader}
262%{__automake}
263%configure \
06015eac
AM
264 --with-os-name="PLD/Linux" \
265 --with-os-vendor="PLD/Team" \
6118b827
AM
266 --enable-aiglx \
267 --enable-glx-tls \
ff624999 268 --enable-dga \
da97cb2c 269 --enable-builddocs \
ff624999
JB
270 --enable-lbx \
271 --enable-xevie \
f161e7b1
AM
272 --enable-dmx \
273 --enable-xprint \
8d40fd8d 274 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
f161e7b1 275 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
27d22b31
JB
276 --with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
277 --with-xkb-output=/var/lib/xkb
be25dd56 278
ef5a4e65 279%{__make}
280
281%install
282rm -rf $RPM_BUILD_ROOT
283
284%{__make} install \
30a17203 285 DESTDIR=$RPM_BUILD_ROOT
ef5a4e65 286
3edafdd8
JB
287install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
288install -d $RPM_BUILD_ROOT/etc/security/console.apps
a15a709b 289install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
e27e2be3 290install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
291install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
292install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
3edafdd8
JB
293:> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
294:> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
295
944f790e 296rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
0796e6da 297
ef5a4e65 298%clean
299rm -rf $RPM_BUILD_ROOT
300
301%files
302%defattr(644,root,root,755)
88e91f7d 303%doc COPYING
5cd265ab 304%attr(755,root,root) %{_bindir}/X
934be85d
PS
305%attr(755,root,root) %{_bindir}/Xorg
306%attr(4755,root,root) %{_bindir}/Xwrapper
507f68f4 307%attr(755,root,root) %{_bindir}/cvt
5cd265ab
JB
308%attr(755,root,root) %{_bindir}/gtf
309%attr(755,root,root) %{_bindir}/in[bwl]
310%attr(755,root,root) %{_bindir}/ioport
311%attr(755,root,root) %{_bindir}/out[bwl]
312%attr(755,root,root) %{_bindir}/pcitweak
313%attr(755,root,root) %{_bindir}/scanpci
5cd265ab 314%attr(755,root,root) %{_bindir}/xorgconfig
ff624999 315%{_libdir}/X11/Cards
62bc11ce 316%{_libdir}/X11/Options
944f790e
JB
317%dir %{_libdir}/xorg
318%dir %{_libdir}/xorg/modules
a15a709b 319%dir %{_libdir}/xorg/modules/dri
79e47f41 320%dir %{_libdir}/xorg/modules/drivers
944f790e 321%dir %{_libdir}/xorg/modules/extensions
30a17203
JB
322%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
323%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
944f790e 324%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
30a17203 325%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
30a17203
JB
326%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
327%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
328%dir %{_libdir}/xorg/modules/fonts
329%attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
79e47f41 330%dir %{_libdir}/xorg/modules/input
944f790e 331%dir %{_libdir}/xorg/modules/linux
30a17203 332%attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
944f790e
JB
333%dir %{_libdir}/xorg/modules/multimedia
334%attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
79e47f41 335%attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
565bbfd3
JB
336%dir %{_libdir}/xserver
337%{_libdir}/xserver/SecurityPolicy
27d22b31
JB
338%dir /var/lib/xkb
339/var/lib/xkb/README.compiled
3edafdd8
JB
340%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
341%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
342%config(missingok) /etc/security/console.apps/xserver
30a17203 343%{_mandir}/man1/Xorg.1x*
5cd265ab 344%{_mandir}/man1/Xserver.1x*
507f68f4 345%{_mandir}/man1/cvt.1*
30a17203
JB
346%{_mandir}/man1/gtf.1x*
347%{_mandir}/man1/pcitweak.1x*
348%{_mandir}/man1/scanpci.1x*
5cd265ab 349%{_mandir}/man1/xorgconfig.1*
88e91f7d 350%{_mandir}/man4/exa.4*
30a17203 351%{_mandir}/man4/fbdevhw.4*
5cd265ab 352%{_mandir}/man5/xorg.conf.5x*
ea15f388 353%{_mandir}/man5/SecurityPolicy.5x*
5cd265ab
JB
354
355%files -n xorg-xserver-Xdmx
356%defattr(644,root,root,755)
357%attr(755,root,root) %{_bindir}/Xdmx
358%attr(755,root,root) %{_bindir}/dmxaddinput
359%attr(755,root,root) %{_bindir}/dmxaddscreen
360%attr(755,root,root) %{_bindir}/dmxreconfig
361%attr(755,root,root) %{_bindir}/dmxresize
362%attr(755,root,root) %{_bindir}/dmxrminput
363%attr(755,root,root) %{_bindir}/dmxrmscreen
364%attr(755,root,root) %{_bindir}/dmxtodmx
365%attr(755,root,root) %{_bindir}/dmxwininfo
366%attr(755,root,root) %{_bindir}/vdltodmx
367%attr(755,root,root) %{_bindir}/xdmx
368%attr(755,root,root) %{_bindir}/xdmxconfig
30a17203
JB
369%{_mandir}/man1/Xdmx.1x*
370%{_mandir}/man1/dmxtodmx.1x*
371%{_mandir}/man1/vdltodmx.1x*
372%{_mandir}/man1/xdmxconfig.1x*
5cd265ab
JB
373
374%files -n xorg-xserver-Xnest
375%defattr(644,root,root,755)
376%attr(755,root,root) %{_bindir}/Xnest
30a17203 377%{_mandir}/man1/Xnest.1x*
5cd265ab
JB
378
379%files -n xorg-xserver-Xprt
380%defattr(644,root,root,755)
381%attr(755,root,root) %{_bindir}/Xprt
382%{_libdir}/X11/xserver
30a17203 383%{_mandir}/man1/Xprt.1x*
5cd265ab
JB
384
385%files -n xorg-xserver-Xvfb
386%defattr(644,root,root,755)
387%attr(755,root,root) %{_bindir}/Xvfb
30a17203 388%{_mandir}/man1/Xvfb.1x*
0796e6da 389
390%files devel
391%defattr(644,root,root,755)
392%{_includedir}/xorg
e27e2be3 393%{_libdir}/libxf86config.a
565bbfd3 394%{_aclocaldir}/xorg-server.m4
0796e6da 395%{_pkgconfigdir}/xorg-server.pc
f6f4cf9a
PS
396
397%files -n xorg-xserver-libglx
0a2e6c9d 398%defattr(644,root,root,755)
f6f4cf9a 399%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
This page took 0.133467 seconds and 4 git commands to generate.