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