2 Summary: A C binding to the X11 protocol
5 Group: System/Libraries
7 URL: http://xcb.freedesktop.org/
8 Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: pkgconfig(xorg-macros)
12 BuildRequires: pkgconfig(pthread-stubs)
13 BuildRequires: pkgconfig(xcb-proto)
14 BuildRequires: pkgconfig(xau)
15 BuildRequires: pkgconfig(xproto)
16 BuildRequires: libxslt
17 BuildRequires: python-xml, python-devel
21 Description: %{summary}
25 Summary: Development files for %{name}
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
28 Requires: libpthread-stubs
29 Requires: libXau-devel
32 Description: %{summary}
35 Summary: Documentation for %{name}
37 Requires: %{name} = %{version}-%{release}
40 Description: %{summary}
50 --disable-build-docs \
51 CFLAGS="-D_F_ENABLE_XI2_SENDEVENT_" \
52 LDFLAGS="-Wl,--hash-style=both -Wl,--as-needed"
64 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
76 %defattr(-,root,root,-)
81 %defattr(-,root,root,-)
84 %{_libdir}/pkgconfig/*.pc
87 %defattr(-,root,root,-)
88 %{_datadir}/doc/%{name}