Stefan Dirsch 2012-03-07 09:48:08 +00:00 committed by Git OBS Bridge
parent c1f94a64a7
commit 42fd13e4d7

View File

@ -14,6 +14,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libxcb
%define lname libxcb1
Version: 1.8
@ -21,24 +24,24 @@ Release: 0
Summary: X11 core protocol C library
License: MIT
Group: Development/Libraries/C and C++
URL: http://xcb.freedesktop.org/
Url: http://xcb.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxcb
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxcb/
Source: %name-%version.tar.bz2
Patch1: bug-262309_xcb-xauthlocalhostname.diff
Patch1: bug-262309_xcb-xauthlocalhostname.diff
BuildRoot: %_tmppath/%name-%version-build
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.57, automake, libtool
BuildRequires: pkgconfig, python-base >= 2.6, python-xml
BuildRequires: pkgconfig(check) >= 0.9.4
BuildRequires: pkgconfig python-base >= 2.6 python-xml
BuildRequires: pkgconfig(check) >= 0.9.4
BuildRequires: pkgconfig(xcb-proto) >= 1.6
BuildRequires: pkgconfig(pthread-stubs), pkgconfig(xau) >= 0.99.2
BuildRequires: pkgconfig(pthread-stubs) pkgconfig(xau) >= 0.99.2
#optional#BuildRequires: pkgconfig(xdmcp)
%if 0%{?suse_version} >= 1210
BuildRequires: xsltproc
BuildRequires: xsltproc
%else
BuildRequires: libxslt
BuildRequires: libxslt
%endif
%description
@ -74,8 +77,8 @@ off-screen buffer can be automatically merged into the parent window
or merged by external programs, called compositing managers.
%package -n libxcb-damage0
Summary: X11 Damage Extension C library
Group: System/Libraries
Summary: X11 Damage Extension C library
Group: System/Libraries
%description -n libxcb-damage0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -86,8 +89,8 @@ The X Damage Extension allows applications to track modified regions
of drawables.
%package -n libxcb-dpms0
Summary: X11 DPMS Extension C library
Group: System/Libraries
Summary: X11 DPMS Extension C library
Group: System/Libraries
%description -n libxcb-dpms0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -95,8 +98,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-dri2-0
Summary: X11 DRI2 Extension C library
Group: System/Libraries
Summary: X11 DRI2 Extension C library
Group: System/Libraries
%description -n libxcb-dri2-0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -104,8 +107,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-glx0
Summary: X11 GLX Extension C library
Group: System/Libraries
Summary: X11 GLX Extension C library
Group: System/Libraries
%description -n libxcb-glx0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -113,8 +116,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-randr0
Summary: X11 RandR Extension C library
Group: System/Libraries
Summary: X11 RandR Extension C library
Group: System/Libraries
%description -n libxcb-randr0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -126,8 +129,8 @@ dynamically change X screens, so as to resize, to change the
orientation and layout of the root window of a screen.
%package -n libxcb-record0
Summary: X11 RECORD Extension C library
Group: System/Libraries
Summary: X11 RECORD Extension C library
Group: System/Libraries
%description -n libxcb-record0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -138,8 +141,8 @@ The RECORD extension supports the recording and reporting of all core
X protocol and arbitrary X extension protocol.
%package -n libxcb-render0
Summary: X11 Render Extension C library
Group: System/Libraries
Summary: X11 Render Extension C library
Group: System/Libraries
%description -n libxcb-render0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -147,8 +150,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-res0
Summary: X11 Resource Extension C library
Group: System/Libraries
Summary: X11 Resource Extension C library
Group: System/Libraries
%description -n libxcb-res0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -156,8 +159,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-screensaver0
Summary: X11 ScreenSaver Extension C library
Group: System/Libraries
Summary: X11 ScreenSaver Extension C library
Group: System/Libraries
%description -n libxcb-screensaver0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -171,8 +174,8 @@ external "screen saver" client to detect when the alternate image is
to be displayed and to provide the graphics.
%package -n libxcb-shape0
Summary: X11 Shape Extension C library
Group: System/Libraries
Summary: X11 Shape Extension C library
Group: System/Libraries
%description -n libxcb-shape0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -182,8 +185,8 @@ protocol, improved threading support, and extensibility.
- X11 Nonrectangular Window Shape extension (Xshape)
%package -n libxcb-shm0
Summary: X11 Shared Memory Extension C library
Group: System/Libraries
Summary: X11 Shared Memory Extension C library
Group: System/Libraries
%description -n libxcb-shm0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -195,8 +198,8 @@ data between client and server using shared memory, so that it does
not need to be transferred over sockets.
%package -n libxcb-sync0
Summary: X11 Sync Extension C library
Group: System/Libraries
Summary: X11 Sync Extension C library
Group: System/Libraries
%description -n libxcb-sync0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -204,8 +207,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-xevie0
Summary: X11 Xevie Extension C library
Group: System/Libraries
Summary: X11 Xevie Extension C library
Group: System/Libraries
%description -n libxcb-xevie0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -218,8 +221,8 @@ what to do with them, including being able to modify or discard
events.
%package -n libxcb-xf86dri0
Summary: X11 XFree86-DRI Extension C library
Group: System/Libraries
Summary: X11 XFree86-DRI Extension C library
Group: System/Libraries
%description -n libxcb-xf86dri0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -227,8 +230,8 @@ featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility.
%package -n libxcb-xfixes0
Summary: X11 Xfixes Extension C library
Group: System/Libraries
Summary: X11 Xfixes Extension C library
Group: System/Libraries
%description -n libxcb-xfixes0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -239,8 +242,8 @@ The X Fixes extension provides applications with work-arounds for
various limitations in the core protocol.
%package -n libxcb-xinerama0
Summary: X11 Xinerama Extension C library
Group: System/Libraries
Summary: X11 Xinerama Extension C library
Group: System/Libraries
%description -n libxcb-xinerama0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -252,8 +255,8 @@ multi-headed X applications and window managers to use two or more
physical displays as one large virtual display.
%package -n libxcb-xprint0
Summary: X11 XPrint Extension C library
Group: System/Libraries
Summary: X11 XPrint Extension C library
Group: System/Libraries
%description -n libxcb-xprint0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -264,8 +267,8 @@ libxcb-xprint provides APIs to allow client applications to render to
non-display devices.
%package -n libxcb-xtest0
Summary: X11 XTEST Extension C library
Group: System/Libraries
Summary: X11 XTEST Extension C library
Group: System/Libraries
%description -n libxcb-xtest0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -278,8 +281,8 @@ This extension is not intended to support general journaling and
playback of user actions.
%package -n libxcb-xv0
Summary: X11 video Extension C library
Group: System/Libraries
Summary: X11 video Extension C library
Group: System/Libraries
%description -n libxcb-xv0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -292,8 +295,8 @@ display may have one or more video adaptors, each of which has one or
more ports through which independent video streams pass.
%package -n libxcb-xvmc0
Summary: X11 Video Motion Compensation Extension C library
Group: System/Libraries
Summary: X11 Video Motion Compensation Extension C library
Group: System/Libraries
%description -n libxcb-xvmc0
The X protocol C-language Binding (XCB) is a replacement for Xlib
@ -308,17 +311,17 @@ video-hardware.
%package devel
Summary: Development files for the X11 protocol C library
Group: Development/Libraries/C and C++
Requires: libxcb-composite0 = %version, libxcb-damage0 = %version
Requires: libxcb-dpms0 = %version, libxcb-dri2-0 = %version
Requires: libxcb-glx0 = %version, libxcb-randr0 = %version
Requires: libxcb-record0 = %version, libxcb-render0 = %version
Requires: libxcb-res0 = %version, libxcb-screensaver0 = %version
Requires: libxcb-shape0 = %version, libxcb-shm0 = %version
Requires: libxcb-sync0 = %version, libxcb-xevie0 = %version
Requires: libxcb-xf86dri0 = %version, libxcb-xfixes0 = %version
Requires: libxcb-xinerama0 = %version, libxcb-xprint0 = %version
Requires: libxcb-xtest0 = %version, libxcb-xv0 = %version
Requires: libxcb-xvmc0 = %version
Requires: libxcb-composite0 = %version, libxcb-damage0 = %version
Requires: libxcb-dpms0 = %version, libxcb-dri2-0 = %version
Requires: libxcb-glx0 = %version, libxcb-randr0 = %version
Requires: libxcb-record0 = %version, libxcb-render0 = %version
Requires: libxcb-res0 = %version, libxcb-screensaver0 = %version
Requires: libxcb-shape0 = %version, libxcb-shm0 = %version
Requires: libxcb-sync0 = %version, libxcb-xevie0 = %version
Requires: libxcb-xf86dri0 = %version, libxcb-xfixes0 = %version
Requires: libxcb-xinerama0 = %version, libxcb-xprint0 = %version
Requires: libxcb-xtest0 = %version, libxcb-xv0 = %version
Requires: libxcb-xvmc0 = %version
# O/P added for 12.2
Provides: xorg-x11-libxcb-devel = 7.6_%version-%release
Obsoletes: xorg-x11-libxcb-devel < 7.6_%version-%release
@ -344,48 +347,91 @@ make %{?_smp_mflags}
rm -f "%buildroot/%_libdir"/*.la
%post -n libxcb1 -p /sbin/ldconfig
%postun -n libxcb1 -p /sbin/ldconfig
%post -n libxcb-composite0 -p /sbin/ldconfig
%postun -n libxcb-composite0 -p /sbin/ldconfig
%post -n libxcb-damage0 -p /sbin/ldconfig
%postun -n libxcb-damage0 -p /sbin/ldconfig
%post -n libxcb-dpms0 -p /sbin/ldconfig
%postun -n libxcb-dpms0 -p /sbin/ldconfig
%post -n libxcb-dri2-0 -p /sbin/ldconfig
%postun -n libxcb-dri2-0 -p /sbin/ldconfig
%post -n libxcb-glx0 -p /sbin/ldconfig
%postun -n libxcb-glx0 -p /sbin/ldconfig
%post -n libxcb-randr0 -p /sbin/ldconfig
%postun -n libxcb-randr0 -p /sbin/ldconfig
%post -n libxcb-record0 -p /sbin/ldconfig
%postun -n libxcb-record0 -p /sbin/ldconfig
%post -n libxcb-render0 -p /sbin/ldconfig
%postun -n libxcb-render0 -p /sbin/ldconfig
%post -n libxcb-res0 -p /sbin/ldconfig
%postun -n libxcb-res0 -p /sbin/ldconfig
%post -n libxcb-screensaver0 -p /sbin/ldconfig
%postun -n libxcb-screensaver0 -p /sbin/ldconfig
%post -n libxcb-shape0 -p /sbin/ldconfig
%postun -n libxcb-shape0 -p /sbin/ldconfig
%post -n libxcb-shm0 -p /sbin/ldconfig
%postun -n libxcb-shm0 -p /sbin/ldconfig
%post -n libxcb-sync0 -p /sbin/ldconfig
%postun -n libxcb-sync0 -p /sbin/ldconfig
%post -n libxcb-xevie0 -p /sbin/ldconfig
%postun -n libxcb-xevie0 -p /sbin/ldconfig
%post -n libxcb-xf86dri0 -p /sbin/ldconfig
%postun -n libxcb-xf86dri0 -p /sbin/ldconfig
%post -n libxcb-xfixes0 -p /sbin/ldconfig
%postun -n libxcb-xfixes0 -p /sbin/ldconfig
%post -n libxcb-xinerama0 -p /sbin/ldconfig
%postun -n libxcb-xinerama0 -p /sbin/ldconfig
%post -n libxcb-xprint0 -p /sbin/ldconfig
%postun -n libxcb-xprint0 -p /sbin/ldconfig
%post -n libxcb-xtest0 -p /sbin/ldconfig
%postun -n libxcb-xtest0 -p /sbin/ldconfig
%post -n libxcb-xv0 -p /sbin/ldconfig
%postun -n libxcb-xv0 -p /sbin/ldconfig
%post -n libxcb-xvmc0 -p /sbin/ldconfig
%postun -n libxcb-xvmc0 -p /sbin/ldconfig
%files -n libxcb1