File xorg-x11-libxcb.spec of Package xorg-x11-libxcb

#
# spec file for package xorg-x11-libxcb (Version 7.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           xorg-x11-libxcb
%define dirsuffix 1.1
BuildRequires:  libxslt pkgconfig xorg-x11-libXau-devel xorg-x11-proto-devel
Url:            http://xorg.freedesktop.org/
Version:        7.4
Release:        1.<RELEASE29>
License:        X11/MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/Libraries
Summary:        X.Org xcb library
Source:         libxcb-%{dirsuffix}.tar.bz2
Patch1:         bug-262309_xcb-xauthlocalhostname.diff
Patch2:         always-sloppy.diff
Patch3:         disable_nagle_on_tcp_socket.diff
Patch4:         commit-beccb0b.diff

%description
This package contains the X.Org xcb library.



Authors:
--------
    Bart Massey
    Jamey Sharp
    Josh Triplett

%package devel
License:        X11/MIT
Summary:        Include Files and Libraries mandatory for Development
Group:          System/Libraries
Requires:       xorg-x11-proto-devel xorg-x11-libXau-devel xorg-x11-libxcb
AutoReqProv:    on

%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.



Authors:
--------
    Bart Massey
    Jamey Sharp
    Josh Triplett

%prep
%setup -n libxcb-%{dirsuffix}
%patch1 -p1
%patch2
%patch3
%patch4 -p1

%build
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
            --prefix=/usr \
            --libdir=%{_libdir} \
            --docdir=%{_docdir}/%{name}
make %{?jobs:-j %jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf "$RPM_BUILD_ROOT"

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
/usr/%{_lib}/*.so.*

%files devel
%defattr(-,root,root)
%doc %{_docdir}/%{name}
/usr/include/xcb/
/usr/%{_lib}/*.a
/usr/%{_lib}/*.la
/usr/%{_lib}/*.so
/usr/%{_lib}/pkgconfig/*.pc

%changelog
* Tue Jun 16 2009 sndirsch@suse.de
- commit-beccb0b.diff
  * kludgily hand-merged xid fixes (bnc #423740, bfo #20254)
* Mon Jun 08 2009 sndirsch@suse.de
- disable_nagle_on_tcp_socket.diff
  * Disable Nagle on TCP socket (bnc #510862, bfo #17868)
* Thu Sep 11 2008 sndirsch@suse.de
- bumped release number to 7.4
* Mon Jul 21 2008 sndirsch@suse.de
- back to libxcb 1.1, since libxcb 1.2-pre requires python for
  building, which requires xorg-x11-libxcb for building
  ==> autobuild loop
* Fri Jul 18 2008 sndirsch@suse.de
- libxcb 1.1.90.1
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Fri Feb 29 2008 dmueller@suse.de
- add missing %%postun ldconfig script
* Mon Nov 05 2007 sndirsch@suse.de
- always-sloppy.diff
  * This patch prints out warnings only, the assert() is completely
  gone now. As programs with this error typically trigger it
  several times, each warning is printed only once. (Bug #251087)
* Mon Nov 05 2007 sndirsch@suse.de
- xcb-proto 1.1
  * In the eleven months since XCB's 1.0 release, a few portability
  and correctness bugs have been found in libxcb. This release
  fixes those, adds nicer handling of Xlib locking bugs, updates
  pure-XCB extension support for RandR to version 1.2 and DAMAGE
  to version 1.1, and enhances the libxcb documentation.
- obsoletes sloppy-lock.diff, xcb_parse_display.diff
* Sat Sep 29 2007 sndirsch@suse.de
- bumped version to 7.3
* Tue Jul 03 2007 sndirsch@suse.de
- xcb_parse_display.diff:
  * "Attempt to include more of the original display parsing. The
  fix only attempts to address the unix: and [protocol/][host]:
  issue. It doesn't even make the attempt to mimic the behavior
  of the old code in libX11/src/ConnDis.c:_X11TransConnectDisplay().
  The patch is yet untested, it however does compile."
  (Bug #289007)
  * "Discovered two errors in my fix. One isn't likely to concern
  us as it's related to DECnet transport, the other one is real."
  (Bug #289007)
  * "This patch should fix the problem with artefacts from Bug
  [#257830] which still had been in the tree." (Bug #289007)
  * "fix segfault" (Bug #289007)
  * "fix condition" (Bug #289007)
* Tue May 29 2007 sndirsch@suse.de
- added "%%post -p /sbin/ldconfig" to specfile to make rpmlint happy
* Fri Apr 27 2007 sndirsch@suse.de
- bug-262309_xcb-xauthlocalhostname.diff:
  * add code, which checks for XAUTHLOCALHOSTNAME now also for
  libxcb, since Xtranssock.c has been replaced by XCB as
  transport layer (Bug #262309)
* Sun Mar 04 2007 sndirsch@suse.de
- sloppy-lock.diff:
  * workaround for "xcb_xlib.c:50: xcb_xlib_unlock: Assertion
  `c->xlib.lock' failed"; set LIBXCB_ALLOW_SLOPPY_LOCK to enable
  it (Bug #251087)
* Sun Dec 03 2006 sndirsch@suse.de
- created package
openSUSE Build Service is sponsored by