]> git.pld-linux.org Git - packages/XFree86.git/blobdiff - XFree86.spec
- formatting
[packages/XFree86.git] / XFree86.spec
index 512c31bed1f54f9e2d6a3cec1f6ecb857878477b..90323c4f724fda29b0d52003c12a1f8ccf0e399d 100644 (file)
@@ -22,14 +22,16 @@ Summary(ru):        
 Summary(uk):   âÁÚÏצ ÛÒÉÆÔÉ, ÐÒÏÇÒÁÍÉ ÔÁ ÄÏËÕÍÅÎÔÁæѠÄÌÑ ÒÏÂÏÞϧ ÓÔÁÎ槠ЦĠX
 Summary(zh_CN):        XFree86 ´°¿Úϵͳ·þÎñÆ÷ºÍ»ù±¾³ÌÐò
 Name:          XFree86
-Version:       4.3.99.4
+Version:       4.3.99.5
 Release:       0.1
 License:       MIT
 Group:         X11/XFree86
 Source0:       ftp://ftp.xfree86.org/pub/XFree86/develsnaps/%{name}-%{version}.tar.bz2
+# Source0-md5: d01d01a7abd4f0764e20ef493f76a3b2
 #Source1:      ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/X430src-2.tgz
 #Source2:      ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/X430src-3.tgz
 Source3:       ftp://ftp.pld.org.pl/software/xinit/xdm-xinitrc-0.2.tar.bz2
+# Source3-md5: 0a15b1c374256b5cad7961807baa3896
 Source4:       xdm.pamd
 Source5:       xserver.pamd
 Source6:       xdm.init
@@ -55,7 +57,9 @@ Source35:     xclock.png
 Source36:      oclock.png
 Source37:      xconsole.png
 Source38:      http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-Xman-pages.tar.bz2
+# Source38-md5: a184106bb83cb27c6963944d9243ac3f
 Source39:      cvs://anonymous@cvs.gatos.sourceforge.net/cvsroot/gatos/ati.2-20021001.tar.bz2
+# Source39-md5: 8d43c01d364576c195a5294279f92566
 Patch0:                %{name}-PLD.patch
 Patch1:                %{name}-HasZlib.patch
 Patch2:                %{name}-DisableDebug.patch
@@ -453,6 +457,96 @@ systemie i wybierania ich w zale
 
 Ten pakiet zawiera biblioteki statyczne.
 
+%package render
+Summary:       X Render Extension
+Summary(pl):   Rozszerzenie X Render
+Group:          X11/Development/Libraries
+Requires:       XFree86-devel
+
+%description render
+This package contains header files and documentation for the X render
+extension.  Library and server implementations are separate.
+
+%description render -l pl
+Pakiet zawiera pliki nag³ówkowe i dokumenetacjê dla rozszerzenia
+X render. Biblioteka i implementacja serwera znajduj± siê w osobnym
+pakiecie.
+
+%package xrender
+Summary:        X Render Extension
+Summary(pl):    Rozszerzenie X Render
+Group:          X11/Libraries
+Requires:      %{name}-libs = %{version}
+
+%description xrender
+X render library.
+
+%description xrender -l pl
+Biblioteka X render.
+
+%package xrender-devel
+Summary:        X Render Extension headers
+Summary(pl):    Pliki nag³ówkowe rozszerzenia X Render
+Group:          X11/Libraries
+Requires:      %{name}-devel = %{version}
+Requires:      %{name}-render = %{version}
+Requires:      %{name}-xrender = %{version}
+
+%description xrender-devel
+X render library headers.
+
+%description xrender-devel -l pl
+Pliki nag³ówkowe biblioteki X render.
+
+%package xrender-static
+Summary:        X Render static library
+Summary(pl):    Biblioteka statyczna X render
+Group:          X11/Libraries/Development
+Requires:      %{name}-xrender-devel = %{version}
+
+%description xrender-static
+X render static library.
+
+%description xrender-static -l pl
+Biblioteka statyczna X render.
+
+%package xcursor
+Summary:        X cursor library
+Summary(pl):    Biblioteka X cursor
+Group:          X11/Libraries
+Requires:      %{name}-libs = %{version}
+
+%description xcursor
+X cursor library.
+
+%description xcursor -l pl
+Biblioteka X cursor.
+
+%package xcursor-devel
+Summary:        X cursor library headers
+Summary(pl):    Pliki nag³ówkowe biblioteki X cursor
+Group:          X11/Libraries/Development
+Requires:      %{name}-devel = %{version}
+Requires:      %{name}-xcursor = %{version}
+
+%description xcursor-devel
+X cursor library headers.
+
+%description xcursor-devel -l pl
+Pliki nag³ówkowe biblioteki X cursor.
+
+%package xcursor-static
+Summary:        X cursor static library
+Summary(pl):    Biblioteka statyczna X cursor
+Group:          X11/Libraries/Development
+Requires:      %{name}-xcursor-devel = %{version}
+
+%description xcursor-static
+X cursor static library.
+
+%description xcursor-static -l pl
+Biblioteka statyczna X cursor.
+
 %package OpenGL-core
 Summary:       OpenGL support for X11R6
 Summary(pl):   Wsparcie OpenGL dla systemu X11R6
