2013-08-06 20:28:18 +00:00
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
2007-07-12 19:05:03 +00:00
|
|
|
Name: libxcb
|
2014-01-27 18:43:14 +00:00
|
|
|
Version: 1.10
|
|
|
|
Release: 1%{?dist}
|
2007-07-12 19:05:03 +00:00
|
|
|
Summary: A C binding to the X11 protocol
|
|
|
|
|
|
|
|
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)
|
2008-10-19 23:10:39 +00:00
|
|
|
# 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
|
2009-12-02 19:53:53 +00:00
|
|
|
|
2014-01-27 18:43:14 +00:00
|
|
|
# http://cgit.freedesktop.org/xcb/libxcb/patch/?id=3b72a2c9d1d656c74c691a45689e1d637f669e3a
|
|
|
|
Patch0: 0001-Force-XCB-event-structures-with-64-bit-extended-fiel.patch
|
|
|
|
|
2007-07-12 19:05:03 +00:00
|
|
|
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libxslt
|
2014-01-27 18:43:14 +00:00
|
|
|
BuildRequires: xcb-proto >= 1.10
|
2007-07-12 19:05:03 +00:00
|
|
|
BuildRequires: xorg-x11-proto-devel
|
|
|
|
BuildRequires: xorg-x11-util-macros
|
|
|
|
|
|
|
|
%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}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
2009-02-25 03:14:43 +00:00
|
|
|
BuildArch: noarch
|
2007-07-12 19:05:03 +00:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
The %{name}-doc package contains documentation for the %{name} library.
|
|
|
|
|
|
|
|
%prep
|
2010-08-26 18:12:18 +00:00
|
|
|
%setup -q
|
2014-01-27 18:43:14 +00:00
|
|
|
%patch0 -p1
|
2007-07-12 19:05:03 +00:00
|
|
|
|
|
|
|
%build
|
2011-02-08 16:41:25 +00:00
|
|
|
sed -i 's/pthread-stubs //' configure.ac
|
2007-07-12 19:05:03 +00:00
|
|
|
autoreconf -v --install
|
2013-08-06 20:28:18 +00:00
|
|
|
%configure --disable-static --docdir=%{_pkgdocdir} \
|
2012-09-04 14:40:36 +00:00
|
|
|
--enable-selinux --enable-xkb --disable-xprint
|
2007-07-12 19:05:03 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2013-08-06 20:28:18 +00:00
|
|
|
install -pm 644 COPYING NEWS README $RPM_BUILD_ROOT%{_pkgdocdir}
|
2008-10-19 23:10:39 +00:00
|
|
|
sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
|
2007-07-12 19:05:03 +00:00
|
|
|
|
2009-05-19 18:29:36 +00:00
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
2007-07-12 19:05:03 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-07-14 15:55:52 +00:00
|
|
|
%{_libdir}/libxcb-composite.so.0*
|
|
|
|
%{_libdir}/libxcb-damage.so.0*
|
|
|
|
%{_libdir}/libxcb-dpms.so.0*
|
2010-01-13 10:20:18 +00:00
|
|
|
%{_libdir}/libxcb-dri2.so.0*
|
2014-01-27 18:43:14 +00:00
|
|
|
%{_libdir}/libxcb-dri3.so.0*
|
2009-07-14 15:55:52 +00:00
|
|
|
%{_libdir}/libxcb-glx.so.0*
|
2014-01-27 18:43:14 +00:00
|
|
|
%{_libdir}/libxcb-present.so.0*
|
2009-07-14 15:55:52 +00:00
|
|
|
%{_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*
|
2014-01-27 18:43:14 +00:00
|
|
|
%{_libdir}/libxcb-sync.so.1*
|
2009-07-14 15:55:52 +00:00
|
|
|
%{_libdir}/libxcb-xevie.so.0*
|
|
|
|
%{_libdir}/libxcb-xf86dri.so.0*
|
|
|
|
%{_libdir}/libxcb-xfixes.so.0*
|
|
|
|
%{_libdir}/libxcb-xinerama.so.0*
|
2014-01-27 18:43:14 +00:00
|
|
|
%{_libdir}/libxcb-xkb.so.1*
|
2009-07-14 15:55:52 +00:00
|
|
|
%{_libdir}/libxcb-xselinux.so.0*
|
|
|
|
%{_libdir}/libxcb-xtest.so.0*
|
|
|
|
%{_libdir}/libxcb-xv.so.0*
|
|
|
|
%{_libdir}/libxcb-xvmc.so.0*
|
|
|
|
%{_libdir}/libxcb.so.1*
|
2007-07-12 19:05:03 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/xcb
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2012-10-16 19:49:37 +00:00
|
|
|
%{_mandir}/man3/*.3*
|
2007-07-12 19:05:03 +00:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
2013-08-06 20:28:18 +00:00
|
|
|
%{_pkgdocdir}
|
2007-07-12 19:05:03 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-01-27 18:43:14 +00:00
|
|
|
* Mon Jan 27 2014 Adam Jackson <ajax@redhat.com> 1.10-1
|
|
|
|
- libxcb 1.10 plus one. Updated ABIs: sync, xkb. New libs: dri3, present.
|
|
|
|
|
2013-08-06 20:29:21 +00:00
|
|
|
* Tue Aug 6 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.9.1-3
|
2013-08-06 20:28:18 +00:00
|
|
|
- Install docs to %%{_pkgdocdir} where available.
|
|
|
|
|
2013-08-03 07:33:06 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-30 23:13:46 +00:00
|
|
|
* Fri May 31 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.9.1-1
|
|
|
|
- libxcb 1.9.1
|
|
|
|
|
2013-05-24 06:21:25 +00:00
|
|
|
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.9-3
|
|
|
|
- Fix integer overflow in read_packet (CVE-2013-2064)
|
|
|
|
|
2013-02-14 05:32:34 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-16 19:49:37 +00:00
|
|
|
* Tue Oct 16 2012 Adam Jackson <ajax@redhat.com> 1.9-1
|
|
|
|
- libxcb 1.9
|
|
|
|
|
2012-09-04 16:25:57 +00:00
|
|
|
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 1.8.1-4
|
|
|
|
- --enable-xkb for weston
|
|
|
|
- --disable-xprint instead of manual rm
|
|
|
|
- BuildRequire an updated xcb-proto for XKB and DRI2 fixes
|
2012-09-04 14:40:36 +00:00
|
|
|
|
2012-07-19 21:41:45 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-09 21:03:37 +00:00
|
|
|
* Mon Apr 09 2012 Adam Jackson <ajax@redhat.com> 1.8.1-1
|
|
|
|
- libxcb 1.8.1
|
|
|
|
|
2012-01-13 18:26:29 +00:00
|
|
|
* Fri Jan 13 2012 Adam Jackson <ajax@redhat.com> 1.8-2
|
|
|
|
- Don't %%doc in the base package, that pulls in copies of things we only
|
|
|
|
want in -doc subpackage.
|
|
|
|
|
2012-01-11 18:13:37 +00:00
|
|
|
* Wed Jan 11 2012 Adam Jackson <ajax@redhat.com> 1.8-1
|
|
|
|
- libxcb 1.8
|