Name: xcb-util Version: 0.3.1 Release: 2%{?dist} Summary: Convenience libraries sitting on top of libxcb Group: System Environment/Libraries License: MIT URL: http://xcb.freedesktop.org Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 Patch0: xcb-util-0.3.1-copyright-resolution.patch Patch1: xcb-util-0.3.1-exit-in-library.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gperf, pkgconfig, libxcb-devel, m4, xorg-x11-proto-devel %description The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries. These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable. Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib. %package devel Summary: Development and header files for xcb-util Group: System Environment/Libraries Requires: %{name} = %{version}-%{release}, pkgconfig %description devel Development files for xcb-util. %prep %setup -q # taken from upstream git %patch0 -p1 %patch1 -p1 %build %configure --with-pic --disable-static make %{?_smp_mflags} %check make check %install rm -rf %{buildroot} make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" rm %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README %{_libdir}/*.so.*.* %{_libdir}/*.so.? %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/xcb/*.h %changelog * Thu Dec 4 2008 Michal Nowak - 0.3.1-2 - patch for exit() in aux library (Peter Harris) - slight changes in spec file * Mon Nov 24 2008 Michal Nowak - 0.3.1-1 - 0.3.1 - fix license issue (Jonathan Landis) * Fri Sep 19 2008 Michal Nowak - 0.3.0-1 - bump to 0.3.0 * Sun Aug 17 2008 Michal Nowak - 0.2.1-2 - new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel - not installing *.a files anymore - configure with --with-pic * Mon Aug 04 2008 Michal Nowak - 0.2.1-1 - initial package