@@ -499,7 +593,6 @@ Base headers (only gl?.h) for OpenGL for X11R6.
 %description OpenGL-devel-base -l pl
 Podstawowe pliki nag³ówkowe (tylko gl?.h) OpenGL dla systemu X11R6.
 
-
 %package OpenGL-libs
 Summary:       OpenGL libraries for X11R6
 Summary(pl):   Biblioteki OpenGL dla systemu X11R6
@@ -1873,6 +1966,10 @@ System. 
 
 rm -f xc/config/cf/host.def
 
+#Remove fonts dir for faster build
+# only valid for snapshots
+rm -rf xc/fonts
+
 # New ATI drivers
 # cd xc/programs/Xserver/hw/xfree86/drivers
 #%bzcat %{SOURCE39} | tar x
@@ -2131,6 +2228,13 @@ if [ "$1" = "0" ]; then
        /usr/sbin/groupdel xfs 2>/dev/null
 fi
 
+
+%post xrender -p /sbin/ldconfig
+%postun xrender -p /sbin/ldconfig
+
+%post xcursor -p /sbin/ldconfig
+%postun xcursor -p /sbin/ldconfig
+
 #--- %files --------------------------
 
 %files
@@ -2491,7 +2595,7 @@ fi
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bdftopcf
-%attr(755,root,root) %{_bindir}/xcursor-config
+#%attr(755,root,root) %{_bindir}/xcursor-config
 %attr(755,root,root) %{_libdir}/libX[1Ta-eg-t]*.so
 %attr(755,root,root) %{_libdir}/libXfont*.so
 %attr(755,root,root) %{_libdir}/libI*.so
@@ -2504,7 +2608,6 @@ fi
 %{_libdir}/libI810XvMC.a
 %{_libdir}/liboldX.a
 %{_libdir}/libXau.a
-%{_libdir}/libXcursor.a
 %{_libdir}/libXdmcp.a
 %{_libdir}/libxf86config.a
 %{_libdir}/libXfontcache.a
@@ -2532,10 +2635,14 @@ fi
 %{_includedir}/X11/extensions/XI.h
 %{_includedir}/X11/extensions/XI[^E]*.h
 %{_includedir}/X11/fonts
-%{_includedir}/X11/Xcursor
 %{_includedir}/xf86*.h
 %{_libdir}/X11/config
-%{_pkgconfigdir}/xcursor.pc
+
+%exclude %{_includedir}/X11/extensions/Xrender.h
+%exclude %{_includedir}/X11/extensions/render.h
+%exclude %{_includedir}/X11/extensions/renderproto.h
+%exclude %{_libdir}/libXrender.so
+%exclude %{_libdir}/libXcursor.so
 
 %{_mandir}/man3/[A-EH-Z]*
 %exclude %{_mandir}/man3/Xft.3*
@@ -2859,6 +2966,7 @@ fi
 %files driver-via
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/modules/drivers/via_drv.o
+%{_mandir}/man4/via.4*
 %endif
 
 # Devel: sparc sparc64
@@ -2909,6 +3017,9 @@ fi
 %attr(755,root,root) %{_libdir}/libx*.so.*.*
 %attr(755,root,root) %{_libdir}/libXv.so.*.*
 
+%exclude %{_libdir}/libXrender.so.*.*
+%exclude %{_libdir}/libXcursor.so.*.*
+
 %files modules
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xkbcomp
@@ -2998,7 +3109,6 @@ fi
 %{_libdir}/libXmuu.a
 %{_libdir}/libXp.a
 %{_libdir}/libXpm.a
-%{_libdir}/libXrender.a
 %{_libdir}/libXt.a
 %{_libdir}/libXtst.a
 
@@ -3186,3 +3296,36 @@ fi
 %{_mandir}/man1/mkcfm.1*
 %{_mandir}/man1/xfsinfo.1*
 #%%{_mandir}/man1/xftcache.1*
+
+%files render
+%defattr(644,root,root,755)
+%{_includedir}/X11/extensions/render.h
+%{_includedir}/X11/extensions/renderproto.h
+
+%files xrender
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libXrender.so.*.*
+
+%files xrender-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libXrender.so
+%{_includedir}/X11/extensions/Xrender.h
+
+%files xrender-static
+%defattr(644,root,root,755)
+%{_libdir}/libXrender.a
+
+%files xcursor
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libXcursor.so.*.*
+
+%files xcursor-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/xcursor-config
+%attr(755,root,root) %{_libdir}/libXcursor.so
+%{_includedir}/X11/Xcursor
+%{_pkgconfigdir}/xcursor.pc
+
+%files xcursor-static
+%defattr(644,root,root,755)
+%{_libdir}/libXcursor.a
This page took 0.037432 seconds and 4 git commands to generate.