File xorg-x11-libxcb-unstable-devel.spec of Package xorg-x11-libxcb-unstable-devel
#
# spec file for package xorg-x11-libxcb-unstable-devel (Version 7.3.99)
#
# Copyright (c) 2008 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-unstable-devel
%define dirsuffix 1.1.91
BuildRequires: libxslt pkgconfig xorg-x11-libXau-devel xorg-x11-proto-unstable-devel
BuildRequires: python-xml
Url: http://xorg.freedesktop.org/
Version: 7.3.99
Release: 2
License: X11/MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Development/Libraries/X11
Summary: Include Files and Libraries mandatory for Development (unstable)
Requires: xorg-x11-proto-unstable-devel xorg-x11-libXau-devel
#!BuildIgnore: xorg-x11-proto-devel
Conflicts: xorg-x11-libxcb-devel < %{version}
Source: libxcb-%{dirsuffix}.tar.bz2
Patch1: bug-262309_xcb-xauthlocalhostname.diff
Patch2: always-sloppy.diff
%description
This package contains all necessary include files and libraries needed
to develop applications that require these.
THIS PACKAGE IS NOT MEANT FOR GENERAL DEVELOPMENT.
This package provides static libraries for some specific packages that
require not-yet-released version of X11.
Authors:
--------
Bart Massey
Jamey Sharp
Josh Triplett
%prep
%setup -n libxcb-%{dirsuffix}
%patch1 -p1
%patch2
%build
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--enable-static --disable-shared \
--prefix=/usr \
--libdir=%{_libdir} \
--docdir=%{_docdir}/%{name} \
--enable-xinput
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)
%doc %{_docdir}/%{name}
/usr/include/xcb/
/usr/%{_lib}/*.a
/usr/%{_lib}/*.la
/usr/%{_lib}/pkgconfig/*.pc
%changelog
* Wed Sep 10 2008 hfiguiere@suse.de
- Initial release.