Name: xcb-util-wm Version: 0.3.8 Release: 1%{?dist} Summary: Client and window-manager helper library 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig, pkgconfig(xcb-util) >= 0.3.8, m4 BuildRequires: chrpath %description XCB util-wm module provides the following libraries: - ewmh: Both client and window-manager helpers for EWMH. - icccm: Both client and window-manager helpers for ICCCM. %package devel Summary: Development and header files for xcb-util-vm Group: System Environment/Libraries Requires: %{name} = %{version}-%{release}, pkgconfig %description devel Development files for xcb-utilwm. %prep %setup -q %build %configure --with-pic --disable-static make %{?_smp_mflags} %check make check %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" chrpath --delete %{buildroot}%{_libdir}/*.so.* rm %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc NEWS %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/xcb/*.h %changelog * Mon Dec 5 2011 Thomas Moschny - 0.3.8-1 - New package.