|
|
2ad023d |
Name: libxcb
|
|
|
6b8823c |
Version: 1.1.93
|
|
|
453872d |
Release: 3%{?dist}
|
|
|
2ad023d |
Summary: A C binding to the X11 protocol
|
|
|
2ad023d |
|
|
|
2ad023d |
Group: System Environment/Libraries
|
|
|
2ad023d |
License: MIT
|
|
|
2ad023d |
URL: http://xcb.freedesktop.org/
|
|
|
2ad023d |
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
|
|
2ad023d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7baf952 |
# This is stolen straight from the pthread-stubs source:
|
|
|
7baf952 |
# http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d
|
|
|
7baf952 |
# we don't need the library because glibc has working pthreads, but we need
|
|
|
7baf952 |
# the pkgconfig file so libs that link against libxcb know this...
|
|
|
7baf952 |
Source1: pthread-stubs.pc.in
|
|
|
2ad023d |
|
|
|
3bf5959 |
Patch0: libxcb-1.1-no-pthread-stubs.patch
|
|
|
2ad023d |
|
|
|
2ad023d |
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
2ad023d |
BuildRequires: doxygen
|
|
|
2ad023d |
BuildRequires: graphviz
|
|
|
2ad023d |
BuildRequires: libXau-devel
|
|
|
2ad023d |
BuildRequires: libxslt
|
|
|
d7bc8d0 |
BuildRequires: python
|
|
|
3bf5959 |
BuildRequires: xcb-proto >= 1.1
|
|
|
2ad023d |
BuildRequires: xorg-x11-proto-devel
|
|
|
2ad023d |
BuildRequires: xorg-x11-util-macros
|
|
|
2ad023d |
|
|
|
2ad023d |
%description
|
|
|
2ad023d |
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a
|
|
|
2ad023d |
small footprint, latency hiding, direct access to the protocol, improved
|
|
|
2ad023d |
threading support, and extensibility.
|
|
|
2ad023d |
|
|
|
2ad023d |
%package devel
|
|
|
2ad023d |
Summary: Development files for %{name}
|
|
|
2ad023d |
Group: Development/Libraries
|
|
|
2ad023d |
Requires: %{name} = %{version}-%{release}
|
|
|
2ad023d |
Requires: pkgconfig
|
|
|
2ad023d |
|
|
|
2ad023d |
%description devel
|
|
|
2ad023d |
The %{name}-devel package contains libraries and header files for
|
|
|
2ad023d |
developing applications that use %{name}.
|
|
|
2ad023d |
|
|
|
2ad023d |
%package doc
|
|
|
2ad023d |
Summary: Documentation for %{name}
|
|
|
2ad023d |
Group: Documentation
|
|
|
2ad023d |
|
|
|
2ad023d |
%description doc
|
|
|
2ad023d |
The %{name}-doc package contains documentation for the %{name} library.
|
|
|
2ad023d |
|
|
|
2ad023d |
%prep
|
|
|
2ad023d |
%setup -q
|
|
|
b6f56cd |
%patch0 -p1 -b .pthread-stubs
|
|
|
2ad023d |
|
|
|
2ad023d |
%build
|
|
|
2ad023d |
autoreconf -v --install
|
|
|
81bea9c |
%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \
|
|
|
81bea9c |
--enable-xselinux
|
|
|
2ad023d |
make %{?_smp_mflags}
|
|
|
2ad023d |
|
|
|
2ad023d |
%install
|
|
|
2ad023d |
rm -rf $RPM_BUILD_ROOT
|
|
|
2ad023d |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
2ad023d |
find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
|
|
|
2ad023d |
install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
|
7baf952 |
sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
|
|
|
b6f593b |
install libxcb-xlib.so.0 $RPM_BUILD_ROOT%{_libdir}
|
|
|
2ad023d |
|
|
|
2ad023d |
%clean
|
|
|
2ad023d |
rm -rf $RPM_BUILD_ROOT
|
|
|
2ad023d |
|
|
|
2ad023d |
%post -p /sbin/ldconfig
|
|
|
2ad023d |
%postun -p /sbin/ldconfig
|
|
|
2ad023d |
|
|
|
2ad023d |
%files
|
|
|
2ad023d |
%defattr(-,root,root,-)
|
|
|
2ad023d |
%{_libdir}/*.so.*
|
|
|
2ad023d |
|
|
|
2ad023d |
%files devel
|
|
|
2ad023d |
%defattr(-,root,root,-)
|
|
|
2ad023d |
%{_includedir}/xcb
|
|
|
2ad023d |
%{_libdir}/*.so
|
|
|
2ad023d |
%{_libdir}/pkgconfig/*.pc
|
|
|
2ad023d |
|
|
|
2ad023d |
%files doc
|
|
|
2ad023d |
%defattr(-,root,root,-)
|
|
|
2ad023d |
%{_datadir}/doc/%{name}-%{version}
|
|
|
2ad023d |
|
|
|
2ad023d |
%changelog
|
|
|
453872d |
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 1.1.93-3
|
|
|
453872d |
- Remove aforementioned egregious hack. Now I can sleep easier.
|
|
|
453872d |
|
|
|
b6f593b |
* Thu Dec 18 2008 Adam Jackson <ajax@redhat.com> 1.1.93-2
|
|
|
b6f593b |
- Egregious hack to make the next libX11 build work. Hands... won't come
|
|
|
b6f593b |
clean...
|
|
|
b6f593b |
|
|
|
6b8823c |
* Wed Dec 17 2008 Adam Jackson <ajax@redhat.com> 1.1.93-1
|
|
|
6b8823c |
- libxcb 1.1.93
|
|
|
6b8823c |
|
|
|
7baf952 |
* Sun Oct 19 2008 Adam Jackson <ajax@redhat.com> 1.1.91-5
|
|
|
7baf952 |
- Add pthread-stubs.pc
|
|
|
7baf952 |
|
|
|
5e40d1c |
* Mon Oct 13 2008 Adam Jackson <ajax@redhat.com> 1.1.91-4
|
|
|
5e40d1c |
- libxcb-1.1-abstract-socket.patch: Drop.
|
|
|
5e40d1c |
- libxcb-1.1.91-git.patch: Update to git master.
|
|
|
5e40d1c |
|
|
|
6c92f0e |
* Wed Sep 17 2008 Adam Jackson <ajax@redhat.com> 1.1.91-3
|
|
|
6c92f0e |
- libxcb-1.1-xreply-leak.patch: Plug a memory leak in _XReply when the
|
|
|
6c92f0e |
caller has a non-fatal error handler. (mclasen, fdo #17616)
|
|
|
6c92f0e |
|
|
|
81bea9c |
* Thu Sep 11 2008 Adam Jackson <ajax@redhat.com> 1.1.91-2
|
|
|
81bea9c |
- Enable x-selinux bindings.
|
|
|
81bea9c |
|
|
|
d7bc8d0 |
* Wed Sep 10 2008 Adam Jackson <ajax@redhat.com> 1.1.91-1
|
|
|
d7bc8d0 |
- libxcb 1.1.91
|
|
|
d7bc8d0 |
|
|
|
db30cb0 |
* Tue Apr 22 2008 Adam Jackson <ajax@redhat.com> 1.1-4
|
|
|
34f608a |
- libxcb-1.1-sloppy-lock.patch: Turn sloppy locking on all the time. I'm
|
|
|
34f608a |
tired of fighting it. (#390261)
|
|
|
34f608a |
|
|
|
9a8aa95 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
|
|
|
9a8aa95 |
- Autorebuild for GCC 4.3
|
|
|
9a8aa95 |
|
|
|
3bf5959 |
* Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
|
|
|
3bf5959 |
- libxcb 1.1
|
|
|
3bf5959 |
|
|
|
b6f56cd |
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 1.0-3
|
|
|
b6f56cd |
- libxcb-1.0-abstract-socket.patch: When connecting to the X server, prefer
|
|
|
b6f56cd |
abstract-namespace unix sockets to filesystem-bound sockets.
|
|
|
b6f56cd |
|
|
|
ee43f98 |
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0-2
|
|
|
ee43f98 |
- Rebuild for PPC toolchain bug
|
|
|
ee43f98 |
|
|
|
2ad023d |
* Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
|
|
|
2ad023d |
- Initial revision.
|