%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: libxcb Version: 1.17.0 Release: 3%{?dist} Summary: A C binding to the X11 protocol License: X11 URL: http://xcb.freedesktop.org/ Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz # This is stolen straight from the pthread-stubs source: # http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d # we don't need the library because glibc has working pthreads, but we need # the pkgconfig file so libs that link against libxcb know this... Source1: pthread-stubs.pc.in BuildRequires: make BuildRequires: doxygen BuildRequires: graphviz BuildRequires: libtool BuildRequires: libxslt BuildRequires: pkgconfig BuildRequires: pkgconfig(xau) >= 0.99.2 BuildRequires: pkgconfig(xcb-proto) >= 1.16 BuildRequires: pkgconfig(xorg-macros) >= 1.18 BuildRequires: python3 python3-devel %description The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation for %{name} BuildArch: noarch %description doc The %{name}-doc package contains documentation for the %{name} library. %prep %autosetup -p1 %build sed -i 's/pthread-stubs //' configure.ac # autoreconf -f needed to expunge rpaths autoreconf -v -f --install %configure \ --disable-static \ --docdir=%{_pkgdocdir} \ --enable-selinux \ --enable-xkb \ --enable-xinput \ --disable-xprint \ --disable-silent-rules # Remove rpath from libtool (extra insurance if autoreconf is ever dropped) sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %install %make_install install -pm 644 COPYING NEWS README.md %{buildroot}%{_pkgdocdir} sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} \ > %{buildroot}%{_libdir}/pkgconfig/pthread-stubs.pc find %{buildroot} -name '*.la' -delete # Pick up the license file separately: rm -f %{buildroot}%{_pkgdocdir}/COPYING %files %license COPYING %{_libdir}/libxcb-composite.so.0* %{_libdir}/libxcb-damage.so.0* %{_libdir}/libxcb-dbe.so.0* %{_libdir}/libxcb-dpms.so.0* %{_libdir}/libxcb-dri2.so.0* %{_libdir}/libxcb-dri3.so.0* %{_libdir}/libxcb-glx.so.0* %{_libdir}/libxcb-present.so.0* %{_libdir}/libxcb-randr.so.0* %{_libdir}/libxcb-record.so.0* %{_libdir}/libxcb-render.so.0* %{_libdir}/libxcb-res.so.0* %{_libdir}/libxcb-screensaver.so.0* %{_libdir}/libxcb-shape.so.0* %{_libdir}/libxcb-shm.so.0* %{_libdir}/libxcb-sync.so.1* %{_libdir}/libxcb-xf86dri.so.0* %{_libdir}/libxcb-xfixes.so.0* %{_libdir}/libxcb-xinerama.so.0* %{_libdir}/libxcb-xinput.so.0* %{_libdir}/libxcb-xkb.so.1* %{_libdir}/libxcb-xselinux.so.0* %{_libdir}/libxcb-xtest.so.0* %{_libdir}/libxcb-xv.so.0* %{_libdir}/libxcb-xvmc.so.0* %{_libdir}/libxcb.so.1* %files devel %{_includedir}/xcb %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_mandir}/man3/*.3* %files doc %license COPYING %{_pkgdocdir} %changelog * Tue Oct 01 2024 Simone Caronni - 1.17.0-3 - Make sure license is properly identified (#2315743). - Small cleanups. * Thu Jul 18 2024 Fedora Release Engineering - 1.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 16 2024 José Expósito - 1.17.0-1 - libxcb 1.17.0 * Mon Mar 04 2024 José Expósito - 1.16.1-1 - libxcb 1.16.1 * Thu Jan 25 2024 Fedora Release Engineering - 1.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Oct 06 2023 Peter Hutterer - 1.16-2 - Add missing README.md and libxcb-dbe * Thu Oct 05 2023 José Expósito - 1.16-1 - libxcb 1.16 * Thu Sep 07 2023 José Expósito - 1.13.1-13 - SPDX Migration * Thu Jul 20 2023 Fedora Release Engineering - 1.13.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.13.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.13.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.13.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.13.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.13.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 5 11:20:53 AEST 2020 Peter Hutterer - 1.13.1-6 - Add BuildRequires for make * Tue Jul 28 2020 Fedora Release Engineering - 1.13.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.13.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.13.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Sep 28 2018 Adam Jackson - 1.13.1-1 - libxcb 1.13.1 * Tue Aug 14 2018 Adam Jackson - 1.13-5 - Spec cleanup * Fri Jul 13 2018 Fedora Release Engineering - 1.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Adam Jackson - 1.13-3 - Use ldconfig scriptlet macros * Mon Mar 19 2018 Adam Jackson - 1.13-2 - Build with python3 * Mon Mar 05 2018 Adam Jackson - 1.13-1 - libxcb 1.13 * Wed Feb 07 2018 Fedora Release Engineering - 1.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jan 18 2017 Merlin Mathesius - 1.12-2 - Add BuildRequires: python to fix FTBFS (BZ#1414586). * Wed May 18 2016 Adam Jackson - 1.12-1 - libxcb 1.12 * Thu Feb 04 2016 Fedora Release Engineering - 1.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Sep 21 2015 Adam Jackson 1.11.1-1 - libxcb 1.11.1 * Thu Jun 25 2015 Rex Dieter 1.11-8 - followup fix for thread deadlocks (#1193742, fdo#84252) * Wed Jun 17 2015 Fedora Release Engineering - 1.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 12 2015 Rex Dieter 1.11-6 - pull in (partial?) upstream fix for deadlocks (#1193742, fdo#84252) * Wed May 20 2015 Rex Dieter - 1.11-5 - fix rpath harder (#1136546) - %%build: --disable-silent-rules * Tue May 19 2015 Rex Dieter - 1.11-4 - fix fpath (use autoreconf -f) - -devel: tighten deps via %%{?_isa}, drop Requires: pkgconfig (add explicit BR: pkgconfig) * Thu Jan 08 2015 Simone Caronni - 1.11-3 - Clean up SPEC file, fix rpmlint warnings. - Enable XInput extension (#1177701). * Fri Oct 24 2014 Dan Horák - 1.11-2 - rebuilt for broken koji db - no buildroot info * Wed Oct 01 2014 Adam Jackson 1.11-1 - libxcb 1.11 * Sun Aug 17 2014 Fedora Release Engineering - 1.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Jan 27 2014 Adam Jackson 1.10-1 - libxcb 1.10 plus one. Updated ABIs: sync, xkb. New libs: dri3, present. * Tue Aug 6 2013 Ville Skyttä - 1.9.1-3 - Install docs to %%{_pkgdocdir} where available. * Sat Aug 03 2013 Fedora Release Engineering - 1.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri May 31 2013 Peter Hutterer 1.9.1-1 - libxcb 1.9.1 * Fri May 24 2013 Peter Hutterer 1.9-3 - Fix integer overflow in read_packet (CVE-2013-2064) * Thu Feb 14 2013 Fedora Release Engineering - 1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 16 2012 Adam Jackson 1.9-1 - libxcb 1.9 * Tue Sep 04 2012 Adam Jackson 1.8.1-4 - --enable-xkb for weston - --disable-xprint instead of manual rm - BuildRequire an updated xcb-proto for XKB and DRI2 fixes * Thu Jul 19 2012 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Apr 09 2012 Adam Jackson 1.8.1-1 - libxcb 1.8.1 * Fri Jan 13 2012 Adam Jackson 1.8-2 - Don't %%doc in the base package, that pulls in copies of things we only want in -doc subpackage. * Wed Jan 11 2012 Adam Jackson 1.8-1 - libxcb 1.8