]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blobdiff - xorg-xserver-server.spec
- require xorg-font-font-misc-misc-base, which contains fixed font
[packages/xorg-xserver-server.git] / xorg-xserver-server.spec
index 70111a94ff9d19408d6dcedc7215097cf3490577..4fc3732ea0dbfb6b765d3c989978e3a4140f664c 100644 (file)
@@ -1,38 +1,41 @@
-# TODO:
-# - Xdmx DDX (now disabled in configure)
-#
 Summary:       X.org server
 Summary(pl):   Serwer X.org
 Name:          xorg-xserver-server
-Version:       0.99.2
-Release:       0.1
+Version:       1.0.1
+Release:       0.6
 License:       MIT
-Group:         X11/Applications
-Source0:       http://xorg.freedesktop.org/releases/X11R7.0-RC1/xserver/xorg-server-%{version}.tar.bz2
-# Source0-md5: 8467f86e0832a5c532b30387c82d1e49
-Source1:       http://dl.sourceforge.net/mesa3d/MesaLib-6.3.2.tar.bz2
-# Source1-md5: 0df27701df0924d17ddf41185efa8ce1
+Group:         X11/Servers
+Source0:       http://xorg.freedesktop.org/releases/X11R7.0/src/xserver/xorg-server-%{version}.tar.bz2
+# Source0-md5: aa0ccb851ec5f7f9b132581d9a5827e4
+Source1:       http://dl.sourceforge.net/mesa3d/MesaLib-6.4.2.tar.bz2
+# Source1-md5: 7674d2c603b5834259e4e5a820cefd5b
+Source2:       xserver.pamd
 Patch0:                %{name}-ncurses.patch
+Patch1:                %{name}-symlinks.patch
+Patch2:                %{name}-xwrapper.patch
+Patch3:                %{name}-compositefastpath.patch
 URL:           http://xorg.freedesktop.org/
 # for glx headers
-BuildRequires: Mesa-devel
+BuildRequires: Mesa-libGL-devel
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: cpp
 BuildRequires: libdrm-devel
 BuildRequires: libtool
 BuildRequires: ncurses-devel
+BuildRequires: pam-devel
 BuildRequires: perl-base
 BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXau-devel
 BuildRequires: xorg-lib-libXaw-devel
 BuildRequires: xorg-lib-libXdmcp-devel
+BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXfont-devel
 BuildRequires: xorg-lib-libXi-devel
-BuildRequires: xorg-lib-libXmu-devel
-BuildRequires: xorg-lib-libXpm-devel
+BuildRequires: xorg-lib-libXrender-devel
 BuildRequires: xorg-lib-libXres-devel
-BuildRequires: xorg-lib-libXt-devel
+BuildRequires: xorg-lib-libXt-devel >= 1.0.0
 BuildRequires: xorg-lib-libXtst-devel
 BuildRequires: xorg-lib-libXxf86dga-devel
 BuildRequires: xorg-lib-libXxf86misc-devel
@@ -46,6 +49,7 @@ BuildRequires:        xorg-lib-xtrans-devel
 BuildRequires: xorg-proto-bigreqsproto-devel
 BuildRequires: xorg-proto-compositeproto-devel
 BuildRequires: xorg-proto-damageproto-devel
+BuildRequires: xorg-proto-dmxproto-devel
 BuildRequires: xorg-proto-evieext-devel
 BuildRequires: xorg-proto-fixesproto-devel
 BuildRequires: xorg-proto-fontsproto-devel
@@ -67,18 +71,118 @@ BuildRequires:     xorg-proto-xf86miscproto-devel
 BuildRequires: xorg-proto-xf86vidmodeproto-devel
 BuildRequires: xorg-proto-xineramaproto-devel
 BuildRequires: xorg-proto-xproto-devel
-BuildRequires: xorg-util-util-macros >= 0.99.1
+BuildRequires: xorg-util-util-macros >= 0.99.2
 # for rgb.txt
-Requires:      xorg-app-rgb
+Requires:      xorg-app-rgb >= 0.99.3
+Requires:      xorg-app-xkbcomp
 # just for %{_includedir}/bitmaps dir
 Requires:      xorg-data-xbitmaps
