2007-07-12 19:05:03 +00:00
|
|
|
Name: libxcb
|
2012-04-09 21:03:37 +00:00
|
|
|
Version: 1.8.1
|
|
|
|
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
|
|
|
|
2007-07-12 19:05:03 +00:00
|
|
|
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libxslt
|
2010-01-13 10:12:14 +00:00
|
|
|
BuildRequires: xcb-proto >= 1.6
|
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
|
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
|
2008-09-11 19:11:18 +00:00
|
|
|
%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \
|
2009-02-10 14:50:48 +00:00
|
|
|
--enable-selinux
|
2007-07-12 19:05:03 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-07-14 15:55:52 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libxcb-xprint.so*
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_includedir}/xcb/xprint.h
|
2007-07-12 19:05:03 +00:00
|
|
|
install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
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*
|
2009-07-14 15:55:52 +00:00
|
|
|
%{_libdir}/libxcb-glx.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.0*
|
|
|
|
%{_libdir}/libxcb-xevie.so.0*
|
|
|
|
%{_libdir}/libxcb-xf86dri.so.0*
|
|
|
|
%{_libdir}/libxcb-xfixes.so.0*
|
|
|
|
%{_libdir}/libxcb-xinerama.so.0*
|
|
|
|
%{_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
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/doc/%{name}-%{version}
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|
2011-06-23 21:11:00 +00:00
|
|
|
* Thu Jun 23 2011 Adam Jackson <ajax@redhat.com> 1.7-3
|
|
|
|
- libxcb-1.7-xts-fixes.patch: Backport some XTS5 fixes from git.
|
|
|
|
|
2011-02-08 16:41:25 +00:00
|
|
|
* Tue Feb 08 2011 Adam Jackson <ajax@redhat.com> 1.7-2
|
|
|
|
- Fix FTBFS.
|
|
|
|
|
2011-02-08 12:53:54 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-08-26 18:12:05 +00:00
|
|
|
* Thu Aug 26 2010 Adam Jackson <ajax@redhat.com> 1.7-2
|
|
|
|
- Drop python bindings, nothing's using them.
|
|
|
|
|
2010-08-15 23:26:35 +00:00
|
|
|
* Mon Aug 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7-1
|
|
|
|
- libxcb 1.7
|
|
|
|
|
2010-07-22 02:23:28 +00:00
|
|
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2010-07-08 14:49:27 +00:00
|
|
|
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 1.5-2
|
|
|
|
- Include COPYING in base package too
|
|
|
|
|
2010-01-13 10:12:14 +00:00
|
|
|
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 1.5-1
|
|
|
|
- libxcb 1.5
|
|
|
|
|
2009-12-02 19:53:53 +00:00
|
|
|
* Wed Dec 02 2009 Adam Jackson <ajax@redhat.com> 1.4-2
|
|
|
|
- libxcb-1.4-keepalive.patch: setsockopt(SO_KEEPALIVE) for TCP (#476415)
|
|
|
|
|
2009-08-27 18:14:21 +00:00
|
|
|
* Thu Aug 27 2009 Adam Jackson <ajax@redhat.com> 1.4-1
|
|
|
|
- libxcb 1.4 (#518597)
|
|
|
|
|
2009-07-25 08:56:47 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-14 15:55:52 +00:00
|
|
|
* Tue Jul 14 2009 Adam Jackson <ajax@redhat.com> 1.3-1
|
|
|
|
- libxcb 1.3
|
|
|
|
- List DSO versions explicitly.
|
|
|
|
- Don't package any xprint bits. Seriously, no.
|
|
|
|
|
2009-07-13 17:53:08 +00:00
|
|
|
* Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 1.2-8
|
|
|
|
- Really fix xpyb build.
|
|
|
|
|
2009-07-06 14:54:48 +00:00
|
|
|
* Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 1.2-7
|
|
|
|
- Fix xpyb build
|
|
|
|
|
2009-06-29 14:59:34 +00:00
|
|
|
* Mon Jun 29 2009 Adam Jackson <ajax@redhat.com> 1.2-6
|
|
|
|
- BuildRequires: xcb-proto >= 1.5
|
|
|
|
|
2009-06-24 16:07:48 +00:00
|
|
|
* Wed Jun 24 2009 Adam Jackson <ajax@redhat.com> 1.2-5
|
|
|
|
- libxcb-1.2-no-nagle.patch: Disable Nagle's algorithm on TCP. (#442158)
|
|
|
|
|
2009-05-19 18:29:36 +00:00
|
|
|
* Tue May 19 2009 Adam Jackson <ajax@redhat.com> 1.2-4
|
|
|
|
- Add libxcb-python subpackage
|
|
|
|
|
2009-04-13 16:03:30 +00:00
|
|
|
* Tue Apr 07 2009 Adam Jackson <ajax@redhat.com> 1.2-3
|
|
|
|
- libxcb-1.2-to-git-6e2e87d.patch: Various updates from git, XID generation
|
|
|
|
being the most important.
|
|
|
|
|
2009-02-25 03:14:43 +00:00
|
|
|
* Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> 1.2-2
|
|
|
|
- Make -doc noarch
|
|
|
|
|
2009-02-18 16:01:42 +00:00
|
|
|
* Wed Feb 18 2009 Adam Jackson <ajax@redhat.com> 1.2-1
|
|
|
|
- libxcb 1.2
|
|
|
|
|
2009-02-10 14:50:48 +00:00
|
|
|
* Tue Feb 10 2009 Adam Jackson <ajax@redhat.com> 1.1.93-4
|
|
|
|
- Fix selinux module build. (#474249)
|
|
|
|
|
2009-02-08 08:14:40 +00:00
|
|
|
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 1.1.93-3
|
|
|
|
- Remove aforementioned egregious hack. Now I can sleep easier.
|
|
|
|
|
2008-12-18 22:29:04 +00:00
|
|
|
* Thu Dec 18 2008 Adam Jackson <ajax@redhat.com> 1.1.93-2
|
|
|
|
- Egregious hack to make the next libX11 build work. Hands... won't come
|
|
|
|
clean...
|
|
|
|
|
2008-12-18 21:20:16 +00:00
|
|
|
* Wed Dec 17 2008 Adam Jackson <ajax@redhat.com> 1.1.93-1
|
|
|
|
- libxcb 1.1.93
|
|
|
|
|
2008-10-19 23:10:39 +00:00
|
|
|
* Sun Oct 19 2008 Adam Jackson <ajax@redhat.com> 1.1.91-5
|
|
|
|
- Add pthread-stubs.pc
|
|
|
|
|
2008-10-13 17:48:41 +00:00
|
|
|
* Mon Oct 13 2008 Adam Jackson <ajax@redhat.com> 1.1.91-4
|
|
|
|
- libxcb-1.1-abstract-socket.patch: Drop.
|
|
|
|
- libxcb-1.1.91-git.patch: Update to git master.
|
|
|
|
|
2008-09-25 18:38:31 +00:00
|
|
|
* Wed Sep 17 2008 Adam Jackson <ajax@redhat.com> 1.1.91-3
|
|
|
|
- libxcb-1.1-xreply-leak.patch: Plug a memory leak in _XReply when the
|
|
|
|
caller has a non-fatal error handler. (mclasen, fdo #17616)
|
|
|
|
|
2008-09-11 19:11:18 +00:00
|
|
|
* Thu Sep 11 2008 Adam Jackson <ajax@redhat.com> 1.1.91-2
|
|
|
|
- Enable x-selinux bindings.
|
|
|
|
|
2008-09-11 18:00:15 +00:00
|
|
|
* Wed Sep 10 2008 Adam Jackson <ajax@redhat.com> 1.1.91-1
|
|
|
|
- libxcb 1.1.91
|
|
|
|
|
2008-04-22 16:53:59 +00:00
|
|
|
* Tue Apr 22 2008 Adam Jackson <ajax@redhat.com> 1.1-4
|
2008-04-22 15:59:39 +00:00
|
|
|
- libxcb-1.1-sloppy-lock.patch: Turn sloppy locking on all the time. I'm
|
|
|
|
tired of fighting it. (#390261)
|
|
|
|
|
2008-02-18 19:00:18 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-11-12 15:36:24 +00:00
|
|
|
* Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
|
|
|
|
- libxcb 1.1
|
|
|
|
|
2007-08-24 21:44:02 +00:00
|
|
|
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 1.0-3
|
|
|
|
- libxcb-1.0-abstract-socket.patch: When connecting to the X server, prefer
|
|
|
|
abstract-namespace unix sockets to filesystem-bound sockets.
|
|
|
|
|
2007-08-22 18:50:23 +00:00
|
|
|
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0-2
|
|
|
|
- Rebuild for PPC toolchain bug
|
|
|
|
|
2007-07-12 19:05:03 +00:00
|
|
|
* Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
|
|
|
|
- Initial revision.
|