+Requires:      xorg-data-xkbdata
+# xserver requires default fixed and cursosr fonts.
+Requires:      xorg-font-font-alias
+Requires:      xorg-font-font-cursor-misc
+Requires:      xorg-font-font-misc-misc-base
+# for new app-defaults location
+Requires:      xorg-lib-libXt >= 1.0.0
+Obsoletes:     X11-Xserver
+Obsoletes:     X11-modules
+Obsoletes:     XFree86-Xserver
+Obsoletes:     XFree86-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-X.org server.
+Xorg server is a generally used X server which uses display hardware.
+It requires proper driver for your display hardware.
 
 %description -l pl
-Serwer X.org.
+Serwer Xorg to podstawowy serwer X wy¶wietlaj±cy obraz na karcie
+graficznej. Do dzia³ania wymaga odpowiedniego sterownika.
+
+%package -n xorg-xserver-Xdmx
+Summary:       Xdmx - distributed multi-head X server
+Summary(pl):   Xdmx - rozproszony, wielomonitorowy serwer X
+Group:         X11/Servers
+
+%description -n xorg-xserver-Xdmx
+Xdmx - distributed multi-head X server.
+
+%description -n xorg-xserver-Xdmx -l pl
+Xdmx - rozproszony, wielomonitorowy serwer X.
+
+%package -n xorg-xserver-Xnest
+Summary:       Xnest - nested X server
+Summary(pl):   Xnest - zagnie¿d¿ony serwer X
+Group:         X11/Servers
+Obsoletes:     X11-Xnest
+Obsoletes:     XFree86-Xnest
+
+%description -n xorg-xserver-Xnest
+Xnest is an X Window System server which runs in an X window. Xnest is
+a 'nested' window server, actually a client of the real X server,
+which manages windows and graphics requests for Xnest, while Xnest
+manages the windows and graphics requests for its own clients.
+
+%description -n xorg-xserver-Xnest -l pl
+Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
+zachowuje siê jak klient X w stosunku do prawdziwego serwera X, a jak
+serwer X dla w³asnych klientów.
+
+%description -n xorg-xserver-Xnest -l ru
+Xnest - ÜÔÏ ÓÅÒ×ÅÒ X Window System, ËÏÔÏÒÙÊ ÒÁÂÏÔÁÅÔ × ÏËÎÅ X. îÁ
+ÓÁÍÏÍ ÄÅÌÅ ÜÔÏ ËÌÉÅÎÔ ÒÅÁÌØÎÏÇÏ X-ÓÅÒ×ÅÒÁ, ËÏÔÏÒÙÊ ÕÐÒÁ×ÌÑÅÔ ÏËÎÁÍÉ É
+ÇÒÁÆÉÞÅÓËÉÍÉ ÚÁÐÒÏÓÁÍÉ ÄÌÑ Xnest × ÔÏ ×ÒÅÍÑ, ËÁË Xnest ÕÐÒÁ×ÌÑÅÔ
+ÏËÎÁÍÉ É ÇÒÁÆÉÞÅÓËÉÍÉ ÚÁÐÒÏÓÁÍÉ ÄÌÑ Ó×ÏÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ËÌÉÅÎÔÏ×.
+
+%description -n xorg-xserver-Xnest -l uk
+Xnest - ÃÅ ÓÅÒ×ÅÒ X Window System, ÑËÉÊ ÐÒÁÃÀ¤ Õ ×¦ËΦ X. æÁËÔÉÞÎÏ ÃÅ
+Ë̦¤ÎÔ ÒÅÁÌØÎÏÇÏ X-ÓÅÒ×ÅÒÁ, ÑËÉÊ ËÅÒÕ¤ ×¦ËÎÁÍÉ ÔÁ ÇÒÁƦÞÎÉÍÉ ÚÁÐÉÔÁÍÉ
+ÄÌÑ Xnest × ÔÏÊ ÞÁÓ, ÑË Xnest ËÅÒÕ¤ ×¦ËÎÁÍÉ ÔÁ ÇÒÁƦÞÎÉÍÉ ÚÁÐÉÔÁÍÉ ÄÌÑ
+Ó×ϧȠ×ÌÁÓÎÉÈ Ë̦¤ÎÔ¦×.
+
+%package -n xorg-xserver-Xprt
+Summary:       Xprt - Xprint server for X
+Summary(pl):   Xprt - serwer Xprint dla X
+Group:         X11/Servers
+Obsoletes:     X11-Xprt
+Obsoletes:     XFree86-Xprt
+
+%description -n xorg-xserver-Xprt
+Xprt is the Xprint print server for X Window System for non display
+devices such as printers and fax machines.
+
+%description -n xorg-xserver-Xprt -l pl
+Xprt to serwer wydruków Xprint dla X Window System dla urz±dzeñ nie
+wy¶wietlaj±cych, takich jak drukarki czy faksy.
+
+%package -n xorg-xserver-Xvfb
+Summary:       Xvfb - virtual framebuffer X server
+Summary(pl):   Xvfb - serwer X z wirtualnym framebufferem
+Group:         X11/Servers
+Obsoletes:     X11-Xvfb
+Obsoletes:     XFree86-Xvfb
+
+%description -n xorg-xserver-Xvfb
+Xvfb (X Virtual Frame Buffer) is an X Window System server that is
+capable of running on machines with no display hardware and no
+physical input devices. Xvfb emulates a dumb framebuffer using virtual
+memory. Xvfb doesn't open any devices, but behaves otherwise as an X
+display. Xvfb is normally used for testing servers. Using Xvfb, the
+mfb or cfb code for any depth can be exercised without using real
+hardware that supports the desired depths. Xvfb has also been used to
+test X clients against unusual depths and screen configurations, to do
+batch processing with Xvfb as a background rendering engine, to do
+load testing, to help with porting an X server to a new platform, and
+to provide an unobtrusive way of running applications which really
+don't need an X server but insist on having one.
+
+%description -n xorg-xserver-Xvfb -l pl
+Xvfb (X Virtual Frame Buffer) jest serwerem X, który mo¿na uruchamiaæ
+na maszynach bez urz±dzeñ wy¶wietlaj±cych ani fizycznych urz±dzeñ
+wej¶ciowych. Xvfb emuluje prosty framebuffer w pamiêci. Zwykle jest
+u¿ywany do testowania serwerów X, mo¿e te¿ byæ u¿ywany do testowania
+klientów X w rzadko u¿ywanych konfiguracjach ekranu. Mo¿na te¿ u¿yæ
+Xvfb do uruchomienia aplikacji, które w rzeczywisto¶ci nie wymagaj±
+serwera X, ale odmawiaj± uruchomienia bez niego.
 
 %package devel
 Summary:       Header files for X.org server
@@ -89,6 +193,8 @@ Requires:    xorg-proto-fontsproto-devel
 Requires:      xorg-proto-renderproto-devel
 Requires:      xorg-proto-videoproto-devel
 Requires:      xorg-proto-xextproto-devel
+Obsoletes:     X11-Xserver-devel
+Obsoletes:     X11-XFree86-devel
 
 %description devel
 Header files for X.org server.
@@ -99,6 +205,9 @@ Pliki nag
 %prep
 %setup -q -a1 -n xorg-server-%{version}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p0
+%patch3 -p0
 
 %build
 %{__libtoolize}
@@ -108,11 +217,11 @@ Pliki nag
 %{__automake}
 %configure \
        --enable-dga \
+       --enable-builddocs \
        --enable-lbx \
        --enable-xevie \
-       --enable-xtrap \
        --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
-       --with-mesa-source="`pwd`/Mesa-6.3.2"
+       --with-mesa-source="`pwd`/Mesa-6.4.2"
 
 %{__make}
 
@@ -120,9 +229,12 @@ Pliki nag
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       drivermandir=%{_mandir}/man4 \
-       filemandir=%{_mandir}/man5
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
+install -d $RPM_BUILD_ROOT/etc/security/console.apps
+:> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
+:> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
 
@@ -131,31 +243,99 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog
-%attr(755,root,root) %{_bindir}/*
+%doc COPYING ChangeLog
+%attr(755,root,root) %{_bindir}/X
+%attr(755,root,root) %{_bindir}/Xorg
+%attr(4755,root,root) %{_bindir}/Xwrapper
+%attr(755,root,root) %{_bindir}/getconfig
+%attr(755,root,root) %{_bindir}/getconfig.pl
+%attr(755,root,root) %{_bindir}/gtf
+%attr(755,root,root) %{_bindir}/in[bwl]
+%attr(755,root,root) %{_bindir}/ioport
+%attr(755,root,root) %{_bindir}/out[bwl]
+%attr(755,root,root) %{_bindir}/pcitweak
+%attr(755,root,root) %{_bindir}/scanpci
+%attr(755,root,root) %{_bindir}/xorgcfg
+%attr(755,root,root) %{_bindir}/xorgconfig
 %{_includedir}/X11/bitmaps/*
 %{_includedir}/X11/pixmaps
 %{_libdir}/X11/Cards
-%{_libdir}/X11/app-defaults/*
+%{_libdir}/X11/Options
 %{_libdir}/X11/getconfig
-%{_libdir}/X11/xserver
-# broken symlinks:
-%exclude %{_libdir}/X11/xserver/C/print
 %dir %{_libdir}/xorg
 %dir %{_libdir}/xorg/modules
 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
 %dir %{_libdir}/xorg/modules/extensions
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
+%dir %{_libdir}/xorg/modules/fonts
+%attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
 %dir %{_libdir}/xorg/modules/linux
 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
+%attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
 %dir %{_libdir}/xorg/modules/multimedia
 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
+%dir %{_libdir}/xserver
+%{_libdir}/xserver/SecurityPolicy
+%{_datadir}/X11/app-defaults/XOrgCfg
 %{_datadir}/X11/xkb/compiled
-%{_mandir}/man1/*.1*
-%{_mandir}/man4/*.4x*
-%{_mandir}/man5/*.5x*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
+%config(missingok) /etc/security/console.apps/xserver
+%{_mandir}/man1/Xorg.1x*
+%{_mandir}/man1/Xserver.1x*
+%{_mandir}/man1/getconfig.1x*
+%{_mandir}/man1/gtf.1x*
+%{_mandir}/man1/pcitweak.1x*
+%{_mandir}/man1/scanpci.1x*
+%{_mandir}/man1/xorgcfg.1x*
+%{_mandir}/man1/xorgconfig.1*
+%{_mandir}/man4/fbdevhw.4*
+%{_mandir}/man5/getconfig.5x*
+%{_mandir}/man5/xorg.conf.5x*
+
+%files -n xorg-xserver-Xdmx
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/Xdmx
+%attr(755,root,root) %{_bindir}/dmxaddinput
+%attr(755,root,root) %{_bindir}/dmxaddscreen
+%attr(755,root,root) %{_bindir}/dmxreconfig
+%attr(755,root,root) %{_bindir}/dmxresize
+%attr(755,root,root) %{_bindir}/dmxrminput
+%attr(755,root,root) %{_bindir}/dmxrmscreen
+%attr(755,root,root) %{_bindir}/dmxtodmx
+%attr(755,root,root) %{_bindir}/dmxwininfo
+%attr(755,root,root) %{_bindir}/vdltodmx
+%attr(755,root,root) %{_bindir}/xdmx
+%attr(755,root,root) %{_bindir}/xdmxconfig
+%{_mandir}/man1/Xdmx.1x*
+%{_mandir}/man1/dmxtodmx.1x*
+%{_mandir}/man1/vdltodmx.1x*
+%{_mandir}/man1/xdmxconfig.1x*
+
+%files -n xorg-xserver-Xnest
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/Xnest
+%{_mandir}/man1/Xnest.1x*
+
+%files -n xorg-xserver-Xprt
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/Xprt
+%{_libdir}/X11/xserver
+%{_mandir}/man1/Xprt.1x*
+
+%files -n xorg-xserver-Xvfb
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/Xvfb
+%{_mandir}/man1/Xvfb.1x*
 
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/xorg
+%{_aclocaldir}/xorg-server.m4
 %{_pkgconfigdir}/xorg-server.pc
This page took 0.087527 seconds and 4 git commands to generate.